[openfirmware] [commit] r2684 - cpu/arm/olpc/1.75
repository service
svn at openfirmware.info
Mon Nov 14 05:26:21 CET 2011
Author: quozl
Date: Mon Nov 14 05:26:21 2011
New Revision: 2684
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2684
Log:
OLPC XO-1.75 - report write protected EC and flash correctly, was "EDI byte in timeout", allow time for EC to finish reset
Modified:
cpu/arm/olpc/1.75/devices.fth
Modified: cpu/arm/olpc/1.75/devices.fth
==============================================================================
--- cpu/arm/olpc/1.75/devices.fth Mon Nov 14 04:24:06 2011 (r2683)
+++ cpu/arm/olpc/1.75/devices.fth Mon Nov 14 05:26:21 2011 (r2684)
@@ -177,7 +177,9 @@
: ignore-power-button ( -- )
edi-spi-start
- ['] reset-8051 catch if reset-8051 then
+ ['] reset-8051 catch if
+ ['] reset-8051 catch if ." Write Protected EC" cr then
+ then
use-ssp-spi
['] ec-spi-reprogrammed to spi-reprogrammed
;
@@ -188,6 +190,7 @@
;
: )flash-vulnerable ( -- )
hdd-led-off
+ d# 850 ms \ allow time for 8051 to finish reset and power us down
;
: fs-vulnerable( ( -- )
ols-off
More information about the openfirmware
mailing list