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<= ;