From: Mathieu Othacehe <othacehe@gnu.org>
To: "Tom Rini" <trini@konsulko.com>, "Peng Fan" <peng.fan@nxp.com>,
"Shiji Yang" <yangshiji66@outlook.com>, "Ye Li" <ye.li@nxp.com>,
"Sébastien Szymanski" <sebastien.szymanski@armadeus.com>,
"Fabio Estevam" <festevam@gmail.com>,
"Simon Glass" <sjg@chromium.org>,
"Mathieu Othacehe" <m.othacehe@gmail.com>
Cc: u-boot@lists.denx.de, Mathieu Othacehe <othacehe@gnu.org>
Subject: [PATCH 1/2] board: imx93_var_som: Probe ELE MU
Date: Thu, 8 Feb 2024 10:45:17 +0100 [thread overview]
Message-ID: <20240208094518.391-2-othacehe@gnu.org> (raw)
In-Reply-To: <20240208094518.391-1-othacehe@gnu.org>
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(-)
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);
--
2.41.0
next prev parent reply other threads:[~2024-02-08 12:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-08 9:45 [PATCH 0/2] imx93_var_som: Enable AHAB support Mathieu Othacehe
2024-02-08 9:45 ` Mathieu Othacehe [this message]
2024-02-08 21:27 ` [PATCH 1/2] board: imx93_var_som: Probe ELE MU Fabio Estevam
2024-02-09 10:30 ` Mathieu Othacehe
2024-02-08 9:45 ` [PATCH 2/2] configs: imx93_var_som: Enable AHAB support Mathieu Othacehe
2024-02-08 21:20 ` [PATCH 0/2] " Fabio Estevam
2024-02-09 8:04 ` Mathieu Othacehe
2024-02-09 10:35 ` Fabio Estevam
2024-02-09 14:24 ` Mathieu Othacehe
2024-02-09 14:28 ` Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240208094518.391-2-othacehe@gnu.org \
--to=othacehe@gnu.org \
--cc=festevam@gmail.com \
--cc=m.othacehe@gmail.com \
--cc=peng.fan@nxp.com \
--cc=sebastien.szymanski@armadeus.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=yangshiji66@outlook.com \
--cc=ye.li@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox