summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAlbert ARIBAUD \(3ADEV\) <albert.aribaud@3adev.fr>2016-09-26 09:08:06 +0200
committerStefano Babic <sbabic@denx.de>2016-10-06 09:06:16 +0200
commited0c2c0a9ead7d1b5739fc83cf99ac85a16cb979 (patch)
tree9437126325051f9ad0fd04eddbbc48c12f9b5afa /arch
parent303a24435f3e4b39a6b526ca2a32cd0452713153 (diff)
downloadu-boot-imx-ed0c2c0a9ead7d1b5739fc83cf99ac85a16cb979.zip
u-boot-imx-ed0c2c0a9ead7d1b5739fc83cf99ac85a16cb979.tar.gz
u-boot-imx-ed0c2c0a9ead7d1b5739fc83cf99ac85a16cb979.tar.bz2
tools: mkimage: add support for Vybrid image format
This format can be flashed directly at address 0 of the NAND FLASH, as it contains all necessary headers. Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/config.mk3
-rw-r--r--arch/arm/cpu/armv7/vf610/Makefile5
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index 8f85862..542b897 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -144,4 +144,7 @@ else
ALL-y += u-boot.imx
endif
endif
+ifneq ($(CONFIG_VF610),)
+ALL-y += u-boot.vyb
+endif
endif
diff --git a/arch/arm/cpu/armv7/vf610/Makefile b/arch/arm/cpu/armv7/vf610/Makefile
index 68cb756..2945377 100644
--- a/arch/arm/cpu/armv7/vf610/Makefile
+++ b/arch/arm/cpu/armv7/vf610/Makefile
@@ -6,3 +6,8 @@
obj-y += generic.o
obj-y += timer.o
+
+MKIMAGEFLAGS_u-boot.vyb = -T vybridimage
+
+u-boot.vyb: u-boot.imx
+ $(call if_changed,mkimage)