diff options
author | Nicolas Dechesne <n-dechesne@ti.com> | 2012-03-18 23:04:50 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-05-05 23:48:01 +0200 |
commit | 7c79537cffbf52ceecd3a46ed5d52211eeefcd1e (patch) | |
tree | 59a5e99fe1fbecb4748f4cba1e048f240049e2e3 /boot/uboot/uboot.mk | |
parent | 7446d9471ceef1a1bf81cf5882cdab3d12237c71 (diff) |
uboot: Add support for U-Boot SPL
SPL is a first stage bootloader. On pandaboard it supercedes x-loader,
and should now be used.
This patch ensures that either SPL or xloader can be selected.
A config variable has been added for the name of the SPL binary generated
during u-boot build. For most platform it is u-boot-spl.bin but not always.
It is MLO on OMAP for example.
Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'boot/uboot/uboot.mk')
-rw-r--r-- | boot/uboot/uboot.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index db9de8d3c..f64964c00 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -88,6 +88,8 @@ endef define UBOOT_INSTALL_IMAGES_CMDS cp -dpf $(@D)/$(UBOOT_BIN) $(BINARIES_DIR)/ + $(if $(BR2_TARGET_UBOOT_SPL), + cp -dpf $(@D)/$(BR2_TARGET_UBOOT_SPL_NAME) $(BINARIES_DIR)/) endef $(eval $(call GENTARGETS)) |