[openfirmware] [commit] r3271 - cpu/arm/olpc

repository service svn at openfirmware.info
Sun Sep 2 01:58:37 CEST 2012


Author: wmb
Date: Sun Sep  2 01:58:37 2012
New Revision: 3271
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3271

Log:
OLPC ARM - On a wakeup, do a deeper reinit of the display controller, as the simplistic reinit doesn't work on MMP3.

Modified:
   cpu/arm/olpc/lcd.fth

Modified: cpu/arm/olpc/lcd.fth
==============================================================================
--- cpu/arm/olpc/lcd.fth	Sun Sep  2 01:57:24 2012	(r3270)
+++ cpu/arm/olpc/lcd.fth	Sun Sep  2 01:58:37 2012	(r3271)
@@ -269,16 +269,13 @@
 ;
 d# 256 constant /cursor
 /cursor buffer: cursor
-0 value saved-mode
 : sleep  ( -- )
    cursor /cursor 0  cursor-sram-read
-   h# 190 lcd@ to saved-mode
    0 h# 190 lcd!
    lcd-clocks-off
 ;
 : wake  ( -- )
-   lcd-clocks-on
-   saved-mode h# 190 lcd!
+   init-lcd
    cursor /cursor 0  cursor-sram-write
 ;
 



More information about the openfirmware mailing list