Author: quozl Date: Tue May 21 06:56:16 2013 New Revision: 3663 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3663
Log: OLPC - do not leave keyboard locked if file cannot be created by save-mfg-data on XO-1.5. #12684.
Modified: dev/olpc/spiflash/spiui.fth
Modified: dev/olpc/spiflash/spiui.fth ============================================================================== --- dev/olpc/spiflash/spiui.fth Tue May 21 03:37:34 2013 (r3662) +++ dev/olpc/spiflash/spiui.fth Tue May 21 06:56:16 2013 (r3663) @@ -143,12 +143,12 @@ ;
: save-mfg-data ( -- ) - flash-open make-sn-name ( name$ ) 2dup ['] $delete catch if 2drop then ( name$ ) ." Creating " 2dup type cr ( name$ ) $create-file ( ihandle ) dup 0= abort" Can't create file" >r ( r: ihandle ) + flash-open mfg-data-buf /flash-block ( adr len r: ihandle ) 2dup mfg-data-offset flash-read ( adr len r: ihandle ) " write" r@ $call-method ( wlen r: ihandle )
openfirmware@openfirmware.info