]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
imx: ventana: config: enable driver model
authorTim Harvey <tharvey@gateworks.com>
Sat, 9 May 2015 01:28:27 +0000 (18:28 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 13:00:30 +0000 (15:00 +0200)
Enable U-Boot Driver Model (DM).

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

index 089aa4acbe785979c0123c7e8f00f3f94a9f738c..6ae24291c7f55f2d9d037b268834c9c71011e560 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