summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>2015-06-01 18:37:22 +0530
committerStefano Babic <sbabic@denx.de>2015-06-08 08:41:55 +0200
commit98e3fd3ddfac658be7c63256c8c6a9a9db2f23bf (patch)
tree52a7be5e1351ea59f49442b83461640e5208a454
parentd470030680005d65d624eecd51f5ffe03019de65 (diff)
colibri-vf: Enable SPI support
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Acked-by: Stefan Agner <stefan@agner.ch>
-rw-r--r--include/configs/colibri_vf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 195102bcda0..56e6d975201 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -272,4 +272,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 */