diff options
author | Johan Gunnarsson <johan.gunnarsson@gmail.com> | 2021-07-25 16:25:58 +0200 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2021-08-12 09:34:07 +0800 |
commit | 475bb949ed191bc00e08781a56a4a1e83fd76242 (patch) | |
tree | 93c7757e44e880cf4bb4275bd3a0939abb8654c0 /arch/arm/Kconfig | |
parent | 100583473cac1d6dd5c5900f34201db038f9e8dc (diff) | |
download | u-boot-475bb949ed191bc00e08781a56a4a1e83fd76242.zip u-boot-475bb949ed191bc00e08781a56a4a1e83fd76242.tar.gz u-boot-475bb949ed191bc00e08781a56a4a1e83fd76242.tar.bz2 |
rockchip: Fix u-boot-rockchip.bin build
Currently there are a few arm32 rockchip board configs that don't
generate u-boot-rockchip.bin when running make because CONFIG_BINMAN
is not enabled. This patch changes CONFIG_ARCH_ROCKCHIP to also select
CONFIG_BINMAN if CONFIG_SPL and !CONFIG_ARM64.
Example builds that don't generate u-boot-rockchip.bin without this
patch:
export ARCH=arm
export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
make kylin-rk3036_defconfig
make
export ARCH=arm
export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
make rock_defconfig
make
export ARCH=arm
export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
make tinker-rk3288_defconfig
make
Signed-off-by: Johan Gunnarsson <johan.gunnarsson@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e935c60b..d692139 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1801,7 +1801,7 @@ config ARCH_STM32MP config ARCH_ROCKCHIP bool "Support Rockchip SoCs" select BLK - select BINMAN if SPL_OPTEE + select BINMAN if SPL_OPTEE || (SPL && !ARM64) select DM select DM_GPIO select DM_I2C |