[U-Boot] [PATCH V2 08/11] colibri-vf: Enable SPI support
Bhuvanchandra DV
bhuvanchandra.dv at toradex.com
Mon Jun 1 10:51:31 CEST 2015
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv at toradex.com>
---
include/configs/colibri_vf.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 195102b..3e57417 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -272,4 +272,15 @@
#define CONFIG_USB_GADGET_MASS_STORAGE
#define CONFIG_CMD_USB_MASS_STORAGE
+/* Enable SPI support */
+#define CONFIG_DM_SPI
+#define CONFIG_CMD_SPI
+#define CONFIG_FSL_DSPI
+
+#ifndef CONFIG_OF_CONTROL
+#undef CONFIG_DM_SPI
+#undef CONFIG_CMD_SPI
+#undef CONFIG_FSL_DSPI
+#endif
+
#endif /* __CONFIG_H */
--
2.1.0
More information about the U-Boot
mailing list