summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>2015-06-01 18:37:18 +0530
committerStefano Babic <sbabic@denx.de>2015-06-08 08:41:55 +0200
commit30748d81d0b33f04c86b5b96aab2e8bf8d330ea2 (patch)
tree09a8ac44f7fa6885631c9af5ef22f82f732f68f7
parenta7b1808ee3e87608bf740f845b6de6ebb550a339 (diff)
downloadu-boot-imx-30748d81d0b33f04c86b5b96aab2e8bf8d330ea2.zip
u-boot-imx-30748d81d0b33f04c86b5b96aab2e8bf8d330ea2.tar.gz
u-boot-imx-30748d81d0b33f04c86b5b96aab2e8bf8d330ea2.tar.bz2
colibri_vf: Enable GPIO support
Acked-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
-rw-r--r--configs/colibri_vf_defconfig1
-rw-r--r--include/configs/colibri_vf.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig
index 3b1f66a..0715267 100644
--- a/configs/colibri_vf_defconfig
+++ b/configs/colibri_vf_defconfig
@@ -3,3 +3,4 @@ CONFIG_TARGET_COLIBRI_VF=y
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_vf/imximage.cfg,ENV_IS_IN_NAND,IMX_NAND"
CONFIG_NAND_VF610_NFC=y
CONFIG_SYS_NAND_VF610_NFC_60_ECC_BYTES=y
+CONFIG_DM=y
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 804291d..195102b 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