]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: RK322x: Select SPL_OPTEE_IMAGE
authorAlex Bee <knaerzche@gmail.com>
Tue, 18 Jul 2023 14:57:13 +0000 (16:57 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 28 Jul 2023 10:45:03 +0000 (18:45 +0800)
For RK322x series ARM SoCs the OP-TEE is non-optional, as besides the TEE
it also provides the PSCI implementation, which is expected to be available
by upstream linux.

Select CONFIG_SPL_OPTEE_IMAGE if an FIT image is built.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/Kconfig

index edc413d12a0d7ab8770216853e9d790a57845a32..07b5595dac8c350b1adf4016ab3e3f767b3a489f 100644 (file)
@@ -106,6 +106,7 @@ config ROCKCHIP_RK322X
        imply ROCKCHIP_COMMON_BOARD
        imply SPL_SERIAL
        imply SPL_ROCKCHIP_COMMON_BOARD
+       select SPL_OPTEE_IMAGE if SPL_FIT
        imply TPL_SERIAL
        imply TPL_ROCKCHIP_COMMON_BOARD
        select TPL_LIBCOMMON_SUPPORT