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

repository service svn at openfirmware.info
Tue Aug 28 02:49:19 CEST 2012


Author: quozl
Date: Tue Aug 28 02:49:18 2012
New Revision: 3226
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3226

Log:
OLPC XO-4 A1 - initialise MFPR for TWSI4, needed on MMP2 based A1 only, fixes use of A1 for touchscreen testing.

Modified:
   cpu/arm/olpc/nn-touchscreen.fth

Modified: cpu/arm/olpc/nn-touchscreen.fth
==============================================================================
--- cpu/arm/olpc/nn-touchscreen.fth	Mon Aug 27 08:14:53 2012	(r3225)
+++ cpu/arm/olpc/nn-touchscreen.fth	Tue Aug 28 02:49:18 2012	(r3226)
@@ -17,6 +17,10 @@
 [then]
 
 : set-gpios
+[ifndef] mmp3
+   0 1e2bc io!@ \ TWSI4_SCL to GPIO[169]
+   0 1e2c0 io!@ \ TWSI4_SDA to GPIO[170]
+[then]
    touch-rst-gpio# dup gpio-set gpio-dir-out
    touch-tck-gpio# dup gpio-clr gpio-dir-out
 ;



More information about the openfirmware mailing list