[openfirmware] [commit] r3184 - cpu/arm/olpc/cl4

repository service svn at openfirmware.info
Thu Aug 16 22:17:15 CEST 2012


Author: wmb
Date: Thu Aug 16 22:17:14 2012
New Revision: 3184
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3184

Log:
OLPC XO-4 - Cope with inverted write protect on external SD.

Modified:
   cpu/arm/olpc/cl4/sdhci.fth

Modified: cpu/arm/olpc/cl4/sdhci.fth
==============================================================================
--- cpu/arm/olpc/cl4/sdhci.fth	Thu Aug 16 22:15:40 2012	(r3183)
+++ cpu/arm/olpc/cl4/sdhci.fth	Thu Aug 16 22:17:14 2012	(r3184)
@@ -14,6 +14,10 @@
       \ Active low
       " /gpio" encode-phandle  d# 31 encode-int encode+  1 encode-int encode+  " cd-gpios"  property
 
+      \ MMP3 
+      0 0  " wp-inverted" property
+      : write-protected?  ( -- flag )  write-protected? 0=  ;
+
       new-device
          fload ${BP}/dev/mmc/sdhci/sdmmc.fth
          fload ${BP}/dev/mmc/sdhci/selftest.fth



More information about the openfirmware mailing list