]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: imx9: Correct imx9_probe_mu prototype
authorYe Li <ye.li@nxp.com>
Mon, 1 Apr 2024 01:41:08 +0000 (09:41 +0800)
committerFabio Estevam <festevam@gmail.com>
Fri, 5 Apr 2024 12:38:30 +0000 (09:38 -0300)
Since the event callback imx9_probe_mu is re-defined, update
its prototype.

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/include/asm/arch-imx9/mu.h
board/freescale/imx93_evk/spl.c
board/phytec/phycore_imx93/spl.c
board/variscite/imx93_var_som/spl.c

index b8604992914a868582e0ecc7b67e5f7b2c438eac..649b8a60df8f4f3e0c3551ae71a47f91be437603 100644 (file)
@@ -8,6 +8,6 @@
 
 #include <event.h>
 
-int imx9_probe_mu(void *ctx, struct event *event);
+int imx9_probe_mu(void);
 
 #endif
index 2fd5559195e1d3aa06fad6d489e39a5271d89446..7331a20f94c8c6f14dd036ca737fe97ccd864b38 100644 (file)
@@ -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 {
index 16303fc187a4d7b717d784a6365de31b7d520156..f03bfee9ffa89b7a64adff12cebe8328e3e802b7 100644 (file)
@@ -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 {
index 36e17219d63d23599c47baf57b842646b1c5d54a..71f346cf77bd779b54780b3af0bfb7660aec7fbb 100644 (file)
@@ -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 {