Commit 06ae2b0ce89d5f0e473c403d91fc741fe2f31eaf

Authored by Ash Charles
Committed by Tom Rini
1 parent bcb2cf1b5a

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>

Showing 1 changed file with 6 additions and 0 deletions Side-by-side Diff

include/configs/omap3_overo.h
... ... @@ -80,6 +80,12 @@
80 80 #define CONFIG_OMAP_HSMMC
81 81 #define CONFIG_DOS_PARTITION
82 82  
  83 +#define CONFIG_OMAP3_GPIO_2 /* GPIO32..63 is in GPIO Bank 2 */
  84 +#define CONFIG_OMAP3_GPIO_3 /* GPIO64..95 is in GPIO Bank 3 */
  85 +#define CONFIG_OMAP3_GPIO_4 /* GPIO96..127 is in GPIO Bank 4 */
  86 +#define CONFIG_OMAP3_GPIO_5 /* GPIO128..159 is in GPIO Bank 5 */
  87 +#define CONFIG_OMAP3_GPIO_6 /* GPIO160..191 is in GPIO Bank 6 */
  88 +
83 89 /* commands to include */
84 90 #include <config_cmd_default.h>
85 91