[openfirmware] r1226 - cpu/x86/pc/olpc/via
svn at openfirmware.info
svn at openfirmware.info
Fri Jun 26 20:19:51 CEST 2009
Author: wmb
Date: 2009-06-26 20:19:51 +0200 (Fri, 26 Jun 2009)
New Revision: 1226
Modified:
cpu/x86/pc/olpc/via/suspend.fth
cpu/x86/pc/olpc/via/versions.fth
Log:
Via - Added sci-wakeup, lid-wakeup, ebook-wakeup, batlow-wakeup.
Modified: cpu/x86/pc/olpc/via/suspend.fth
===================================================================
--- cpu/x86/pc/olpc/via/suspend.fth 2009-06-26 16:10:47 UTC (rev 1225)
+++ cpu/x86/pc/olpc/via/suspend.fth 2009-06-26 18:19:51 UTC (rev 1226)
@@ -12,14 +12,11 @@
code ax-call ( ax-value dst -- ) bx pop ax pop bx call c;
-.( XXX Implement lid-wakeup) cr
-: lid-wakeup
-;
+: batlow-wakeup ( -- ) h# 22 acpi-w@ h# 1000 or h# 22 acpi-w! ;
+: ebook-wakeup ( -- ) h# 22 acpi-w@ h# 0100 or h# 22 acpi-w! ;
+: lid-wakeup ( -- ) h# 22 acpi-w@ h# 0800 or h# 22 acpi-w! ;
+: sci-wakeup ( -- ) h# 22 acpi-w@ h# 0002 or h# 22 acpi-w! ;
-.( XXX Implement sci-wakeup) cr
-: sci-wakeup
-;
-
: s3
\ Enable wakeup from power button, also clearing
\ any status bits in the low half of the register.
Modified: cpu/x86/pc/olpc/via/versions.fth
===================================================================
--- cpu/x86/pc/olpc/via/versions.fth 2009-06-26 16:10:47 UTC (rev 1225)
+++ cpu/x86/pc/olpc/via/versions.fth 2009-06-26 18:19:51 UTC (rev 1226)
@@ -2,7 +2,7 @@
\ The overall firmware revision
macro: FW_MAJOR A
-macro: FW_MINOR 04
+macro: FW_MINOR 04a
\ The EC microcode
macro: EC_VERSION 1_9_1
More information about the openfirmware
mailing list