From d7407b119c2ee85e7d09a9a2766da3a54847f63e Mon Sep 17 00:00:00 2001 From: Hisping Lin Date: Mon, 26 Feb 2018 08:51:18 +0800 Subject: [PATCH] lib: optee_client: move CONFIG_OPTEE_V1/V2 define move CONFIG_OPTEE_V1/V2 to lib/optee_clientApi/Kconfig Change-Id: I446454547a186a27110aa95183264154fc538de9 Signed-off-by: Hisping Lin --- arch/arm/mach-rockchip/rk322x/Kconfig | 8 -------- lib/optee_clientApi/Kconfig | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-rockchip/rk322x/Kconfig b/arch/arm/mach-rockchip/rk322x/Kconfig index 2e7b0a6726..eebe63131d 100644 --- a/arch/arm/mach-rockchip/rk322x/Kconfig +++ b/arch/arm/mach-rockchip/rk322x/Kconfig @@ -20,14 +20,6 @@ config SYS_MALLOC_F_LEN config SPL_SERIAL_SUPPORT default y -config OPTEE_V1 - bool "Support OPTEE version 1.0" - help - U-boot can communicate with trust if - the config is enable. This function can - be use in android bootloader a/b and avb - step. - source "board/rockchip/evb_rk3229/Kconfig" source "board/rockchip/gva_rk3229/Kconfig" diff --git a/lib/optee_clientApi/Kconfig b/lib/optee_clientApi/Kconfig index 1b86310a6e..8689af11cb 100644 --- a/lib/optee_clientApi/Kconfig +++ b/lib/optee_clientApi/Kconfig @@ -5,3 +5,20 @@ config OPTEE_CLIENT the config is enable. This function can be use in android bootloader a/b and avb step. + +config OPTEE_V1 + bool "Support OPTEE version 1.0" + help + U-boot can communicate with trust if + the config is enable. This function can + be use in android bootloader a/b and avb + step. + +config OPTEE_V2 + bool "Support OPTEE version 2.0" + help + U-boot can communicate with trust if + the config is enable. This function can + be use in android bootloader a/b and avb + step. +