[openfirmware] [commit] r3293 - cpu/x86/pc/olpc

repository service svn at openfirmware.info
Thu Sep 6 01:10:41 CEST 2012


Author: quozl
Date: Thu Sep  6 01:10:40 2012
New Revision: 3293
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3293

Log:
OLPC XO-4 - security, revert r3285 as it breaks booting of our hybrid builds, to be reapplied later once builds are fixed, #12091

Modified:
   cpu/x86/pc/olpc/security.fth

Modified: cpu/x86/pc/olpc/security.fth
==============================================================================
--- cpu/x86/pc/olpc/security.fth	Thu Sep  6 01:09:19 2012	(r3292)
+++ cpu/x86/pc/olpc/security.fth	Thu Sep  6 01:10:40 2012	(r3293)
@@ -892,7 +892,7 @@
    pop-base
 ;
 : (fw-version)  ( base-adr -- n )
-   signature-offset + 7 + ((fw-version))
+   h# f.ffc7 +  ((fw-version))
 ;
 
 \ Returns an integer that is derived from a base-36 decoding
@@ -904,7 +904,7 @@
 
 : firmware-up-to-date?  ( img$ -- flag )
    /flash <>  if  show-x  " Invalid Firmware image" .security-failure  then  ( adr )
-   (fw-version)                     ( file-version# )
+   h# f.ffc7 + ((fw-version))       ( file-version# )
    ofw-version-int                  ( file-version# rom-version# )
    u<=
 ;



More information about the openfirmware mailing list