From: Tim Harvey <tharvey@gateworks.com>
Date: Sat, 9 May 2015 01:28:27 +0000 (-0700)
Subject: imx: ventana: config: enable driver model
X-Git-Tag: v2025.01-rc5-pxa1908~12907
X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=e1b4770ce45dc4f7b66ffdb6933145fc3f81c042;p=u-boot.git

imx: ventana: config: enable driver model

Enable U-Boot Driver Model (DM).

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---

diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 1ae4a59292..c8645cac4a 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