diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-10-08 09:09:21 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-02-10 00:29:14 +0000 |
commit | 94bcbca32fb35405a7286af49700a17138024a6c (patch) | |
tree | 2d9014a9a5cc41dc150873456771e844ee56481c /src/mainboard/amd/union_station/acpi/mainboard.asl | |
parent | e963532a963f8bd28e40977ff30b4e35a678d48e (diff) |
mb/amd/union_station: Convert to ASL 2.0 syntax
Generated build/dsdt.dsl are identical.
Change-Id: I8127b5b22e2822f4ace07c28409e501c3fcb309b
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46153
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/amd/union_station/acpi/mainboard.asl')
-rw-r--r-- | src/mainboard/amd/union_station/acpi/mainboard.asl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/amd/union_station/acpi/mainboard.asl b/src/mainboard/amd/union_station/acpi/mainboard.asl index e4a0c799fe..a1eb03b469 100644 --- a/src/mainboard/amd/union_station/acpi/mainboard.asl +++ b/src/mainboard/amd/union_station/acpi/mainboard.asl @@ -18,20 +18,20 @@ Name(PICM, One) /* Assume APIC */ Scope(\_SB) { Method(OSFL, 0){ - if(LNotEqual(OSVR, Ones)) {Return(OSVR)} /* OS version was already detected */ + if (OSVR != Ones) {Return (OSVR)} /* OS version was already detected */ if(CondRefOf(\_OSI)) { - Store(1, OSVR) /* Assume some form of XP */ + OSVR = 1 /* Assume some form of XP */ if (\_OSI("Windows 2006")) /* Vista */ { - Store(2, OSVR) + OSVR = 2 } } else { - If(WCMP(\_OS,"Linux")) { - Store(3, OSVR) /* Linux */ + If (WCMP(\_OS,"Linux")) { + OSVR = 3 /* Linux */ } Else { - Store(4, OSVR) /* Gotta be WinCE */ + OSVR = 4 /* Gotta be WinCE */ } } Return(OSVR) |