rockchip: Enable BINMAN for boards enable SPL_OPTEE
authorKever Yang <kever.yang@rock-chips.com>
Tue, 10 Nov 2020 03:43:32 +0000 (11:43 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 13 Nov 2020 10:17:09 +0000 (18:17 +0800)
Rockchip has many 32bit SoCs and some of them are support SPL_OPTEE now,
only boards with SPL_OPTEE support can fit BINMAN well, other boards
will fail at initr_binman() in U-Boot proper after below patch,
eg. rv1108 board.
    83187546ae binman: Support multiple images in the library

Fixes: 79030a4861 ("rockchip: Add Single boot image (with binman, pad_cat)")
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/Kconfig

index b2f7fcb..5903c09 100644 (file)
@@ -1721,7 +1721,7 @@ config ARCH_STM32MP
 config ARCH_ROCKCHIP
        bool "Support Rockchip SoCs"
        select BLK
-       select BINMAN if !ARM64
+       select BINMAN if SPL_OPTEE
        select DM
        select DM_GPIO
        select DM_I2C