From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH v2 2/2] startup.c: make DEBUG_LL output more useful
Date: Mon, 18 Jul 2011 17:06:10 +0400 [thread overview]
Message-ID: <1310994370-28444-2-git-send-email-antonynpavlov@gmail.com> (raw)
In-Reply-To: <1310994370-28444-1-git-send-email-antonynpavlov@gmail.com>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
common/startup.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/common/startup.c b/common/startup.c
index 00bc9a0..2e28cb2 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -134,13 +134,17 @@ void start_barebox (void)
for (initcall = __barebox_initcalls_start;
initcall < __barebox_initcalls_end; initcall++) {
+ PUTS_LL("<<");
PUTHEX_LL(*initcall);
- PUTC_LL('\n');
result = (*initcall)();
+ PUTC_LL('>');
if (result)
hang();
+ PUTS_LL(">\n");
}
+ PUTS_LL("initcalls done\n");
+
display_meminfo();
#ifdef CONFIG_ENV_HANDLING
--
1.7.5.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2011-07-18 13:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-18 13:06 [PATCH v2 1/2] debug_ll.h: add PUTS_LL() function Antony Pavlov
2011-07-18 13:06 ` Antony Pavlov [this message]
2011-07-18 13:26 ` Franck JULLIEN
2011-07-18 13:35 ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-18 13:59 ` Franck JULLIEN
2011-07-18 21:03 ` Sascha Hauer
2011-07-18 21:04 ` Sascha Hauer
2011-07-19 13:14 ` Franck JULLIEN
2011-07-20 6:51 ` Sascha Hauer
2011-07-20 7:14 ` Franck JULLIEN
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=1310994370-28444-2-git-send-email-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--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