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

repository service svn at openfirmware.info
Mon Feb 27 22:46:02 CET 2012


Author: wmb
Date: Mon Feb 27 22:46:01 2012
New Revision: 2885
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2885

Log:
OLPC XO-3 - Fixed GPIO 126 MFPR setting so it can be used to enable/disable power to the USB OTG port.

Modified:
   cpu/arm/olpc/emmc.fth

Modified: cpu/arm/olpc/emmc.fth
==============================================================================
--- cpu/arm/olpc/emmc.fth	Mon Feb 27 04:04:58 2012	(r2884)
+++ cpu/arm/olpc/emmc.fth	Mon Feb 27 22:46:01 2012	(r2885)
@@ -19,7 +19,9 @@
 ;
 : select-emmc  ( -- )
    h# c1 d# 113 af!  \ SD_CMD as GPIO
-   h# c1 d# 126 af!  \ SD_DATA2 as GPIO
+[ifndef] olpc-cl3    \ Leave at the initial setting for CL3
+   h# c0 d# 126 af!  \ SD_DATA2 as GPIO
+[then]
    h# c0 d# 127 af!  \ SD_DATA0 as GPIO
    h# c0 d# 130 af!  \ SD_DATA3 as GPIO
    h# c0 d# 135 af!  \ SD_DATA1 as GPIO



More information about the openfirmware mailing list