OMAP: Define CONFIG_OMAP3_GPIO_6 on omap3_logic
authorAdam Ford <aford173@gmail.com>
Fri, 22 Jan 2016 10:40:58 +0000 (04:40 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 25 Jan 2016 15:40:02 +0000 (10:40 -0500)
Since we are manipulating GPIO 189 to determine the board type, we
need to enable the GPIO Bank 6.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/omap3_logic.h

index 7b60f29bd27c3ad923f391742eb2ea752c27d9d1..e9ce3f6d1c761a3bd7ce65152871cd4e2cf8c42a 100644 (file)
@@ -50,6 +50,9 @@
  * Hardware drivers
  */
 
+/* GPIO banks */
+#define CONFIG_OMAP3_GPIO_6            /* GPIO160..191 is in GPIO bank 6 */
+
 /*
  * select serial console configuration
  */