Message ID | 20240208094518.391-2-othacehe@gnu.org |
---|---|
State | Changes Requested |
Delegated to: | Fabio Estevam |
Headers | show |
Series | imx93_var_som: Enable AHAB support | expand |
On Thu, Feb 8, 2024 at 6:45 AM Mathieu Othacehe <othacehe@gnu.org> wrote: > diff --git a/board/variscite/imx93_var_som/spl.c b/board/variscite/imx93_var_som/spl.c > index 502e599b91a..0965a2de996 100644 > --- a/board/variscite/imx93_var_som/spl.c > +++ b/board/variscite/imx93_var_som/spl.c > @@ -97,6 +97,7 @@ int power_init_board(void) > return 0; > } > > +extern int imx9_probe_mu(void *ctx, struct event *event); Please put this prototype into a header file. Currently, it appears in 3 imx93 spl.c files.
Hello, > Please put this prototype into a header file. > > Currently, it appears in 3 imx93 spl.c files. Fixed in the v2 :) Thanks, Mathieu
diff --git a/board/variscite/imx93_var_som/spl.c b/board/variscite/imx93_var_som/spl.c index 502e599b91a..0965a2de996 100644 --- a/board/variscite/imx93_var_som/spl.c +++ b/board/variscite/imx93_var_som/spl.c @@ -97,6 +97,7 @@ int power_init_board(void) return 0; } +extern int imx9_probe_mu(void *ctx, struct event *event); void board_init_f(ulong dummy) { int ret; @@ -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);
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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)