summaryrefslogtreecommitdiff
path: root/lib_ppc/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_ppc/bootm.c')
-rw-r--r--lib_ppc/bootm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c
index e03d763907..be9a9f4ec6 100644
--- a/lib_ppc/bootm.c
+++ b/lib_ppc/bootm.c
@@ -46,6 +46,10 @@
#endif
DECLARE_GLOBAL_DATA_PTR;
+#define BOOTM_DEBUG_INFO() do{ \
+ unsigned int *buf=0; \
+ printf("%s line:%d %08x %08x %08x %08x \n",__func__,__LINE__,*buf++,*buf++,*buf++,*buf++);\
+ }while(0)
extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
extern ulong get_effective_memsize(void);
@@ -94,6 +98,7 @@ static void boot_jump_linux(bootm_headers_t *images)
#endif
debug (" Booting using OF flat tree...\n");
+ BOOTM_DEBUG_INFO();
(*kernel) ((bd_t *)of_flat_tree, 0, 0, EPAPR_MAGIC,
CONFIG_SYS_BOOTMAPSZ, 0, 0);
/* does not return */