Author: quozl Date: Fri Jan 13 02:40:46 2012 New Revision: 2818 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2818
Log: OLPC XO-1.75 - save cursor SRAM over sleep and wake, related #11491.
Modified: cpu/arm/olpc/lcd.fth
Modified: cpu/arm/olpc/lcd.fth ============================================================================== --- cpu/arm/olpc/lcd.fth Wed Jan 11 09:36:50 2012 (r2817) +++ cpu/arm/olpc/lcd.fth Fri Jan 13 02:40:46 2012 (r2818) @@ -213,8 +213,11 @@ 2drop ( ) flush-cursor-bits ( ) ; +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 @@ -222,4 +225,5 @@ : wake ( -- ) lcd-clocks-on saved-mode h# 190 lcd! + cursor /cursor 0 cursor-sram-write ;
openfirmware@openfirmware.info