[U-Boot] [PATCH] OMAP: Define CONFIG_OMAP3_GPIO_6 on omap3_logic
Adam Ford
aford173 at gmail.com
Fri Jan 22 11:40:58 CET 2016
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 at gmail.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 7b60f29..e9ce3f6 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
*/
--
1.9.1
More information about the U-Boot
mailing list