summaryrefslogtreecommitdiff
path: root/include/configs/gw_ventana.h
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2015-05-08 18:28:27 -0700
committerStefano Babic <sbabic@denx.de>2015-05-15 19:21:25 +0200
commite1b4770ce45dc4f7b66ffdb6933145fc3f81c042 (patch)
tree3f35a8a75b5209c845d6fe29b1c99ba732e14bc8 /include/configs/gw_ventana.h
parent32a6eaeadf1e28a8185c86ef2f362eb634bb1083 (diff)
downloadu-boot-imx-e1b4770ce45dc4f7b66ffdb6933145fc3f81c042.zip
u-boot-imx-e1b4770ce45dc4f7b66ffdb6933145fc3f81c042.tar.gz
u-boot-imx-e1b4770ce45dc4f7b66ffdb6933145fc3f81c042.tar.bz2
imx: ventana: config: enable driver model
Enable U-Boot Driver Model (DM). Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'include/configs/gw_ventana.h')
-rw-r--r--include/configs/gw_ventana.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 1ae4a59..c8645ca 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -45,6 +45,13 @@
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_MISC_INIT_R
+/* Driver Model */
+#ifndef CONFIG_SPL_BUILD
+#define CONFIG_DM
+#define CONFIG_DM_GPIO
+#define CONFIG_CMD_DM
+#endif
+
/* GPIO */
#define CONFIG_MXC_GPIO
#define CONFIG_CMD_GPIO