Kyösti Mälkki has submitted this change. ( https://review.coreboot.org/c/coreboot/+/50641 )
Change subject: mb/lippert/frontrunner-af: Drop OSFL method in ASL ......................................................................
mb/lippert/frontrunner-af: Drop OSFL method in ASL
Method only set variable OSRV, which nobody evaluates.
Change-Id: I76d86af8ef6b75531f11612935dd097ee1e1a388 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/50641 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Arthur Heymans arthur@aheymans.xyz Reviewed-by: Paul Menzel paulepanter@users.sourceforge.net --- M src/mainboard/lippert/frontrunner-af/dsdt.asl 1 file changed, 0 insertions(+), 40 deletions(-)
Approvals: build bot (Jenkins): Verified Paul Menzel: Looks good to me, but someone else must approve Arthur Heymans: Looks good to me, approved
diff --git a/src/mainboard/lippert/frontrunner-af/dsdt.asl b/src/mainboard/lippert/frontrunner-af/dsdt.asl index d77eee9..4e4194e 100644 --- a/src/mainboard/lippert/frontrunner-af/dsdt.asl +++ b/src/mainboard/lippert/frontrunner-af/dsdt.asl @@ -35,9 +35,6 @@ Name(UOM8, 6) Name(UOM9, 6)
- /* Some global data */ - Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */ - /* * Processor Object * @@ -234,31 +231,6 @@
#include <southbridge/amd/cimx/sb800/acpi/pcie.asl>
- Scope(_SB) { - - Method(OSFL, 0){ - - if (OSVR != Ones) {Return(OSVR)} /* OS version was already detected */ - - if(CondRefOf(_OSI)) - { - OSVR = 1 /* Assume some form of XP */ - if (_OSI("Windows 2006")) /* Vista */ - { - OSVR = 2 - } - } else { - If(WCMP(_OS,"Linux")) { - OSVR = 3 /* Linux */ - } Else { - OSVR = 4 /* Gotta be WinCE */ - } - } - Return(OSVR) - } - - } /* End Scope(_SB) */ - /* Contains the supported sleep states for this chipset */ #include <southbridge/amd/common/acpi/sleepstates.asl>
@@ -752,18 +724,6 @@ Return(CRES) /* note to change the Name buffer */ } /* end of Method(_SB.PCI0._CRS) */
- /* - * - * FIRST METHOD CALLED UPON BOOT - * - * 1. If debugging, print current OS and ACPI interpreter. - * 2. Get PCI Interrupt routing from ACPI VSM, this - * value is based on user choice in BIOS setup. - */ - Method(_INI, 0) { - /* Determine the OS we're running on */ - OSFL() - } /* End Method(_SB._INI) */ } /* End Device(PCI0) */
Device(PWRB) { /* Start Power button device */