]> code.ossystems Code Review - bsp/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)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 15 May 2015 15:22:42 +0000 (12:22 -0300)
Enable U-Boot Driver Model (DM).

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

index db0cf5137a9d875e261c8d3553c0b1f1248c40cf..20bc4dcd4b36ae32f6e486a108ab9199248867d0 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