Makefile: Add u-boot.spr build target (SPEAr)
authorStefan Roese <sr@denx.de>
Thu, 5 Jan 2012 10:19:50 +0000 (11:19 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:43 +0000 (14:07 +0200)
commit94aebe6cc3111c7c9e3cd1311cc9793d01cc3ded
tree379437fc3de1086ea11f61414c448dc48e2b7e55
parentd014e033889f10d40d009cc7bad00893293b640e
Makefile: Add u-boot.spr build target (SPEAr)

On x600 (SPEAr600) U-Boot is appended to U-Boot SPL. Both images are
created using mkimage (crc etc), so that the ROM bootloader can check
its integrity. Padding needs to be done to the SPL image (with
mkimage header) and not the binary. Otherwise the resulting image
which is loaded/copied by the ROM bootloader to SRAM doesn't fit.
The resulting image containing both U-Boot images is called u-boot.spr.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Amit Virdi <amit.virdi@st.com>
Cc: Vipin Kumar <vipin.kumar@st.com>
Makefile
config.mk