diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2011-07-18 17:06:10 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-07-18 23:04:18 +0200 |
commit | 7530c82c3d295c2e93f440dc2ee6440a72e41c3a (patch) | |
tree | 3b61fd3e273ae8bcfd6da6c9513418685070b2b9 /common | |
parent | 0051f97069141518e1222c77d0c560b12077e492 (diff) | |
download | barebox-7530c82c3d295c2e93f440dc2ee6440a72e41c3a.tar.gz barebox-7530c82c3d295c2e93f440dc2ee6440a72e41c3a.tar.xz |
startup.c: make DEBUG_LL output more useful
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/startup.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/startup.c b/common/startup.c index 00bc9a0038..2e28cb2264 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 |