summaryrefslogtreecommitdiff
path: root/include/configs/omap3_beagle.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2013-12-17 14:14:06 +0100
committerTom Rini <trini@ti.com>2013-12-18 21:13:59 -0500
commitce23b18bbb9531faf9a4526cc6c28a3e8e559847 (patch)
treef8e5ec70fa0f198cddea3361153ecab817ed8316 /include/configs/omap3_beagle.h
parentd627eefcd5e72db00889718ca9ee1dcb4d026fc9 (diff)
arm: omap3: Fix beagleboard SPL boot hangup (GPIO clocks not enabled)
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>
Diffstat (limited to 'include/configs/omap3_beagle.h')
-rw-r--r--include/configs/omap3_beagle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index 3acb8543f8b..1b566c01eeb 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -123,6 +123,9 @@
#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>