From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anup Patel Date: Mon, 29 Jul 2019 14:10:18 +0530 Subject: [U-Boot] [PATCH v2 09/11] riscv: set default FIT generator script and build target for SPL builds In-Reply-To: <20190728155723.3412-10-lukas.auer@aisec.fraunhofer.de> References: <20190728155723.3412-1-lukas.auer@aisec.fraunhofer.de> <20190728155723.3412-10-lukas.auer@aisec.fraunhofer.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Jul 28, 2019 at 9:30 PM Lukas Auer wrote: > > 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 > Reviewed-by: Bin Meng > Tested-by: Bin Meng > --- > > Changes in v2: None > > Kconfig | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Kconfig b/Kconfig > index d2eb744e70..a78dd59a79 100644 > --- a/Kconfig > +++ b/Kconfig > @@ -250,7 +250,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 > @@ -463,6 +464,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 > -- > 2.21.0 > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot Reviewed-by: Anup Patel Regards, Anup