diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 9 | ||||
-rw-r--r-- | common/deep-probe.c | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig index e2b810c39c..9e175d36c4 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1571,6 +1571,15 @@ config DEBUG_INITCALLS help If enabled this will print initcall traces. +config DEBUG_PBL + bool "Print PBL debugging information" + depends on PBL_CONSOLE || DEBUG_LL + help + If enabled this will enable all debug prints in the prebootloader. + For this to work, a console needs to be configured in the + board-specific entry point and configured for either DEBUG_LL + or PBL_CONSOLE. + config DEBUG_PROBES bool "Trace driver probes/removes" help diff --git a/common/deep-probe.c b/common/deep-probe.c index 1020ad93b7..931e5a1770 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; } } |