summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
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-20 21:33:39 +0000
commitb484609a0230cb8fc4ab3f01f348c767054c8873 (patch)
tree59ede0fe90e7d413d370b7d697724b5f7f11b3d8 /src/southbridge/amd
parentac204ba6b59bfc7d0f8c063722050b2fdb08fbb9 (diff)
sb/amd/cimx/sb800: Drop OSFL method in ASL
Method only set variable OSRV, which nobody evaluates. Change-Id: Ia21b544eaaa61a8fc634eb568b4c7401a225eb76 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50642 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r--src/southbridge/amd/cimx/sb800/acpi/fch.asl27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/southbridge/amd/cimx/sb800/acpi/fch.asl b/src/southbridge/amd/cimx/sb800/acpi/fch.asl
index ee9b125f2b..2059db0594 100644
--- a/src/southbridge/amd/cimx/sb800/acpi/fch.asl
+++ b/src/southbridge/amd/cimx/sb800/acpi/fch.asl
@@ -134,30 +134,6 @@ Method(_CRS, 0) {
Return (CRES) /* note to change the Name buffer */
} /* end of Method(_SB.PCI0._CRS) */
-/* Some global data */
-Name(OSVR, 3) /* Assume nothing. WinXp = 1, Vista = 2, Linux = 3, WinCE = 4 */
-
-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)
-}
-
/*
*
* FIRST METHOD CALLED UPON BOOT
@@ -180,9 +156,6 @@ Method(_INI, 0) {
/* DBGO(\_REV) */
/* DBGO("\n") */
- /* Determine the OS we're running on */
- OSFL()
-
/* On older chips, clear PciExpWakeDisEn */
/*if (\SBRI <= 0x13) {
* \PWDE = 0