mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <>
Subject: [PATCH] ARM: i.MX: demote reset reason print to debug level
Date: Thu, 22 Apr 2021 13:08:49 +0200	[thread overview]
Message-ID: <> (raw)

The i.MX reset reason is not really helpful on its own, as it needs
to be augmented with other information like the watchdog state to get
the real system reset reason. As it stands this log is more confusing
than answering any questions a user might have.

Demote the log to debug level to stop this confusion.

Signed-off-by: Lucas Stach <>
 arch/arm/mach-imx/imx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-imx/imx.c b/arch/arm/mach-imx/imx.c
index 3d8c55c54ecd..bd7e9ac42320 100644
--- a/arch/arm/mach-imx/imx.c
+++ b/arch/arm/mach-imx/imx.c
@@ -209,6 +209,6 @@ void imx_set_reset_reason(void __iomem *srsr,
 	reset_source_set_prinst(type, RESET_SOURCE_DEFAULT_PRIORITY, instance);
-	pr_info("i.MX reset reason %s (SRSR: 0x%08x)\n",
-		reset_source_to_string(type), reg);
+	pr_debug("i.MX reset reason %s (SRSR: 0x%08x)\n",
+		 reset_source_to_string(type), reg);

barebox mailing list

             reply	other threads:[~2021-04-22 11:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22 11:08 Lucas Stach [this message]
2021-04-22 21:43 ` Marco Felsch
2021-05-03 11:18 ` 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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