]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: ventana: config: enable driver model
authorTim Harvey <tharvey@gateworks.com>
Sat, 9 May 2015 01:28:27 +0000 (18:28 -0700)
committerStefano Babic <sbabic@denx.de>
Fri, 15 May 2015 17:21:25 +0000 (19:21 +0200)
Enable U-Boot Driver Model (DM).

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
include/configs/gw_ventana.h

index 1ae4a592924e1ee0594af2ccb3666929c38bfa05..c8645cac4aab28ab42ea2d1b9db5a31e12a3a791 100644 (file)
 #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