r1918 - trunk/src/target/u-boot/patches

laforge at sita.openmoko.org laforge at sita.openmoko.org
Mon May 7 17:57:55 CEST 2007


Author: laforge
Date: 2007-05-07 17:57:46 +0200 (Mon, 07 May 2007)
New Revision: 1918

Modified:
   trunk/src/target/u-boot/patches/uboot-smdk2440.patch
Log:
* correctly initialize GPIO (as per schematics)


Modified: trunk/src/target/u-boot/patches/uboot-smdk2440.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-smdk2440.patch	2007-05-06 14:53:16 UTC (rev 1917)
+++ trunk/src/target/u-boot/patches/uboot-smdk2440.patch	2007-05-07 15:57:46 UTC (rev 1918)
@@ -1083,7 +1083,7 @@
 ===================================================================
 --- /dev/null
 +++ u-boot/board/smdk2440/smdk2440.c
-@@ -0,0 +1,150 @@
+@@ -0,0 +1,152 @@
 +/*
 + * (C) Copyright 2002
 + * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
@@ -1173,7 +1173,7 @@
 +
 +	/* set up the I/O ports */
 +	gpio->GPACON = 0x007FFFFF;
-+	gpio->GPBCON = 0x00044555;
++	gpio->GPBCON = 0x002a9655;
 +	gpio->GPBUP = 0x000007FF;
 +	gpio->GPCCON = 0xAAAAAAAA;
 +	gpio->GPCUP = 0x0000FFFF;
@@ -1192,6 +1192,8 @@
 +#endif
 +	gpio->GPHUP = 0x000007FF;
 +
++	gpio->GPJCON = 0x2AAAAAA;
++
 +#if 0
 +	/* USB Device Part */
 +	/*GPGCON is reset for USB Device */





More information about the commitlog mailing list