diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-12-02 19:16:21 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-12-07 11:33:38 +0000 |
commit | 521e0460e4292ff0bdaad4ca3861603d13ccfe1d (patch) | |
tree | d0f50fdf75599471abca42603c6a1f21f348cfb6 /src/mainboard | |
parent | 2c3ebd8b9d56c01d8e4adadf6f4e4d5b56cdb4e1 (diff) |
sb,soc/intel,mb: Drop leftover comments and TODOs in ASL
Change-Id: I74f943e9b616458a16aa13c29706cf1551fcbbb2
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70366
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/apple/macbook21/acpi/platform.asl | 27 | ||||
-rw-r--r-- | src/mainboard/getac/p470/acpi/platform.asl | 3 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ga-945gcm-s2l/acpi/platform.asl | 19 | ||||
-rw-r--r-- | src/mainboard/ibase/mb899/acpi/platform.asl | 19 | ||||
-rw-r--r-- | src/mainboard/intel/d945gclf/acpi/platform.asl | 19 | ||||
-rw-r--r-- | src/mainboard/kontron/986lcd-m/acpi/platform.asl | 19 | ||||
-rw-r--r-- | src/mainboard/lenovo/t400/acpi/platform.asl | 32 | ||||
-rw-r--r-- | src/mainboard/lenovo/t60/acpi/platform.asl | 27 | ||||
-rw-r--r-- | src/mainboard/lenovo/x200/acpi/platform.asl | 32 | ||||
-rw-r--r-- | src/mainboard/lenovo/x201/acpi/platform.asl | 7 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/acpi/platform.asl | 27 | ||||
-rw-r--r-- | src/mainboard/ocp/deltalake/acpi/platform.asl | 18 | ||||
-rw-r--r-- | src/mainboard/ocp/tiogapass/acpi/platform.asl | 18 | ||||
-rw-r--r-- | src/mainboard/packardbell/ms2290/acpi/platform.asl | 7 | ||||
-rw-r--r-- | src/mainboard/roda/rk886ex/acpi/platform.asl | 29 | ||||
-rw-r--r-- | src/mainboard/roda/rk9/acpi/platform.asl | 33 |
16 files changed, 0 insertions, 336 deletions
diff --git a/src/mainboard/apple/macbook21/acpi/platform.asl b/src/mainboard/apple/macbook21/acpi/platform.asl index e1e33a2b3b..23356f18b9 100644 --- a/src/mainboard/apple/macbook21/acpi/platform.asl +++ b/src/mainboard/apple/macbook21/acpi/platform.asl @@ -4,23 +4,6 @@ Method(_WAK,1) { - // CPU specific part - - // Notify PCI Express slots in case a card - // was inserted while a sleep state was active. - - // Are we going to S3? - If (Arg0 == 3) { - // .. - } - - // Are we going to S4? - If (Arg0 == 4) { - // .. - } - - // TODO: Windows XP SP2 P-State restore - Return(Package(){0,0}) } @@ -33,16 +16,6 @@ Scope(\_SB) */ Method(_INI, 0) { - /* The DTS data in NVS is probably not up to date. - * Update temperature values and make sure AP thermal - * interrupts can happen - */ - - // TRAP(71) // TODO - \GOS() - - /* SMM power state and C4-on-C3 settings need to be updated */ - // TRAP(43) // TODO } } diff --git a/src/mainboard/getac/p470/acpi/platform.asl b/src/mainboard/getac/p470/acpi/platform.asl index b9835d1f87..2a2412e33d 100644 --- a/src/mainboard/getac/p470/acpi/platform.asl +++ b/src/mainboard/getac/p470/acpi/platform.asl @@ -122,9 +122,6 @@ Scope(\_SB) TRAP(0x3d) } - /* SMM power state and C4-on-C3 settings need to be updated */ - // TRAP(43) - /* OS Init */ TRAP(0x32) } diff --git a/src/mainboard/gigabyte/ga-945gcm-s2l/acpi/platform.asl b/src/mainboard/gigabyte/ga-945gcm-s2l/acpi/platform.asl index cf73fc1d6a..bbee0a2787 100644 --- a/src/mainboard/gigabyte/ga-945gcm-s2l/acpi/platform.asl +++ b/src/mainboard/gigabyte/ga-945gcm-s2l/acpi/platform.asl @@ -6,30 +6,11 @@ Method(_PTS,1) { - // Call a trap so SMI can prepare for Sleep as well. - // TRAP(0x55) } /* The _WAK method is called on system wakeup */ Method(_WAK,1) { - // CPU specific part - - // Notify PCI Express slots in case a card - // was inserted while a sleep state was active. - - // Are we going to S3? - If (Arg0 == 3) { - // .. - } - - // Are we going to S4? - If (Arg0 == 4) { - // .. - } - - // TODO: Windows XP SP2 P-State restore - Return(Package(){0,0}) } diff --git a/src/mainboard/ibase/mb899/acpi/platform.asl b/src/mainboard/ibase/mb899/acpi/platform.asl index cf73fc1d6a..bbee0a2787 100644 --- a/src/mainboard/ibase/mb899/acpi/platform.asl +++ b/src/mainboard/ibase/mb899/acpi/platform.asl @@ -6,30 +6,11 @@ Method(_PTS,1) { - // Call a trap so SMI can prepare for Sleep as well. - // TRAP(0x55) } /* The _WAK method is called on system wakeup */ Method(_WAK,1) { - // CPU specific part - - // Notify PCI Express slots in case a card - // was inserted while a sleep state was active. - - // Are we going to S3? - If (Arg0 == 3) { - // .. - } - - // Are we going to S4? - If (Arg0 == 4) { - // .. - } - - // TODO: Windows XP SP2 P-State restore - Return(Package(){0,0}) } diff --git a/src/mainboard/intel/d945gclf/acpi/platform.asl b/src/mainboard/intel/d945gclf/acpi/platform.asl index cf73fc1d6a..bbee0a2787 100644 --- a/src/mainboard/intel/d945gclf/acpi/platform.asl +++ b/src/mainboard/intel/d945gclf/acpi/platform.asl @@ -6,30 +6,11 @@ Method(_PTS,1) { - // Call a trap so SMI can prepare for Sleep as well. - // TRAP(0x55) } /* The _WAK method is called on system wakeup */ Method(_WAK,1) { - // CPU specific part - - // Notify PCI Express slots in case a card - // was inserted while a sleep state was active. - - // Are we going to S3? - If (Arg0 == 3) { - // .. - } - - // Are we going to S4? - If (Arg0 == 4) { - // .. - } - - // TODO: Windows XP SP2 P-State restore - Return(Package(){0,0}) } diff --git a/src/mainboard/kontron/986lcd-m/acpi/platform.asl b/src/mainboard/kontron/986lcd-m/acpi/platform.asl index cf73fc1d6a..bbee0a2787 100644 --- a/src/mainboard/kontron/986lcd-m/acpi/platform.asl +++ b/src/mainboard/kontron/986lcd-m/acpi/platform.asl @@ -6,30 +6,11 @@ Method(_PTS,1) { - // Call a trap so SMI can prepare for Sleep as well. - // TRAP(0x55) } /* The _WAK method is called on system wakeup */ Method(_WAK,1) { - // CPU specific part - - // Notify PCI Express slots in case a card - // was inserted while a sleep state was active. - - // Are we going to S3? - If (Arg0 == 3) { - // .. - } - - // Are we going to S4? - If (Arg0 == 4) { - // .. - } - - // TODO: Windows XP SP2 P-State restore - Return(Package(){0,0}) } diff --git a/src/mainboard/lenovo/t400/acpi/platform.asl b/src/mainboard/lenovo/t400/acpi/platform.asl index 3d2805d19f..08ea6aef2b 100644 --- a/src/mainboard/lenovo/t400/acpi/platform.asl +++ b/src/mainboard/lenovo/t400/acpi/platform.asl @@ -6,8 +6,6 @@ Method(_PTS,1) { - // Call a trap so SMI can prepare for Sleep as well. - // TRAP(0x55) \_SB.PCI0.LPCB.EC.MUTE(1) \_SB.PCI0.LPCB.EC.USBP(0) \_SB.PCI0.LPCB.EC.RADI(0) @@ -20,26 +18,6 @@ Method(_WAK,1) /* Wake the HKEY to init BT/WWAN */ \_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0) - // CPU specific part - - // Notify PCI Express slots in case a card - // was inserted while a sleep state was active. - - // Are we going to S3? - If (LEqual(Arg0, 3)) { - // .. - } - - // Are we going to S4? - If (LEqual(Arg0, 4)) { - // .. - } - - // TODO: Windows XP SP2 P-State restore - - // TODO: Return Arg0 as second value if S-Arg0 was entered - // before. - Return(Package(){0,0}) } @@ -52,16 +30,6 @@ Scope(\_SB) */ Method(_INI, 0) { - /* The DTS data in NVS is probably not up to date. - * Update temperature values and make sure AP thermal - * interrupts can happen - */ - - // TRAP(71) // TODO - \GOS() - - /* SMM power state and C4-on-C3 settings need to be updated */ - // TRAP(43) // TODO } } diff --git a/src/mainboard/lenovo/t60/acpi/platform.asl b/src/mainboard/lenovo/t60/acpi/platform.asl index 50da033b2d..08ea6aef2b 100644 --- a/src/mainboard/lenovo/t60/acpi/platform.asl +++ b/src/mainboard/lenovo/t60/acpi/platform.asl @@ -18,23 +18,6 @@ Method(_WAK,1) /* Wake the HKEY to init BT/WWAN */ \_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0) - // CPU specific part - - // Notify PCI Express slots in case a card - // was inserted while a sleep state was active. - - // Are we going to S3? - If (Arg0 == 3) { - // .. - } - - // Are we going to S4? - If (Arg0 == 4) { - // .. - } - - // TODO: Windows XP SP2 P-State restore - Return(Package(){0,0}) } @@ -47,16 +30,6 @@ Scope(\_SB) */ Method(_INI, 0) { - /* The DTS data in NVS is probably not up to date. - * Update temperature values and make sure AP thermal - * interrupts can happen - */ - - // TRAP(71) // TODO - \GOS() - - /* SMM power state and C4-on-C3 settings need to be updated */ - // TRAP(43) // TODO } } diff --git a/src/mainboard/lenovo/x200/acpi/platform.asl b/src/mainboard/lenovo/x200/acpi/platform.asl index aa29248704..08ea6aef2b 100644 --- a/src/mainboard/lenovo/x200/acpi/platform.asl +++ b/src/mainboard/lenovo/x200/acpi/platform.asl @@ -6,8 +6,6 @@ Method(_PTS,1) { - // Call a trap so SMI can prepare for Sleep as well. - // TRAP(0x55) \_SB.PCI0.LPCB.EC.MUTE(1) \_SB.PCI0.LPCB.EC.USBP(0) \_SB.PCI0.LPCB.EC.RADI(0) @@ -20,26 +18,6 @@ Method(_WAK,1) /* Wake the HKEY to init BT/WWAN */ \_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0) - // CPU specific part - - // Notify PCI Express slots in case a card - // was inserted while a sleep state was active. - - // Are we going to S3? - If (Arg0 == 3) { - // .. - } - - // Are we going to S4? - If (Arg0 == 4) { - // .. - } - - // TODO: Windows XP SP2 P-State restore - - // TODO: Return Arg0 as second value if S-Arg0 was entered - // before. - Return(Package(){0,0}) } @@ -52,16 +30,6 @@ Scope(\_SB) */ Method(_INI, 0) { - /* The DTS data in NVS is probably not up to date. - * Update temperature values and make sure AP thermal - * interrupts can happen - */ - - // TRAP(71) // TODO - \GOS() - - /* SMM power state and C4-on-C3 settings need to be updated */ - // TRAP(43) // TODO } } diff --git a/src/mainboard/lenovo/x201/acpi/platform.asl b/src/mainboard/lenovo/x201/acpi/platform.asl index 44b06c6a05..f17adafc88 100644 --- a/src/mainboard/lenovo/x201/acpi/platform.asl +++ b/src/mainboard/lenovo/x201/acpi/platform.asl @@ -35,13 +35,6 @@ Scope(\_SB) */ Method(_INI, 0) { - /* The DTS data in NVS is probably not up to date. - * Update temperature values and make sure AP thermal - * interrupts can happen - */ - - /* TRAP(71) */ /* TODO */ - /* Determine the Operating System and save the value in OSYS. * We have to do this in order to be able to work around * certain windows bugs. diff --git a/src/mainboard/lenovo/x60/acpi/platform.asl b/src/mainboard/lenovo/x60/acpi/platform.asl index 50da033b2d..08ea6aef2b 100644 --- a/src/mainboard/lenovo/x60/acpi/platform.asl +++ b/src/mainboard/lenovo/x60/acpi/platform.asl @@ -18,23 +18,6 @@ Method(_WAK,1) /* Wake the HKEY to init BT/WWAN */ \_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0) - // CPU specific part - - // Notify PCI Express slots in case a card - // was inserted while a sleep state was active. - - // Are we going to S3? - If (Arg0 == 3) { - // .. - } - - // Are we going to S4? - If (Arg0 == 4) { - // .. - } - - // TODO: Windows XP SP2 P-State restore - Return(Package(){0,0}) } @@ -47,16 +30,6 @@ Scope(\_SB) */ Method(_INI, 0) { - /* The DTS data in NVS is probably not up to date. - * Update temperature values and make sure AP thermal - * interrupts can happen - */ - - // TRAP(71) // TODO - \GOS() - - /* SMM power state and C4-on-C3 settings need to be updated */ - // TRAP(43) // TODO } } diff --git a/src/mainboard/ocp/deltalake/acpi/platform.asl b/src/mainboard/ocp/deltalake/acpi/platform.asl index 5a15b29920..2b0775d37a 100644 --- a/src/mainboard/ocp/deltalake/acpi/platform.asl +++ b/src/mainboard/ocp/deltalake/acpi/platform.asl @@ -23,16 +23,6 @@ Field (APMP, ByteAcc, NoLock, Preserve) #include <arch/x86/acpi/post.asl> -/* IO-Trap at 0x800. - * This is the ACPI->SMI communication interface. - */ -OperationRegion (IO_T, SystemIO, 0x800, 0x10) -Field (IO_T, ByteAcc, NoLock, Preserve) -{ - Offset (0x8), - TRP0, 8 /* IO-Trap at 0x808 */ -} - OperationRegion (PSYS, SystemMemory, 0x6D081000, 0x0400) Field (PSYS, ByteAcc, NoLock, Preserve) { @@ -320,14 +310,6 @@ Field (PSYS, ByteAcc, NoLock, Preserve) FKB7, 8 } -/* SMI I/O Trap */ -Method (TRAP, 1, Serialized) -{ - SMIF = Arg0 // SMI Function - TRP0 = 0 // Generate trap - Return (SMIF) // Return value of SMI handler -} - /* * The _PTS method (Prepare To Sleep) is called before the OS is * entering a sleep state. The sleep state number is passed in Arg0 diff --git a/src/mainboard/ocp/tiogapass/acpi/platform.asl b/src/mainboard/ocp/tiogapass/acpi/platform.asl index 782d2cd26f..1899de1a18 100644 --- a/src/mainboard/ocp/tiogapass/acpi/platform.asl +++ b/src/mainboard/ocp/tiogapass/acpi/platform.asl @@ -23,16 +23,6 @@ Field (APMP, ByteAcc, NoLock, Preserve) #include <arch/x86/acpi/post.asl> -/* IO-Trap at 0x800. - * This is the ACPI->SMI communication interface. - */ -OperationRegion (IO_T, SystemIO, 0x800, 0x10) -Field (IO_T, ByteAcc, NoLock, Preserve) -{ - Offset (0x8), - TRP0, 8 /* IO-Trap at 0x808 */ -} - OperationRegion (PSYS, SystemMemory, 0x6D081000, 0x0400) Field (PSYS, ByteAcc, NoLock, Preserve) { @@ -320,14 +310,6 @@ Field (PSYS, ByteAcc, NoLock, Preserve) FKB7, 8 } -/* SMI I/O Trap */ -Method (TRAP, 1, Serialized) -{ - SMIF = Arg0 // SMI Function - TRP0 = 0 // Generate trap - Return (SMIF) // Return value of SMI handler -} - /* * The _PTS method (Prepare To Sleep) is called before the OS is * entering a sleep state. The sleep state number is passed in Arg0 diff --git a/src/mainboard/packardbell/ms2290/acpi/platform.asl b/src/mainboard/packardbell/ms2290/acpi/platform.asl index 9ec8e6ef41..dbadb5f4d6 100644 --- a/src/mainboard/packardbell/ms2290/acpi/platform.asl +++ b/src/mainboard/packardbell/ms2290/acpi/platform.asl @@ -25,13 +25,6 @@ Scope(\_SB) */ Method(_INI, 0) { - /* The DTS data in NVS is probably not up to date. - * Update temperature values and make sure AP thermal - * interrupts can happen - */ - - /* TRAP(71) */ /* TODO */ - /* Determine the Operating System and save the value in OSYS. * We have to do this in order to be able to work around * certain windows bugs. diff --git a/src/mainboard/roda/rk886ex/acpi/platform.asl b/src/mainboard/roda/rk886ex/acpi/platform.asl index 42277c4c76..646a120acc 100644 --- a/src/mainboard/roda/rk886ex/acpi/platform.asl +++ b/src/mainboard/roda/rk886ex/acpi/platform.asl @@ -6,31 +6,12 @@ Method(_PTS,1) { - // Call a trap so SMI can prepare for Sleep as well. - // TRAP(0x55) } /* The _WAK method is called on system wakeup */ Method(_WAK,1) { - // CPU specific part - - // Notify PCI Express slots in case a card - // was inserted while a sleep state was active. - - // Are we going to S3? - If (Arg0 == 3) { - // .. - } - - // Are we going to S4? - If (Arg0 == 4) { - // .. - } - - // TODO: Windows XP SP2 P-State restore - Return(Package(){0,0}) } @@ -43,16 +24,6 @@ Scope(\_SB) */ Method(_INI, 0) { - /* The DTS data in NVS is probably not up to date. - * Update temperature values and make sure AP thermal - * interrupts can happen - */ - - // TRAP(71) // TODO - \GOS() - - /* SMM power state and C4-on-C3 settings need to be updated */ - // TRAP(43) // TODO } } diff --git a/src/mainboard/roda/rk9/acpi/platform.asl b/src/mainboard/roda/rk9/acpi/platform.asl index 00ac2735ed..982de31bf1 100644 --- a/src/mainboard/roda/rk9/acpi/platform.asl +++ b/src/mainboard/roda/rk9/acpi/platform.asl @@ -6,34 +6,11 @@ Method(_PTS,1) { - // Call a trap so SMI can prepare for Sleep as well. - // TRAP(0x55) } /* The _WAK method is called on system wakeup */ - Method(_WAK,1) { - // CPU specific part - - // Notify PCI Express slots in case a card - // was inserted while a sleep state was active. - - // Are we going to S3? - If (Arg0 == 3) { - // .. - } - - // Are we going to S4? - If (Arg0 == 4) { - // .. - } - - // TODO: Windows XP SP2 P-State restore - - // TODO: Return Arg0 as second value if S-Arg0 was entered - // before. - Return(Package(){0,0}) } @@ -46,16 +23,6 @@ Scope(\_SB) */ Method(_INI, 0) { - /* The DTS data in NVS is probably not up to date. - * Update temperature values and make sure AP thermal - * interrupts can happen - */ - - // TRAP(71) // TODO - \GOS() - - /* SMM power state and C4-on-C3 settings need to be updated */ - // TRAP(43) // TODO } } |