mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] common: deep-probe: write deep probe enabled message to log
@ 2022-12-22 14:35 Ahmad Fatoum
  2022-12-22 15:47 ` Marco Felsch
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ahmad Fatoum @ 2022-12-22 14:35 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

The "Deep probe supported due to" was not written to log and thus only
shown on startup and not in dmesg output. Make it available in both.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 common/deep-probe.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/common/deep-probe.c b/common/deep-probe.c
index 1020ad93b7f7..931e5a17709d 100644
--- a/common/deep-probe.c
+++ b/common/deep-probe.c
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
 
+#define pr_fmt(fmt) "deep-probe: " fmt
+
 #include <common.h>
 #include <deep-probe.h>
 #include <of.h>
@@ -27,7 +29,7 @@ bool deep_probe_is_supported(void)
 		for (; matches->compatible; matches++) {
 			if (of_machine_is_compatible(matches->compatible)) {
 				boardstate = DEEP_PROBE_SUPPORTED;
-				printk("Deep probe supported due to %s\n", matches->compatible);
+				pr_info("supported due to %s\n", matches->compatible);
 				return true;
 			}
 		}
-- 
2.30.2




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-01-04 12:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22 14:35 [PATCH] common: deep-probe: write deep probe enabled message to log Ahmad Fatoum
2022-12-22 15:47 ` Marco Felsch
2022-12-22 15:53   ` Ahmad Fatoum
2022-12-22 16:05     ` Marco Felsch
2022-12-22 17:04 ` Ulrich Ölmann
2022-12-22 17:32   ` Ahmad Fatoum
2023-01-04 12:16 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox