From e050a01a90b1d515db443f1c827295fcad11dc74 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Tue, 9 Feb 2021 17:38:23 +0200 Subject: mb/lippert/frontrunner-af: Drop OSFL method in ASL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Method only set variable OSRV, which nobody evaluates. Change-Id: I76d86af8ef6b75531f11612935dd097ee1e1a388 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/50641 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Paul Menzel --- src/mainboard/lippert/frontrunner-af/dsdt.asl | 40 --------------------------- 1 file changed, 40 deletions(-) diff --git a/src/mainboard/lippert/frontrunner-af/dsdt.asl b/src/mainboard/lippert/frontrunner-af/dsdt.asl index d77eee9582..4e4194ead3 100644 --- a/src/mainboard/lippert/frontrunner-af/dsdt.asl +++ b/src/mainboard/lippert/frontrunner-af/dsdt.asl @@ -35,9 +35,6 @@ DefinitionBlock ( 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 @@ DefinitionBlock ( #include - 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 @@ -752,18 +724,6 @@ DefinitionBlock ( 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 */ -- cgit v1.2.3