From 4bd9187dadaf4f3be5a1776d98d1f79cdfb23de8 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Tue, 16 Mar 2021 19:02:26 +0200 Subject: ACPI: Refactor use of global and device NVS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After ChromeOS NVS was moved to a separate allocation and the use of multiple OperationRegions, maintaining the fixed offsets is not necessary. Use actual structure size for OperationRegions, but align the allocations to 8 bytes or sizeof(uint64_t). Change-Id: I9c73b7c44d234af42c571b23187b924ca2c3894a Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/51639 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/vendorcode/google/chromeos/gnvs.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/vendorcode/google') diff --git a/src/vendorcode/google/chromeos/gnvs.h b/src/vendorcode/google/chromeos/gnvs.h index f6dcaeaece..a25b2b0e24 100644 --- a/src/vendorcode/google/chromeos/gnvs.h +++ b/src/vendorcode/google/chromeos/gnvs.h @@ -8,8 +8,6 @@ #define ACTIVE_ECFW_RO 0 #define ACTIVE_ECFW_RW 1 -#define GNVS_DEVICE_NVS_OFFSET 0x1000 - struct chromeos_acpi { /* ChromeOS specific */ u32 vbt0; // 00 boot reason -- cgit v1.2.3