From 7c79537cffbf52ceecd3a46ed5d52211eeefcd1e Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Sun, 18 Mar 2012 23:04:50 +0100 Subject: 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 Acked-by: Arnout Vandecappelle (Essensium/Mind) Tested-by: Frank Hunleth Acked-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- boot/uboot/Config.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'boot/uboot/Config.in') diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index 99d5623a9..cb4064804 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -141,4 +141,22 @@ config BR2_TARGET_UBOOT_ETH1ADDR endif # BR2_TARGET_UBOOT_NETWORK +config BR2_TARGET_UBOOT_SPL + bool "U-Boot SPL support" + depends on !BR2_TARGET_XLOADER + help + Enable the U-Boot SPL support. SPL is a first stage + bootloader loaded into internal memory in charge of + enabling and configuring the external memory (DDR), + and load the u-boot program into DDR. + +config BR2_TARGET_UBOOT_SPL_NAME + string "U-Boot SPL target name" + default "u-boot-spl.bin" + depends on BR2_TARGET_UBOOT_SPL + help + This is 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. + endif # BR2_TARGET_UBOOT -- cgit v1.2.3