summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-01-20 11:04:26 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-01-20 11:04:26 +0100
commit26f8b90f48e18c652423522223429d236b897725 (patch)
treeca3fed8e6a7ca59511050e12432be18a83d94d09 /common
parent55c485ec4ad2feaf01c7807b134095b5bd6621fe (diff)
parent27c354d49c98ad6abfc4b4c52ba7afee2a9774a6 (diff)
downloadbarebox-26f8b90f48e18c652423522223429d236b897725.tar.gz
barebox-26f8b90f48e18c652423522223429d236b897725.tar.xz
Merge branch 'for-next/caam'
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 19cd793110..e2b810c39c 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1119,11 +1119,14 @@ config EXTERNAL_DTS_FRAGMENTS
menu "OP-TEE loading"
+config HAVE_OPTEE
+ bool
+
config OPTEE_SIZE
hex
default 0x02000000
prompt "OP-TEE Memory Size"
- depends on BOOTM_OPTEE || PBL_OPTEE
+ depends on HAVE_OPTEE
help
Size to reserve in main memory for OP-TEE.
Can be smaller than the actual size used by OP-TEE, this is used to prevent
@@ -1133,6 +1136,7 @@ config BOOTM_OPTEE
bool
prompt "support booting OP-TEE"
depends on BOOTM && ARM
+ select HAVE_OPTEE
help
OP-TEE is a trusted execution environment (TEE). With this option
enabled barebox supports starting optee_os as part of the bootm command.
@@ -1144,6 +1148,7 @@ config PBL_OPTEE
bool "Enable OP-TEE early start"
depends on ARM
depends on !THUMB2_BAREBOX
+ select HAVE_OPTEE
help
Allows starting OP-TEE during lowlevel initialization of the PBL.
Requires explicit support in the board's lowlevel file.