Commit 30748d81d0b33f04c86b5b96aab2e8bf8d330ea2

Authored by Bhuvanchandra DV
Committed by Stefano Babic
1 parent a7b1808ee3

colibri_vf: Enable GPIO support

Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>

Showing 2 changed files with 6 additions and 0 deletions Side-by-side Diff

configs/colibri_vf_defconfig
... ... @@ -3,4 +3,5 @@
3 3 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_vf/imximage.cfg,ENV_IS_IN_NAND,IMX_NAND"
4 4 CONFIG_NAND_VF610_NFC=y
5 5 CONFIG_SYS_NAND_VF610_NFC_60_ECC_BYTES=y
  6 +CONFIG_DM=y
include/configs/colibri_vf.h
... ... @@ -54,6 +54,11 @@
54 54 #define CONFIG_SYS_MAX_NAND_DEVICE 1
55 55 #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR
56 56  
  57 +/* GPIO support */
  58 +#define CONFIG_DM_GPIO
  59 +#define CONFIG_CMD_GPIO
  60 +#define CONFIG_VYBRID_GPIO
  61 +
57 62 /* Dynamic MTD partition support */
58 63 #define CONFIG_CMD_MTDPARTS /* Enable 'mtdparts' command line support */
59 64 #define CONFIG_MTD_PARTITIONS