[openfirmware] r938 - dev/geode

svn at openfirmware.info svn at openfirmware.info
Sat Sep 13 00:55:08 CEST 2008


Author: wmb
Date: 2008-09-13 00:55:08 +0200 (Sat, 13 Sep 2008)
New Revision: 938

Modified:
   dev/geode/acpi.fth
Log:
Geode - allow power-off to work after suspend/resume.




Modified: dev/geode/acpi.fth
===================================================================
--- dev/geode/acpi.fth	2008-09-12 22:39:21 UTC (rev 937)
+++ dev/geode/acpi.fth	2008-09-12 22:55:08 UTC (rev 938)
@@ -24,6 +24,7 @@
 
 \ This turns off the main CPU, but the EC stays on.
 : gx-power-off  ( -- )
+   h# 8000 0 acpi-l!                 \ Clear WAK_FLAG; it prevents power-off
    \ Enable all of these controls with 0 delay
    pm-enable   h# 10 pm!             \ PM_SCLK
    pm-enable   h# 20 pm!             \ PM_IN_SLPCTL




More information about the openfirmware mailing list