Skip to contentSkip to conversation

arm: imx9: Correct imx9_probe_mu prototype

PATCH Superseded Ye Li 2 participants 2 messages Apr 1, 2024

Subsystems (2)
lore
Share & tools
lore

Ye Li

author
#0 lore raw

PATCH v2 1/1 arm: imx9: Correct imx9_probe_mu prototype

Since the event callback imx9_probe_mu is re-defined, update its prototype.

---
Changes in v2:
Fix imx93_var_som and phycore_imx93 as well

 arch/arm/include/asm/arch-imx9/mu.h | 2 +-
 board/freescale/imx93_evk/spl.c     | 2 +-
 board/phytec/phycore_imx93/spl.c    | 2 +-
 board/variscite/imx93_var_som/spl.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm/include/asm/arch-imx9/mu.h +1 -1
index b860499..649b8a6 100644
@@ -8,6 +8,6 @@
 
 #include <event.h>
 
-int imx9_probe_mu(void *ctx, struct event *event);
+int imx9_probe_mu(void);
 
 #endif
board/freescale/imx93_evk/spl.c +1 -1
index 2fd5559..7331a20 100644
@@ -116,7 +116,7 @@ void board_init_f(ulong dummy)
 
 	preloader_console_init();
 
-	ret = imx9_probe_mu(NULL, NULL);
+	ret = imx9_probe_mu();
 	if (ret) {
 		printf("Fail to init Sentinel API\n");
 	} else {
board/phytec/phycore_imx93/spl.c +1 -1
index 16303fc..f03bfee 100644
@@ -122,7 +122,7 @@ void board_init_f(ulong dummy)
 
 	preloader_console_init();
 
-	ret = imx9_probe_mu(NULL, NULL);
+	ret = imx9_probe_mu();
 	if (ret) {
 		printf("Fail to init ELE API\n");
 	} else {
board/variscite/imx93_var_som/spl.c +1 -1
index 36e1721..71f346c 100644
@@ -121,7 +121,7 @@ void board_init_f(ulong dummy)
 
 	preloader_console_init();
 
-	ret = imx9_probe_mu(NULL, NULL);
+	ret = imx9_probe_mu();
 	if (ret) {
 		printf("Fail to init ELE API\n");
 	} else {
Signature · 1 line
2.7.4
reviewer
#1 lore raw

Hi Ye Li,

Quoted 8 lines · Ye Li

Since the event callback imx9_probe_mu is re-defined, update its prototype.

---
Changes in v2:
Fix imx93_var_som and phycore_imx93 as well

Thanks for the fix, but please submit it as part of a series along with [PATCH 2/2] arm: imx9: Call imx9_probe_mu for DM post in board_r that you have sent previously.