[PATCH v2] fixup! ARM: i.MX6: load optee in PBL before barebox proper
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Feb 24 07:56:29 PST 2026
firmware: hide FIRMWARE_IMX6_OPTEE for non-ARCH_IMX6
PBL_OPTEE can be enabled on a number of platforms, so tighten the
dependencies to hide the symbol when it's not relevant.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
v1 -> v2:
- fix syntax error..
---
firmware/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/firmware/Kconfig b/firmware/Kconfig
index 81ad6b705ba9..b9b4556dbda7 100644
--- a/firmware/Kconfig
+++ b/firmware/Kconfig
@@ -51,7 +51,7 @@ config FIRMWARE_AGILEX5_ATF
config FIRMWARE_IMX6_OPTEE
bool "install OP-TEE on i.MX6 boards"
- depends on PBL_OPTEE
+ depends on ARCH_IMX6 && PBL_OPTEE
help
This enables OP-TEE loading and starting on i.MX6. Place the OP-TEE binary
in CONFIG_EXTRA_FIRMWARE_DIR/imx6-optee.bin. If this is enabled, then
--
2.47.3
More information about the barebox
mailing list