uboot: install multiple spl images
authorJason Abele <jason@nextthing.co>
Tue, 5 Jul 2016 11:17:25 +0000 (13:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 5 Jul 2016 15:30:12 +0000 (17:30 +0200)
commitb05ff12b6cd38566003b99291a47a56cbd88f396
tree672c7627373664d8924ac297e62c3239d3bf584e
parent739e64e6ea98db2c6a05c04a631c75745f225895
uboot: install multiple spl images

For some platforms, there are multiple generated spl images.  Extend
BR2_TARGET_UBOOT_SPL_NAME to allow these multiple images to be installed
after uboot build completes.

For example, the NextThingCo C.H.I.P. uses two binaries from uboot,
spl/sunxi-spl.bin and spl/sunxi-spl-with-ecc.bin.

Signed-off-by: Jason Abele <jason@nextthing.co>
[Maxime:
 - Add foreach loop for general case and mkpimage
 - Use firstword for zynq case]
Signe-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/uboot/Config.in
boot/uboot/uboot.mk