From 2ad598f3db4ff379a32aea27f0efb5a2449a8191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 16 Mar 2021 13:02:34 +0200 Subject: ACPI: Use acpigen for NVS OperationRegions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The intermediate base and length are not required in ASL. Change-Id: I0c72e2e4f7ec597adc16dbdec1fd7bbe4e41bfd6 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/51637 Reviewed-by: Tim Wawrzynczak Reviewed-by: Lance Zhao Tested-by: build bot (Jenkins) --- src/acpi/acpigen_extern.asl | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/acpi/acpigen_extern.asl') 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 -- cgit v1.2.3