From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] ARM: i.MX8M: don't print TF-A version
Date: Mon, 11 Sep 2023 12:12:19 +0200 [thread overview]
Message-ID: <20230911101219.2166001-1-a.fatoum@pengutronix.de> (raw)
In usual configurations, TF-A already prints its version on startup, so
printing it in barebox again is unnecessary and less informational than
the TF-A print and complicates running barebox without TF-A.
Thus just drop it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
arch/arm/mach-imx/imx8m.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/arch/arm/mach-imx/imx8m.c b/arch/arm/mach-imx/imx8m.c
index af44b089e08a..c7c799c64bc4 100644
--- a/arch/arm/mach-imx/imx8m.c
+++ b/arch/arm/mach-imx/imx8m.c
@@ -56,7 +56,6 @@ u64 imx8m_uid(void)
static int imx8m_init(const char *cputypestr)
{
void __iomem *src = IOMEM(MX8M_SRC_BASE_ADDR);
- struct arm_smccc_res res;
genpd_activate();
@@ -66,16 +65,6 @@ static int imx8m_init(const char *cputypestr)
imx_set_reset_reason(src + IMX7_SRC_SRSR, imx7_reset_reasons);
pr_info("%s unique ID: %llx\n", cputypestr, imx8m_uid());
- if (IS_ENABLED(CONFIG_ARM_SMCCC) &&
- IS_ENABLED(CONFIG_FIRMWARE_IMX8MQ_ATF)) {
- arm_smccc_smc(IMX_SIP_BUILDINFO,
- IMX_SIP_BUILDINFO_GET_COMMITHASH,
- 0, 0, 0, 0, 0, 0, &res);
-
- if (res.a0 > 0)
- pr_info("i.MX ARM Trusted Firmware: %s\n", (char *)&res.a0);
- }
-
if (IS_ENABLED(CONFIG_PBL_OPTEE) && tzc380_is_enabled() &&
!of_find_node_by_path_from(NULL, "/firmware/optee")) {
static struct of_optee_fixup_data optee_fixup_data = {
--
2.39.2
next reply other threads:[~2023-09-11 10:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-11 10:12 Ahmad Fatoum [this message]
2023-09-11 10:33 ` Marco Felsch
2023-09-12 9:25 ` Sascha Hauer
2023-09-18 15:38 ` Ahmad Fatoum
2023-09-26 11:39 ` Sascha Hauer
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=20230911101219.2166001-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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