]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tools: arm: imx: Implement BOOT_OFFSET command for imximage
authorMarek Vasut <marex@denx.de>
Thu, 25 Apr 2013 10:16:02 +0000 (10:16 +0000)
committerStefano Babic <sbabic@denx.de>
Sun, 28 Apr 2013 09:18:03 +0000 (11:18 +0200)
commit6cb83829a013ed2631cba5d5c9bf42eaf2380131
treea8b92da2b504a72c7ac7a528602337a831a038e2
parent7e2173cf82d0bc235b695460c56d46927febdf36
tools: arm: imx: Implement BOOT_OFFSET command for imximage

Implement BOOT_OFFSET command for imximage. This command is parallel
to current BOOT_FROM command, but allows more flexibility in configuring
arbitrary image header offset. Also add an imximage.cfg with default
offset values into arm/arch/imx-common/ so the board-specific imximage.cfg
can include this file to avoid magic constants.

The syntax of BOOT_OFFSET command is "BOOT_OFFSET <u32 offset>".

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@ti.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
arch/arm/include/asm/imx-common/imximage.cfg [new file with mode: 0644]
doc/README.imximage
tools/imximage.c
tools/imximage.h