Author: quozl Date: Mon Aug 20 12:21:04 2012 New Revision: 3204 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3204
Log: OLPC - fs-update, fix sanity-check for signed install, #12055
Modified: cpu/x86/pc/olpc/via/fsupdate.fth
Modified: cpu/x86/pc/olpc/via/fsupdate.fth ============================================================================== --- cpu/x86/pc/olpc/via/fsupdate.fth Mon Aug 20 11:59:52 2012 (r3203) +++ cpu/x86/pc/olpc/via/fsupdate.fth Mon Aug 20 12:21:04 2012 (r3204) @@ -152,6 +152,7 @@
0 2value file-bytes : size: ( "bytes" -- ) + ?compare-spec-line get-dhex# ( d.size ) file-bytes d<> ( invalid? ) " Inconsistent size of zdata file" ?nand-abort @@ -307,6 +308,8 @@
['] open-nand catch ?dup if .error security-failure then ( adr len )
+ [ also nand-commands ] dup s>d to file-bytes [ previous ] + \ clear-context nand-commands t-hms( also nand-commands ( adr len )