[PATCH] fixup! i.MX: HABv4: extend support to i.MX8M SoCs

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Jul 25 23:31:59 PDT 2023


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




More information about the barebox mailing list