[PATCH master] security: hide PBL_OPTEE_DTB_MAX_SIZE behind PBL_OPTEE

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Mar 11 05:01:34 PDT 2026


There's no point in bothering users about this option if OP-TEE loading
from PBL isn't even enabled.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 security/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/security/Kconfig b/security/Kconfig
index c90f2bbacf26..b14803348b68 100644
--- a/security/Kconfig
+++ b/security/Kconfig
@@ -191,6 +191,7 @@ config PBL_OPTEE_DTB_MAX_SIZE
 	hex
 	default 0x0
 	prompt "OP-TEE FDT Size"
+	depends on PBL_OPTEE
 	help
 	  The size of the DTB which is passed by the PBL to OP-TEE. This option
 	  can be left unchanged if OP-TEE DTB support isn't required. If OP-TEE
-- 
2.47.3




More information about the barebox mailing list