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

repository service svn at openfirmware.info
Fri Aug 10 00:25:40 CEST 2012


Author: pgf
Date: Fri Aug 10 00:25:40 2012
New Revision: 3147
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3147

Log:
bsl.fth: don't modify mfp settings on cl4

the pin settings established by cforth are correct on cl4-a2.

Modified:
   cpu/arm/olpc/bsl.fth

Modified: cpu/arm/olpc/bsl.fth
==============================================================================
--- cpu/arm/olpc/bsl.fth	Thu Aug  9 22:34:22 2012	(r3146)
+++ cpu/arm/olpc/bsl.fth	Fri Aug 10 00:25:40 2012	(r3147)
@@ -51,9 +51,12 @@
 \ The pin setup should be done in CForth, but it's complicated by
 \ the fact that the touch-enabled CL2 uses GPIO 56 differently from
 \ the ordinary one
-[ifdef] olpc-cl2  3 d# 55 af!   3 d# 56 af!  [then]  \ Setup pins for UART2
+[ifdef] olpc-cl2
+   3 d# 55 af!                 \ Setup pins for UART2
+   3 d# 56 af!
    0 touch-tck-gpio# af!       \ Set to GPIO function
    1 touch-rst-gpio#  af!      \ Set to GPIO function (AF0 is SM_BELn for this pin)
+[then]
 ;
 
 0 [if]



More information about the openfirmware mailing list