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: rcz@pengutronix.de, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] fixup! i.MX: HABv4: extend support to i.MX8M SoCs
Date: Wed, 26 Jul 2023 08:31:59 +0200	[thread overview]
Message-ID: <20230726063159.1666436-1-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20230705144219.504194-3-r.czerwinski@pengutronix.de>

CONFIG_HABV4 selects CONFIG_HAB and that file still has one imx8mq only
check that should be loosened to an imx8m check when extending the
symbol for these SoCs.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 drivers/hab/hab.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hab/hab.c b/drivers/hab/hab.c
index fad367f43dfb..c5d44ec921b0 100644
--- a/drivers/hab/hab.c
+++ b/drivers/hab/hab.c
@@ -208,7 +208,7 @@ static struct imx_hab_ops *imx_get_hab_ops(void)
 
 	if (IS_ENABLED(CONFIG_HABV3) && (cpu_is_mx25() || cpu_is_mx35()))
 		tmp = &imx_hab_ops_iim;
-	else if (IS_ENABLED(CONFIG_HABV4) && (cpu_is_mx6() || cpu_is_mx8mq()))
+	else if (IS_ENABLED(CONFIG_HABV4) && (cpu_is_mx6() || cpu_is_mx8m()))
 		tmp = &imx_hab_ops_ocotp;
 	else
 		return NULL;
-- 
2.39.2




  reply	other threads:[~2023-07-26  6:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-05 14:42 [PATCH 1/6] kbuild: clean start*_*.{p,ps}imximg files Rouven Czerwinski
2023-07-05 14:42 ` [PATCH 2/6] i.MX: HABv4: fix event status comparison Rouven Czerwinski
2023-07-05 14:42 ` [PATCH 3/6] i.MX: HABv4: extend support to i.MX8M SoCs Rouven Czerwinski
2023-07-26  6:31   ` Ahmad Fatoum [this message]
2023-07-26  7:51     ` [PATCH] fixup! " Marco Felsch
2023-07-05 14:42 ` [PATCH 4/6] ARM: i.MX: allow HAB for i.MX8M family Rouven Czerwinski
2023-07-05 14:42 ` [PATCH 5/6] ARM: i.MX: introduce build_imx8m_habv4img Rouven Czerwinski
2023-07-05 14:42 ` [PATCH 6/6] ARM: i.MX: convert i.MX8MP/MM EVK to helper Rouven Czerwinski
2023-07-05 14:50 ` [PATCH 1/6] kbuild: clean start*_*.{p,ps}imximg files Ahmad Fatoum
2023-07-05 15:10 ` Rouven Czerwinski

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=20230726063159.1666436-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=rcz@pengutronix.de \
    /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