mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH v2] fixup! ARM: i.MX6: load optee in PBL before barebox proper
Date: Tue, 24 Feb 2026 16:56:29 +0100	[thread overview]
Message-ID: <20260224155643.1835640-1-a.fatoum@pengutronix.de> (raw)

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




             reply	other threads:[~2026-02-24 15:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-24 15:56 Ahmad Fatoum [this message]
2026-02-25  7:45 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260224155643.1835640-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox