From 56395f4883b8c675dcd82455bb5a6e52c53ab50c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 8 Dec 2022 15:29:08 +0200 Subject: sb/intel/common: Move definition of TRAP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both TRAP and TRP0 are now only defined for i82801gx ASL. This fixes an issue with updating to IASL 20221020, with many intel platform builds failing with: dsdt.asl 38: TRP0 = 0 Error 6084 - ^ Object does not exist (TRP0) The error was ignored with older IASL. Change-Id: Ie8a59803f4a27a8315c16bde401f8ca90ee814a7 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/70476 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas Reviewed-by: Angel Pons --- src/southbridge/intel/common/acpi/platform.asl | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/southbridge/intel/common') diff --git a/src/southbridge/intel/common/acpi/platform.asl b/src/southbridge/intel/common/acpi/platform.asl index e044f04822..f19ac6c125 100644 --- a/src/southbridge/intel/common/acpi/platform.asl +++ b/src/southbridge/intel/common/acpi/platform.asl @@ -11,16 +11,6 @@ Field (APMP, ByteAcc, NoLock, Preserve) #include -#if CONFIG(ACPI_SOC_NVS) -/* SMI I/O Trap */ -Method(TRAP, 1, Serialized) -{ - SMIF = Arg0 // SMI Function - TRP0 = 0 // Generate trap - Return (SMIF) // Return value of SMI handler -} -#endif /* ACPI_SOC_NVS */ - Method(GOS, 0) { /* Determine the Operating System and save the value in OSYS. -- cgit v1.2.3