]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: omap3: Fix beagleboard SPL boot hangup (GPIO clocks not enabled)
authorStefan Roese <sr@denx.de>
Tue, 17 Dec 2013 13:14:06 +0000 (14:14 +0100)
committerTom Rini <trini@ti.com>
Thu, 19 Dec 2013 02:13:59 +0000 (21:13 -0500)
Patch f33b9bd3
[arm: omap3: Enable clocks for peripherals only if they are used]
breaks SPL booting on Beagleboard. Since some gpio input's are
read to detect the board revision. But with this patch above, the
clocks to the GPIO subsystems are not enabled per default any more.
The GPIO banks need to be configured specifically now.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
include/configs/omap3_beagle.h

index 3acb8543f8b4c59009b503d33b82662636e7f8ac..1b566c01eeb7cbfc0f7f7e21cc74ca01f89e0ef5 100644 (file)
 #define CONFIG_USB_ETHER_SMSC95XX
 #define CONFIG_USB_ETHER_ASIX
 
+/* GPIO banks */
+#define CONFIG_OMAP3_GPIO_5            /* GPIO128..159 is in GPIO bank 5 */
+#define CONFIG_OMAP3_GPIO_6            /* GPIO160..191 is in GPIO bank 6 */
 
 /* commands to include */
 #include <config_cmd_default.h>