Author: wmb Date: Wed Nov 21 00:23:58 2012 New Revision: 3449 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3449
Log: XO-1 - fixed build problem by creating new DCON driver methods "dcon-freeze" and "dcon-unfreeze" on top of the old "set-source" method.
Modified: cpu/x86/pc/olpc/gui.fth dev/olpc/dcon/dcon.fth dev/olpc/dcon/mmp2dcon.fth dev/olpc/dcon/viadcon.fth
Modified: cpu/x86/pc/olpc/gui.fth ============================================================================== --- cpu/x86/pc/olpc/gui.fth Wed Nov 21 00:20:41 2012 (r3448) +++ cpu/x86/pc/olpc/gui.fth Wed Nov 21 00:23:58 2012 (r3449) @@ -356,8 +356,8 @@ ;
: frozen? ( -- flag ) " vga?" $call-dcon 0= ; -: dcon-freeze ( -- ) 0 " set-source" $call-dcon d# 30 ms ; -: dcon-unfreeze ( -- ) 1 " set-source" $call-dcon d# 30 ms ; +: dcon-freeze ( -- ) " dcon-freeze" $call-dcon d# 30 ms ; +: dcon-unfreeze ( -- ) " dcon-unfreeze" $call-dcon d# 30 ms ;
\ === Stuff moved from security.fth ===
Modified: dev/olpc/dcon/dcon.fth ============================================================================== --- dev/olpc/dcon/dcon.fth Wed Nov 21 00:20:41 2012 (r3448) +++ dev/olpc/dcon/dcon.fth Wed Nov 21 00:23:58 2012 (r3449) @@ -104,6 +104,8 @@ \ display-off then ; +: dcon-freeze ( -- ) 0 set-source ; +: dcon-unfreeze ( -- ) 1 set-source ;
\ gx_configure_tft(info);
Modified: dev/olpc/dcon/mmp2dcon.fth ============================================================================== --- dev/olpc/dcon/mmp2dcon.fth Wed Nov 21 00:20:41 2012 (r3448) +++ dev/olpc/dcon/mmp2dcon.fth Wed Nov 21 00:23:58 2012 (r3449) @@ -123,6 +123,8 @@ then then ; +: dcon-freeze ( -- ) 0 set-source ; +: dcon-unfreeze ( -- ) 1 set-source ;
\ gx_configure_tft(info);
Modified: dev/olpc/dcon/viadcon.fth ============================================================================== --- dev/olpc/dcon/viadcon.fth Wed Nov 21 00:20:41 2012 (r3448) +++ dev/olpc/dcon/viadcon.fth Wed Nov 21 00:23:58 2012 (r3449) @@ -126,6 +126,8 @@ repeat ( ) then ; +: dcon-freeze ( -- ) 0 set-source ; +: dcon-unfreeze ( -- ) 1 set-source ;
\ gx_configure_tft(info);