summaryrefslogtreecommitdiff
path: root/include/configs/omap3_overo.h
diff options
context:
space:
mode:
authorAsh Charles <ashcharles@gmail.com>2014-05-21 21:04:51 (GMT)
committerTom Rini <trini@ti.com>2014-05-23 20:12:02 (GMT)
commit06ae2b0ce89d5f0e473c403d91fc741fe2f31eaf (patch)
treed9b4d8df7f6eeee3906777562d6d0eb59c8c80cb /include/configs/omap3_overo.h
parentbcb2cf1b5af517910f7a0bf9748751247ff704aa (diff)
downloadu-boot-06ae2b0ce89d5f0e473c403d91fc741fe2f31eaf.tar.xz
arm: omap3: Fix omap3_overo SPL boot hangup
Patch f33b9bd3 [arm: omap3: Enable clocks for peripherals only if they are used] breaks SPL booting on Overo. Since some gpio inputs 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: Ash Charles <ashcharles@gmail.com>
Diffstat (limited to 'include/configs/omap3_overo.h')
-rw-r--r--include/configs/omap3_overo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 706c8cc..1e4dfcf 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -80,6 +80,12 @@
#define CONFIG_OMAP_HSMMC
#define CONFIG_DOS_PARTITION
+#define CONFIG_OMAP3_GPIO_2 /* GPIO32..63 is in GPIO Bank 2 */
+#define CONFIG_OMAP3_GPIO_3 /* GPIO64..95 is in GPIO Bank 3 */
+#define CONFIG_OMAP3_GPIO_4 /* GPIO96..127 is in GPIO Bank 4 */
+#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>