diff mbox

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

Message ID 1433164045-9987-9-git-send-email-bhuvanchandra.dv@toradex.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Bhuvanchandra DV June 1, 2015, 1:07 p.m. UTC
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
---
 include/configs/colibri_vf.h | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Stefan Agner June 1, 2015, 5:04 p.m. UTC | #1
On 2015-06-01 15:07, Bhuvanchandra DV wrote:
> Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
> ---
>  include/configs/colibri_vf.h | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
> index 195102b..56e6d97 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 */


Thx,

Acked-by: Stefan Agner <stefan@agner.ch>

--
Stefan
diff mbox

Patch

diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 195102b..56e6d97 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 */