arm: imx: Pack u-boot.bin into uImage for SPL
authorMarek Vasut <marex@denx.de>
Sun, 21 Apr 2013 05:52:24 +0000 (05:52 +0000)
committerStefano Babic <sbabic@denx.de>
Sun, 5 May 2013 15:45:05 +0000 (17:45 +0200)
commitae3509dc32979b6b64c3ab59183a890d1038320d
treedc7057bbcdeaacd0642f23000546bcfbd9baadf6
parent5c651e86ca6d88ae8016578f01fb4daf6d8d4fbc
arm: imx: Pack u-boot.bin into uImage for SPL

The U-Boot SPL can parse the uImage format and gather information from
it about the payload. Make use of this and wrap u-boot.bin into uImage
format. The benefit is the SPL will know the size of the payload
instead of using fixed size of the payload defined at compile time.

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>
arch/arm/imx-common/Makefile