]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: imx93_var_som: Probe ELE MU
authorMathieu Othacehe <othacehe@gnu.org>
Fri, 9 Feb 2024 10:30:08 +0000 (11:30 +0100)
committerFabio Estevam <festevam@denx.de>
Sat, 10 Feb 2024 18:16:13 +0000 (15:16 -0300)
Probing the MU is needed to prevent this error in the SPL:

ele dev is not initialized
Authenticate container hdr failed, return -19, resp 0x0
IND = INVALID

ele dev is not initialized
Error: release container failed, resp 0x0!
IND = INVALID

SPL: failed to boot from all boot devices

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
board/variscite/imx93_var_som/spl.c

index 502e599b91aa9d3943cc764c949e8d292d4e21b9..e6db4eb562b92eb8d5c20220691b2258f172f406 100644 (file)
@@ -13,6 +13,7 @@
 #include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/imx93_pins.h>
+#include <asm/arch/mu.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/mach-imx/boot_mode.h>
@@ -114,9 +115,9 @@ void board_init_f(ulong dummy)
 
        preloader_console_init();
 
-       ret = arch_cpu_init();
+       ret = imx9_probe_mu(NULL, NULL);
        if (ret) {
-               printf("Fail to init Sentinel API\n");
+               printf("Fail to init ELE API\n");
        } else {
                printf("SOC: 0x%x\n", gd->arch.soc_rev);
                printf("LC: 0x%x\n", gd->arch.lifecycle);