From: Tim Harvey Date: Fri, 8 May 2015 18:28:27 -0700 Subject: [U-Boot] [PATCH 04/19] imx: ventana: config: enable driver model In-Reply-To: <1431134922-2535-1-git-send-email-tharvey@gateworks.com> References: <1431134922-2535-1-git-send-email-tharvey@gateworks.com> Message-ID: <1431134922-2535-5-git-send-email-tharvey@gateworks.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 db0cf51..20bc4dc 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 -- 1.9.1