Author: rsmith Date: 2008-03-13 08:58:09 +0100 (Thu, 13 Mar 2008) New Revision: 821
Modified: cpu/x86/pc/olpc/security.fth Log: OLPC: Tweak do-firmware-update so that it does not print the buffer@<address> message when it skips the firmware update due to an error.
Modified: cpu/x86/pc/olpc/security.fth =================================================================== --- cpu/x86/pc/olpc/security.fth 2008-03-10 17:39:13 UTC (rev 820) +++ cpu/x86/pc/olpc/security.fth 2008-03-13 07:58:09 UTC (rev 821) @@ -653,8 +653,13 @@ ;
: do-firmware-update ( img$ -- ) - visible
+\ Keep .error from printing an input sream position report +\ which makes a buffer@<address> show up in the error message + ['] noop to show-error + + visible + tuck flash-buf swap move ( len )
['] ?image-valid catch ?dup if ( )