[OpenBIOS] r395 - cpu/x86/pc/olpc
svn at openbios.org
svn at openbios.org
Thu May 17 05:58:44 CEST 2007
Author: wmb
Date: 2007-05-17 05:58:44 +0200 (Thu, 17 May 2007)
New Revision: 395
Modified:
cpu/x86/pc/olpc/resume.bth
Log:
OLPC resume - Turn on flat panel drivers in early resume, using
newly-discovered fast method.
Modified: cpu/x86/pc/olpc/resume.bth
===================================================================
--- cpu/x86/pc/olpc/resume.bth 2007-05-17 03:57:49 UTC (rev 394)
+++ cpu/x86/pc/olpc/resume.bth 2007-05-17 03:58:44 UTC (rev 395)
@@ -409,6 +409,12 @@
\ Unfreeze image by setting the DCONLOAD bit (0x800) in the GPIO output register
h# 0800 h# 1000 port-wl
+[else]
+ \ Turn on the flat panel power as soon as possible
+ \ The 400.0000 bit make the panel power-up timers use the 14 MHz clock
+ \ instead of the 32 kHz clock. That is supposed to be only for simulation,
+ \ but we have DCON between the CPU and the panel, so we don't need delays.
+ h# 500.0000 # vp-pa h# 410 + #) mov
[then]
\ 0 h# 1842 pw! \ Disable power button during early startup
More information about the OpenBIOS
mailing list