From 8b29b5b80e1b84fdd5dfbd80072d57f1c859d3ca Mon Sep 17 00:00:00 2001 From: Tim Harvey Date: Fri, 8 May 2015 18:28:27 -0700 Subject: [PATCH] imx: ventana: config: enable driver model Enable U-Boot Driver Model (DM). Signed-off-by: Tim Harvey --- include/configs/gw_ventana.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index 089aa4acbe..6ae24291c7 100644 --- a/include/configs/gw_ventana.h +++ b/include/configs/gw_ventana.h @@ -44,6 +44,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 -- 2.39.5