Changeset 3057
- Timestamp:
- Jul 12, 2012 10:35:00 PM (11 months ago)
- Location:
- cpu/arm/olpc
- Files:
-
- 4 edited
-
1.75/config.fth (modified) (1 diff)
-
3.0/config.fth (modified) (1 diff)
-
cl4/config.fth (modified) (1 diff)
-
ecflash.fth (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpu/arm/olpc/1.75/config.fth
r3054 r3057 24 24 : model$ " olpc,XO-1.75" ; 25 25 : compatible$ " olpc,xo-1.75" ; 26 : ec-platform$ ( -- adr len ) " 4" ; 26 27 27 28 d# 9999 constant machine-type \ Backwards compatibility with non-device-tree kernel -
cpu/arm/olpc/3.0/config.fth
r3054 r3057 23 23 : model$ " olpcXO-3.0" ; 24 24 : compatible$ " olpcxo-3.0" ; 25 : ec-platform$ ( -- adr len ) " 5" ; 25 26 26 27 d# 10000 constant machine-type \ Backwards compatibility with non-device-tree kernel -
cpu/arm/olpc/cl4/config.fth
r3055 r3057 20 20 : model$ " olpc,XO-CL4" ; 21 21 : compatible$ " olpc,xo-cl4" ; 22 : ec-platform$ ( -- adr len ) " 6" ; 22 23 23 24 d# 10001 constant machine-type \ Backwards compatibility with non-device-tree kernel -
cpu/arm/olpc/ecflash.fth
r3035 r3057 88 88 ofd @ fclose 89 89 ; 90 \+ olpc-cl2 : ec-platform$ ( -- adr len ) " 4" ;91 \+ olpc-cl3 : ec-platform$ ( -- adr len ) " 5" ;92 90 : ec-up-to-date? ( img$ -- flag ) 93 91 \ If the new image has an invalid length, the old one is considered up to date … … 101 99 bl left-parse-string ec-platform$ $= 0= if 2drop true exit then ( version&date$ ) 102 100 bl left-parse-string 2nip ( version$ ) 103 ec-name$ $caps-compare 0<= ( flag ) 101 ['] ec-name$ catch if ( version$ ) 102 2drop ." Can't get EC name" cr true ( flag ) 103 else ( version$ ec-name$ ) 104 $caps-compare 0<= ( flag ) 105 then ( flag ) 104 106 ; 105 107
Note: See TracChangeset
for help on using the changeset viewer.
