summaryrefslogtreecommitdiff
path: root/src/mainboard/lippert
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-09 17:38:23 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-15 10:01:49 +0000
commite050a01a90b1d515db443f1c827295fcad11dc74 (patch)
tree53e82a83ca931641b980bd148f2bdae08803ba0b /src/mainboard/lippert
parent59626b8670da326ab725e67b01dd1025b0a34a86 (diff)
downloadcoreboot-e050a01a90b1d515db443f1c827295fcad11dc74.tar.xz
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>
Diffstat (limited to 'src/mainboard/lippert')
-rw-r--r--src/mainboard/lippert/frontrunner-af/dsdt.asl40
1 files changed, 0 insertions, 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 <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 @@ 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 */