diff mbox

[U-Boot,08/11] colibri-vf: Enable SPI support

Message ID 1431954389-6433-9-git-send-email-bhuvanchandra.dv@toradex.com
State Changes Requested
Delegated to: Stefano Babic
Headers show

Commit Message

Bhuvanchandra DV May 18, 2015, 1:06 p.m. UTC
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
---
 include/configs/colibri_vf.h | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox

Patch

diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 42555fb..25a9bf9 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -273,4 +273,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 */