diff mbox series

[U-Boot] Enable building of u-boot.itb on Rockchip RK3328 platforms.

Message ID 20191017190834.28378-1-vagrant@debian.org
State Changes Requested
Delegated to: Kever Yang
Headers show
Series [U-Boot] Enable building of u-boot.itb on Rockchip RK3328 platforms. | expand

Commit Message

Vagrant Cascadian Oct. 17, 2019, 7:08 p.m. UTC
The instructions in doc/README.rockchip for installing rock64-rk3328
make use of u-boot.itb, but it is not built by default.

Add u-boot.itb to BUILD_TARGET for RK3328 platforms.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
---

 Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kever Yang Oct. 18, 2019, 10:24 a.m. UTC | #1
Hi Vagrant,

On 2019/10/18 上午3:08, Vagrant Cascadian wrote:
> The instructions in doc/README.rockchip for installing rock64-rk3328
> make use of u-boot.itb, but it is not built by default.
>
> Add u-boot.itb to BUILD_TARGET for RK3328 platforms.
>
> Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
> ---
>
>   Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Kconfig b/Kconfig
> index 66b059f749..16491de83d 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -253,7 +253,7 @@ config BUILD_TARGET
>   	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 || RISCV)
> +				ARCH_SUNXI || RISCV || ROCKCHIP_RK3328)


It will be better to use ARCH_ROCKCHIP, because other SoC like RK3368 
may also need this.


Thanks,

- Kever

>   	default "u-boot.kwb" if KIRKWOOD
>   	default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
>   	default "u-boot-with-spl.imx" if ARCH_MX6 && SPL
diff mbox series

Patch

diff --git a/Kconfig b/Kconfig
index 66b059f749..16491de83d 100644
--- a/Kconfig
+++ b/Kconfig
@@ -253,7 +253,7 @@  config BUILD_TARGET
 	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 || RISCV)
+				ARCH_SUNXI || RISCV || ROCKCHIP_RK3328)
 	default "u-boot.kwb" if KIRKWOOD
 	default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
 	default "u-boot-with-spl.imx" if ARCH_MX6 && SPL