aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asrock/e350m1/acpi/mainboard.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 09:10:37 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-28 21:33:12 +0000
commit3555b2f9f381ba753426a15a738b3725abae3a2f (patch)
tree56804003563f7ae5f98f4761c80ce03de8d66b01 /src/mainboard/asrock/e350m1/acpi/mainboard.asl
parentbebe4fbf40b9135b05d72fc35351899ba9e4c041 (diff)
mb/asrock/e350m1: Convert to ASL 2.0 syntax
Generated 'build/dsdt.dsl' are identical. Change-Id: Ief7ea77f8081cd6b7fb18fbf1d25c7394daca07d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46154 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/asrock/e350m1/acpi/mainboard.asl')
-rw-r--r--src/mainboard/asrock/e350m1/acpi/mainboard.asl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/asrock/e350m1/acpi/mainboard.asl b/src/mainboard/asrock/e350m1/acpi/mainboard.asl
index e4a0c799fe..a1eb03b469 100644
--- a/src/mainboard/asrock/e350m1/acpi/mainboard.asl
+++ b/src/mainboard/asrock/e350m1/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)