aboutsummaryrefslogtreecommitdiff
path: root/src/acpi/acpigen_extern.asl
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-03-16 13:02:34 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-04-30 06:49:04 +0000
commit2ad598f3db4ff379a32aea27f0efb5a2449a8191 (patch)
treec36c22d2b1552a4380b317387fc90e52947b331c /src/acpi/acpigen_extern.asl
parentbc441c72ce7739a5a4ef647e3331afe5fbddc86e (diff)
ACPI: Use acpigen for NVS OperationRegions
The intermediate base and length are not required in ASL. Change-Id: I0c72e2e4f7ec597adc16dbdec1fd7bbe4e41bfd6 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51637 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Lance Zhao Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/acpi/acpigen_extern.asl')
-rw-r--r--src/acpi/acpigen_extern.asl12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/acpi/acpigen_extern.asl b/src/acpi/acpigen_extern.asl
index 117177ea27..1a6217adb8 100644
--- a/src/acpi/acpigen_extern.asl
+++ b/src/acpi/acpigen_extern.asl
@@ -8,19 +8,13 @@
*/
#if CONFIG(ACPI_SOC_NVS)
-External (NVB0, IntObj)
-External (NVS0, IntObj)
-OperationRegion (GNVS, SystemMemory, NVB0, NVS0)
+External (GNVS, OpRegionObj)
#endif
#if CONFIG(ACPI_HAS_DEVICE_NVS)
-External (NVB1, IntObj)
-External (NVS1, IntObj)
-OperationRegion (DNVS, SystemMemory, NVB1, NVS1)
+External (DNVS, OpRegionObj)
#endif
#if CONFIG(CHROMEOS_NVS)
-External (NVB2, IntObj)
-External (NVS2, IntObj)
-OperationRegion (CNVS, SystemMemory, NVB2, NVS2)
+External (CNVS, OpRegionObj)
#endif