]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: omap3: Fix omap3_overo SPL boot hangup
authorAsh Charles <ashcharles@gmail.com>
Wed, 21 May 2014 21:04:51 +0000 (14:04 -0700)
committerTom Rini <trini@ti.com>
Fri, 23 May 2014 20:12:02 +0000 (16:12 -0400)
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>
include/configs/omap3_overo.h

index 706c8cc2c4a5cc3f456fe6f96acaf96edbd254e9..1e4dfcf9f287e9be813940ffb28b7d983be06970 100644 (file)
 #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>