summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorLukas Auer <lukas.auer@aisec.fraunhofer.de>2019-08-21 21:14:48 +0200
committerAndes <uboot@andestech.com>2019-08-26 16:07:42 +0800
commit109f82bea906478807d831978dc680d3ef992f17 (patch)
tree7363cec42be481474ab178e9bf91d81910062209 /Kconfig
parent89fe196c996f1974640841cd7a3d905e5030ffcc (diff)
downloadu-boot-109f82bea906478807d831978dc680d3ef992f17.tar.gz
u-boot-109f82bea906478807d831978dc680d3ef992f17.tar.bz2
u-boot-109f82bea906478807d831978dc680d3ef992f17.zip
riscv: set default FIT generator script and build target for SPL builds
Now that we have a generic FIT generator script for RISC-V, set it as the default. To also build the FIT image by default, set the default build target to "u-boot.itb" if CONFIG_SPL_LOAD_FIT is enabled. Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/Kconfig b/Kconfig
index d8e1aa4eed..1f0904f704 100644
--- a/Kconfig
+++ b/Kconfig
@@ -252,7 +252,8 @@ config BUILD_TARGET
default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_GEN5
default "u-boot-spl.kwb" if ARCH_MVEBU && SPL
default "u-boot-elf.srec" if RCAR_GEN3
- default "u-boot.itb" if SPL_LOAD_FIT && (ROCKCHIP_RK3399 || ARCH_SUNXI)
+ default "u-boot.itb" if SPL_LOAD_FIT && (ROCKCHIP_RK3399 || \
+ ARCH_SUNXI || RISCV)
default "u-boot.kwb" if KIRKWOOD
default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
help
@@ -465,6 +466,7 @@ config SPL_FIT_GENERATOR
depends on SPL_FIT
default "board/sunxi/mksunxi_fit_atf.sh" if SPL_LOAD_FIT && ARCH_SUNXI
default "arch/arm/mach-rockchip/make_fit_atf.py" if SPL_LOAD_FIT && ARCH_ROCKCHIP
+ default "arch/riscv/lib/mkimage_fit_opensbi.sh" if SPL_LOAD_FIT && RISCV
help
Specifies a (platform specific) script file to generate the FIT
source file used to build the U-Boot FIT image file. This gets