Changeset 2868


Ignore:
Timestamp:
Feb 20, 2012, 7:51:21 AM (3 years ago)
Author:
quozl
Message:

OLPC fs-update - split for use by factory scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/x86/pc/olpc/via/fsupdate.fth

    r2865 r2868  
    217217previous definitions 
    218218 
    219 : fs-update  ( "devspec" -- ) 
     219: $fs-update  ( file$ -- ) 
    220220   load-crypto  abort" Can't load hash routines" 
    221221 
    222    open-nand                           ( ) 
    223  
    224    false to secure-fsupdate?           ( ) 
    225    safe-parse-word r/o open-file       ( fd error? ) 
     222   open-nand                           ( file$ ) 
     223 
     224   false to secure-fsupdate?           ( file$ ) 
     225   r/o open-file                       ( fd error? ) 
    226226   " Can't open file" ?nand-abort      ( fd ) 
    227227 
     
    239239   close-nand-ihs 
    240240   )t-hms 
     241; 
     242 
     243: fs-update  ( "devspec" -- ) 
     244   safe-parse-word $fs-update 
    241245; 
    242246 
Note: See TracChangeset for help on using the changeset viewer.