summaryrefslogtreecommitdiffstats
path: root/src/mainboard/elmex/pcm205400/acpi/mainboard.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 09:18:51 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-28 18:02:34 +0000
commitc102bbd2adee0f03c776bac59754f2dd05039350 (patch)
treef5a83048bcda43b40c04c346a9514edbf18f132b /src/mainboard/elmex/pcm205400/acpi/mainboard.asl
parent8438927879a73194924d6e1c021004fc3028b3b9 (diff)
downloadcoreboot-c102bbd2adee0f03c776bac59754f2dd05039350.tar.gz
coreboot-c102bbd2adee0f03c776bac59754f2dd05039350.tar.bz2
coreboot-c102bbd2adee0f03c776bac59754f2dd05039350.zip
mb/elmex/pcm205400: Convert to ASL 2.0 syntax
Generated 'build/dsdt.dsl' files are same. Change-Id: I1cec4049adac74270641736709774156628b2539 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46162 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/elmex/pcm205400/acpi/mainboard.asl')
-rw-r--r--src/mainboard/elmex/pcm205400/acpi/mainboard.asl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/elmex/pcm205400/acpi/mainboard.asl b/src/mainboard/elmex/pcm205400/acpi/mainboard.asl
index e4a0c799fe8f..a1eb03b469be 100644
--- a/src/mainboard/elmex/pcm205400/acpi/mainboard.asl
+++ b/src/mainboard/elmex/pcm205400/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)