[PATCH] fixup! habv4: use hab rom implementation of report_event

Marco Felsch m.felsch at pengutronix.de
Tue Jan 16 08:16:18 PST 2024


---
 drivers/hab/habv4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hab/habv4.c b/drivers/hab/habv4.c
index 4e401ca9d362..87c96812c43e 100644
--- a/drivers/hab/habv4.c
+++ b/drivers/hab/habv4.c
@@ -318,7 +318,7 @@ static enum hab_status imx8m_report_event(enum hab_status status,
 					  uint32_t index, uint8_t *event,
 					  size_t *bytes)
 {
-	if (cpu_is_mx8mm() || cpu_is_mx8mn() || cpu_is_imx8mp())
+	if (cpu_is_mx8mm() || cpu_is_mx8mn() || cpu_is_mx8mp())
 		return hab_sip_report_event(status, index, event, bytes);
 	else
 		return imx8m_read_sram_events(status, index, event, bytes);
-- 
2.39.2




More information about the barebox mailing list