aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/gizmosphere/gizmo/acpi/mainboard.asl
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-08 09:28:53 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-10 00:10:00 +0000
commit668cad1c9d8e82c383495546bb6765519aae20cc (patch)
treeab321256a105d95882d527d936aec48ba76808d6 /src/mainboard/gizmosphere/gizmo/acpi/mainboard.asl
parenta81c46180ce122db16bf172cd7531137f51f15a9 (diff)
mb/gizmosphere/gizmo: Convert to ASL 2.0 syntax
Built for gizmosphere/gizmo (Gizmo), it provides identical dsdt.dsl file. Change-Id: I8647080cda7715d323d38f93c33176dfe9608652 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46167 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/gizmosphere/gizmo/acpi/mainboard.asl')
-rw-r--r--src/mainboard/gizmosphere/gizmo/acpi/mainboard.asl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/gizmosphere/gizmo/acpi/mainboard.asl b/src/mainboard/gizmosphere/gizmo/acpi/mainboard.asl
index e4a0c799fe..a1eb03b469 100644
--- a/src/mainboard/gizmosphere/gizmo/acpi/mainboard.asl
+++ b/src/mainboard/gizmosphere/gizmo/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)