colibri_vf: Add separate defconfig for device tree support
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Mon, 1 Jun 2015 13:07:23 +0000 (18:37 +0530)
committerStefano Babic <sbabic@denx.de>
Mon, 8 Jun 2015 06:41:55 +0000 (08:41 +0200)
Most of the drivers available for Vybrid are not yet converted
to OF model to use device tree model, only few drivers
like SPI and GPIO drivers use device trees.
Add separate defconfig for who needs to use device tree model.
Later this can be integrated to single defconfig.

Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
board/toradex/colibri_vf/MAINTAINERS
configs/colibri_vf_dtb_defconfig [new file with mode: 0644]

index 551c575..a1217a4 100644 (file)
@@ -4,3 +4,7 @@ S:      Maintained
 F:     board/toradex/colibri_vf/
 F:     include/configs/colibri_vf.h
 F:     configs/colibri_vf_defconfig
+F:     configs/colibri_vf_dtb_defconfig
+F:     arch/arm/dts/vf-colibri.dtsi
+F:     arch/arm/dts/vf500-colibri.dts
+F:     arch/arm/dts/vf610-colibri.dts
diff --git a/configs/colibri_vf_dtb_defconfig b/configs/colibri_vf_dtb_defconfig
new file mode 100644 (file)
index 0000000..d4c8c58
--- /dev/null
@@ -0,0 +1,8 @@
+CONFIG_ARM=y
+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
+CONFIG_OF_CONTROL=y
+CONFIG_DEFAULT_DEVICE_TREE="vf610-colibri"