From: Ahmad Fatoum <a.fatoum@barebox.org>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@barebox.org>
Subject: [PATCH 1/5] common: deep-probe: inform only about lack of deep-probe support
Date: Wed, 28 May 2025 15:14:07 +0200 [thread overview]
Message-ID: <20250528131411.935668-1-a.fatoum@barebox.org> (raw)
Instead of printing an info message when deep-probe is enabled, print a
message when it is disabled.
Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
common/deep-probe.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/common/deep-probe.c b/common/deep-probe.c
index 69beaf2d8066..ab1da87b626b 100644
--- a/common/deep-probe.c
+++ b/common/deep-probe.c
@@ -2,6 +2,10 @@
#define pr_fmt(fmt) "deep-probe: " fmt
+#if defined(CONFIG_DEBUG_INITCALLS) || defined(CONFIG_DEBUG_PROBES)
+#define DEBUG
+#endif
+
#include <common.h>
#include <deep-probe.h>
#include <of.h>
@@ -29,13 +33,14 @@ bool deep_probe_is_supported(void)
for (; matches->compatible; matches++) {
if (of_machine_is_compatible(matches->compatible)) {
boardstate = DEEP_PROBE_SUPPORTED;
- pr_info("supported due to %s\n", matches->compatible);
+ pr_debug("supported due to %s\n", matches->compatible);
return true;
}
}
}
boardstate = DEEP_PROBE_NOT_SUPPORTED;
+ pr_info("not activated\n");
return false;
}
EXPORT_SYMBOL_GPL(deep_probe_is_supported);
--
2.39.5
next reply other threads:[~2025-05-28 13:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-28 13:14 Ahmad Fatoum [this message]
2025-05-28 13:14 ` [PATCH 2/5] common: deep-probe: support specifying support in DT Ahmad Fatoum
2025-05-28 15:24 ` Marco Felsch
2025-05-28 15:40 ` Ahmad Fatoum
2025-05-28 15:46 ` Marco Felsch
2025-05-28 13:14 ` [PATCH 3/5] treewide: dts: describe deep probe support in device tree Ahmad Fatoum
2025-05-28 15:26 ` Marco Felsch
2025-05-28 13:14 ` [PATCH 4/5] ARM: configs: enable deep probe for the most popular configs Ahmad Fatoum
2025-05-28 15:26 ` Marco Felsch
2025-05-28 13:14 ` [PATCH 5/5] Documentation: migration-2025.07.0: document CONFIG_DEEP_PROBE_DEFAULT Ahmad Fatoum
2025-05-28 15:28 ` Marco Felsch
2025-05-28 14:59 ` [PATCH 1/5] common: deep-probe: inform only about lack of deep-probe support Marco Felsch
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=20250528131411.935668-1-a.fatoum@barebox.org \
--to=a.fatoum@barebox.org \
--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