diff options
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | 2015-07-29 14:16:43 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2015-08-10 16:11:43 +0200 |
commit | e949d566bee99b893e07a3c59586c9c828960cf0 (patch) | |
tree | 529de5e2ff632d09dcd3157ce221080133367393 /include/configs | |
parent | bc3d349e79879cc7ec00baeb313b0e59f7f8dd57 (diff) |
colibri-vf: Enable SPI support
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
[add CONFIG_DM to colibri_vf_defconfig]
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'include/configs')
-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 */ |