[openfirmware] [commit] r3412 - cpu/arm/olpc

repository service svn at openfirmware.info
Fri Nov 2 23:34:52 CET 2012


Author: wmb
Date: Fri Nov  2 23:34:51 2012
New Revision: 3412
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3412

Log:
OLPC XO-4 - Trac #12169 - Reconnect eMMC signals prior to starting Linux, and ensure adequate off time.

Modified:
   cpu/arm/olpc/build-fw.fth
   cpu/arm/olpc/sdhci.fth

Modified: cpu/arm/olpc/build-fw.fth
==============================================================================
--- cpu/arm/olpc/build-fw.fth	Fri Nov  2 21:44:40 2012	(r3411)
+++ cpu/arm/olpc/build-fw.fth	Fri Nov  2 23:34:51 2012	(r3412)
@@ -580,6 +580,14 @@
 \ This must precede the loading of gui.fth, which chains from linux-hook's behavior
 ' quiesce to linux-hook
 
+[ifdef] olpc-cl4
+: linux-hook-emmc  ( -- )
+   [ ' linux-hook behavior compile, ]  \ Chain to old behavior
+   connect-emmc
+;
+' linux-hook-emmc to linux-hook
+[then]
+
 \ This must be defined after spiui.fth, otherwise spiui will choose some wrong code
 : rom-pa  ( -- adr )  mfg-data-buf mfg-data-offset -  ;  \ Fake out setwp.fth
 fload ${BP}/cpu/x86/pc/olpc/setwp.fth

Modified: cpu/arm/olpc/sdhci.fth
==============================================================================
--- cpu/arm/olpc/sdhci.fth	Fri Nov  2 21:44:40 2012	(r3411)
+++ cpu/arm/olpc/sdhci.fth	Fri Nov  2 23:34:51 2012	(r3412)
@@ -12,7 +12,7 @@
    1 " #address-cells" integer-property
    1 " #size-cells" integer-property
 
-   d# 1 to power-off-time  \ A2 and A3 have turn-off clamps
+   d# 30 to power-off-time   \ Time for the voltage to decay
 \   true to avoid-high-speed?
 
    hex



More information about the openfirmware mailing list