From 623e2b351c80d2086af3e9dbd523dd6e9d06339b Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 2 May 2022 16:58:39 +0200 Subject: [PATCH] mb/ocp, soc/intel/xeon_sp: Use common ASL POST defines Use common ASL defines for POST code handling. Change-Id: I5b4c11860a8c33e56edaea0f6de378cbaa63a8c5 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/63989 Reviewed-by: Jonathan Zhang Reviewed-by: Tim Wawrzynczak Reviewed-by: Lean Sheng Tan Tested-by: build bot (Jenkins) --- src/mainboard/ocp/deltalake/acpi/platform.asl | 8 +------- src/mainboard/ocp/tiogapass/acpi/platform.asl | 8 +------- src/soc/intel/xeon_sp/acpi/iiostack.asl | 2 +- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/mainboard/ocp/deltalake/acpi/platform.asl b/src/mainboard/ocp/deltalake/acpi/platform.asl index fa6a4510bb..5a15b29920 100644 --- a/src/mainboard/ocp/deltalake/acpi/platform.asl +++ b/src/mainboard/ocp/deltalake/acpi/platform.asl @@ -21,13 +21,7 @@ Field (APMP, ByteAcc, NoLock, Preserve) APMS, 8 // APM status } -/* Port 80 POST */ -OperationRegion (DBG0, SystemIO, 0x80, 0x02) -Field (DBG0, ByteAcc, Lock, Preserve) -{ - IO80, 8, - IO81, 8 -} +#include /* IO-Trap at 0x800. * This is the ACPI->SMI communication interface. diff --git a/src/mainboard/ocp/tiogapass/acpi/platform.asl b/src/mainboard/ocp/tiogapass/acpi/platform.asl index 9f51fdf12f..782d2cd26f 100644 --- a/src/mainboard/ocp/tiogapass/acpi/platform.asl +++ b/src/mainboard/ocp/tiogapass/acpi/platform.asl @@ -21,13 +21,7 @@ Field (APMP, ByteAcc, NoLock, Preserve) APMS, 8 // APM status } -/* Port 80 POST */ -OperationRegion (DBG0, SystemIO, 0x80, 0x02) -Field (DBG0, ByteAcc, Lock, Preserve) -{ - IO80, 8, - IO81, 8 -} +#include /* IO-Trap at 0x800. * This is the ACPI->SMI communication interface. diff --git a/src/soc/intel/xeon_sp/acpi/iiostack.asl b/src/soc/intel/xeon_sp/acpi/iiostack.asl index 4b2b65bbc5..73f9937e01 100644 --- a/src/soc/intel/xeon_sp/acpi/iiostack.asl +++ b/src/soc/intel/xeon_sp/acpi/iiostack.asl @@ -58,7 +58,7 @@ { \ /* indicate unrecognized UUID */ \ CDW1 |= 0x04 \ - IO80 = 0xEE \ + DBG0 = 0xEE \ Return (Arg3) \ } \ } \