From b99353b8ac9f7aeda34e7cd2ed757b605df2666e Mon Sep 17 00:00:00 2001
From: Adam Ford <aford173@gmail.com>
Date: Fri, 22 Jan 2016 04:40:58 -0600
Subject: [PATCH] OMAP: Define CONFIG_OMAP3_GPIO_6 on omap3_logic

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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index 7b60f29bd27..e9ce3f6d1c7 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -50,6 +50,9 @@
  * Hardware drivers
  */
 
+/* GPIO banks */
+#define CONFIG_OMAP3_GPIO_6		/* GPIO160..191 is in GPIO bank 6 */
+
 /*
  * select serial console configuration
  */
-- 
GitLab