Author: wmb Date: Thu Nov 25 06:47:14 2010 New Revision: 2047 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2047
Log: OLPC XO-1.75 - Fixed bug in ec-flash introduced by recent changes.
Modified: dev/olpc/kb3700/spicmd.fth
Modified: dev/olpc/kb3700/spicmd.fth ============================================================================== --- dev/olpc/kb3700/spicmd.fth Thu Nov 25 06:40:16 2010 (r2046) +++ dev/olpc/kb3700/spicmd.fth Thu Nov 25 06:47:14 2010 (r2047) @@ -403,7 +403,7 @@ lbsplit drop ( low mid hi r: template ) r@ 4 + c! r@ 5 + c! r> 6 + c! ; -: flash-command ( datadr datlen in? template -- ) data-command ; +: flash-command ( datadr datlen in? template -- ) 8 true data-command ;
: write-flash-chunk ( adr len offset -- ) \ len limited to 16 bytes for now over pgm-cmd set-offset&len ( adr len )