Author: quozl Date: Mon Jan 21 01:57:08 2013 New Revision: 3521 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3521
Log: OLPC XO-1.75 XO-4 - tune DCON unfreeze timing. Ten values of resumeline are glitch free for each CPU speed, so a median value is chosen.
Modified: dev/olpc/dcon/mmp2dcon.fth
Modified: dev/olpc/dcon/mmp2dcon.fth ============================================================================== --- dev/olpc/dcon/mmp2dcon.fth Fri Jan 18 05:17:30 2013 (r3520) +++ dev/olpc/dcon/mmp2dcon.fth Mon Jan 21 01:57:08 2013 (r3521) @@ -87,6 +87,15 @@ 0 value color? \ COLOUR
d# 850 value resumeline +: set-resumeline ( -- ) + pj4-speed case + d# 800 of d# 840 to resumeline endof + d# 988 of d# 845 to resumeline endof + d# 1063 of d# 845 to resumeline endof + d# 1196 of d# 848 to resumeline endof + endcase +; + : scanint-set resumeline scanint! ; : mark-time ( -- start-time ) get-msecs ; : delta-ms ( start-time -- elapsed-ms ) mark-time swap - ; @@ -253,6 +262,7 @@ ' init-dcon to init-panel [else] : open ( -- flag ) + set-resumeline my-unit " set-address" $call-parent bus-init \ Unnecessary because CForth has already done it