mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: start: print debugging info when CONFIG_DEBUG_INITCALLS
@ 2022-11-01  6:23 Ahmad Fatoum
  0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2022-11-01  6:23 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

Like we now do during PBL, have CONFIG_DEBUG_INITCALLS also activate
the early barebox start debug logging just prior to initcall execution.

This is useful when debugging early hands and will only be visible if
CONFIG_DEBUG_LL is enabled and configured appropriately.

Signed-off-by: Ahmad Fatoum <>
 arch/arm/cpu/start.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c
index f9b617aa855a..be303514c23d 100644
--- a/arch/arm/cpu/start.c
+++ b/arch/arm/cpu/start.c
@@ -3,6 +3,10 @@
 #define pr_fmt(fmt) "start.c: " fmt
+#define DEBUG
 #include <common.h>
 #include <init.h>
 #include <linux/sizes.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-01  6:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-01  6:23 [PATCH] ARM: start: print debugging info when CONFIG_DEBUG_INITCALLS Ahmad Fatoum

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