Changeset 2705
- Timestamp:
- Nov 28, 2011 1:05:38 AM (18 months ago)
- File:
-
- 1 edited
-
dev/olpc/spiflash/spiui.fth (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dev/olpc/spiflash/spiui.fth
r2703 r2705 10 10 11 11 defer spi-progress ' drop to spi-progress ( n -- ) 12 13 : .progress ( offset -- ) 14 5 rshift dup spi-progress h# 400 + spi-progress 15 ; 12 16 13 17 : write-flash-range ( adr end-offset start-offset -- ) … … 27 31 dup /flash-block i flash-write ( adr ) 28 32 then 29 i 5 rshift dup spi-progress h# 400 + spi-progress( adr )33 i .progress ( adr ) 30 34 /flash-block + ( adr' ) 31 35 /flash-block +loop ( adr ) … … 187 191 188 192 \ Don't write the block containing the manufacturing data 193 mfg-data-offset .progress 189 194 190 195 flash-buf mfg-data-end-offset + /flash mfg-data-end-offset write-flash-range \ Write last part … … 211 216 verify-firmware 212 217 then 218 /flash .progress 213 219 flash-write-disable 214 220 else
Note: See TracChangeset
for help on using the changeset viewer.
