From e949d566bee99b893e07a3c59586c9c828960cf0 Mon Sep 17 00:00:00 2001 From: Bhuvanchandra DV Date: Wed, 29 Jul 2015 14:16:43 +0200 Subject: colibri-vf: Enable SPI support Signed-off-by: Bhuvanchandra DV [add CONFIG_DM to colibri_vf_defconfig] Signed-off-by: Stefan Agner --- include/configs/colibri_vf.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index bc60f6658a..b96ea88bcf 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -79,9 +79,6 @@ #define CONFIG_SYS_MAX_NAND_DEVICE 1 #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR -/* Enable driver model */ -#define CONFIG_DM - /* GPIO support */ #define CONFIG_DM_GPIO #define CONFIG_CMD_GPIO @@ -310,4 +307,11 @@ #define CONFIG_USB_GADGET_MASS_STORAGE #define CONFIG_CMD_USB_MASS_STORAGE +/* Enable SPI support */ +#ifdef CONFIG_OF_CONTROL +#define CONFIG_DM_SPI +#define CONFIG_CMD_SPI +#define CONFIG_FSL_DSPI +#endif + #endif /* __CONFIG_H */ -- cgit v1.2.3