diff options
Diffstat (limited to 'include/configs/colibri_vf.h')
-rw-r--r-- | include/configs/colibri_vf.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index bc60f6658ac..b96ea88bcfe 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 */ |