From 30748d81d0b33f04c86b5b96aab2e8bf8d330ea2 Mon Sep 17 00:00:00 2001 From: Bhuvanchandra DV Date: Mon, 1 Jun 2015 18:37:18 +0530 Subject: colibri_vf: Enable GPIO support Acked-by: Stefan Agner Signed-off-by: Bhuvanchandra DV --- include/configs/colibri_vf.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/configs/colibri_vf.h') diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index 804291dfaa..195102bcda 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -54,6 +54,11 @@ #define CONFIG_SYS_MAX_NAND_DEVICE 1 #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR +/* GPIO support */ +#define CONFIG_DM_GPIO +#define CONFIG_CMD_GPIO +#define CONFIG_VYBRID_GPIO + /* Dynamic MTD partition support */ #define CONFIG_CMD_MTDPARTS /* Enable 'mtdparts' command line support */ #define CONFIG_MTD_PARTITIONS -- cgit From 98e3fd3ddfac658be7c63256c8c6a9a9db2f23bf Mon Sep 17 00:00:00 2001 From: Bhuvanchandra DV Date: Mon, 1 Jun 2015 18:37:22 +0530 Subject: colibri-vf: Enable SPI support Signed-off-by: Bhuvanchandra DV Acked-by: Stefan Agner --- include/configs/colibri_vf.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/configs/colibri_vf.h') diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index 195102bcda..56e6d97520 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 */ -- cgit