mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2] fixup! ARM: i.MX6: load optee in PBL before barebox proper
@ 2026-02-24 15:56 Ahmad Fatoum
  2026-02-25  7:45 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-02-24 15:56 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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@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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] fixup! ARM: i.MX6: load optee in PBL before barebox proper
  2026-02-24 15:56 [PATCH v2] fixup! ARM: i.MX6: load optee in PBL before barebox proper Ahmad Fatoum
@ 2026-02-25  7:45 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2026-02-25  7:45 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Tue, 24 Feb 2026 16:56:29 +0100, Ahmad Fatoum wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] fixup! ARM: i.MX6: load optee in PBL before barebox proper
      https://git.pengutronix.de/cgit/barebox/commit/?id=4cc4b98ff26b (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-25  7:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-24 15:56 [PATCH v2] fixup! ARM: i.MX6: load optee in PBL before barebox proper Ahmad Fatoum
2026-02-25  7:45 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox