summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib_blackfin/board.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c
index b957a9d..5b9efde 100644
--- a/lib_blackfin/board.c
+++ b/lib_blackfin/board.c
@@ -93,25 +93,25 @@ static void display_global_data(void)
#ifdef CONFIG_DEBUG_EARLY_SERIAL
bd_t *bd;
bd = gd->bd;
- printf(" gd: %x\n", gd);
- printf(" |-flags: %x\n", gd->flags);
- printf(" |-board_type: %x\n", gd->board_type);
- printf(" |-baudrate: %i\n", gd->baudrate);
- printf(" |-have_console: %x\n", gd->have_console);
- printf(" |-ram_size: %x\n", gd->ram_size);
- printf(" |-reloc_off: %x\n", gd->reloc_off);
- printf(" |-env_addr: %x\n", gd->env_addr);
- printf(" |-env_valid: %x\n", gd->env_valid);
- printf(" |-jt(%x): %x\n", gd->jt, *(gd->jt));
- printf(" \\-bd: %x\n", gd->bd);
+ printf(" gd: %p\n", gd);
+ printf(" |-flags: %lx\n", gd->flags);
+ printf(" |-board_type: %lx\n", gd->board_type);
+ printf(" |-baudrate: %lu\n", gd->baudrate);
+ printf(" |-have_console: %lx\n", gd->have_console);
+ printf(" |-ram_size: %lx\n", gd->ram_size);
+ printf(" |-reloc_off: %lx\n", gd->reloc_off);
+ printf(" |-env_addr: %lx\n", gd->env_addr);
+ printf(" |-env_valid: %lx\n", gd->env_valid);
+ printf(" |-jt(%p): %p\n", gd->jt, *(gd->jt));
+ printf(" \\-bd: %p\n", gd->bd);
printf(" |-bi_baudrate: %x\n", bd->bi_baudrate);
- printf(" |-bi_ip_addr: %x\n", bd->bi_ip_addr);
- printf(" |-bi_boot_params: %x\n", bd->bi_boot_params);
- printf(" |-bi_memstart: %x\n", bd->bi_memstart);
- printf(" |-bi_memsize: %x\n", bd->bi_memsize);
- printf(" |-bi_flashstart: %x\n", bd->bi_flashstart);
- printf(" |-bi_flashsize: %x\n", bd->bi_flashsize);
- printf(" \\-bi_flashoffset: %x\n", bd->bi_flashoffset);
+ printf(" |-bi_ip_addr: %lx\n", bd->bi_ip_addr);
+ printf(" |-bi_boot_params: %lx\n", bd->bi_boot_params);
+ printf(" |-bi_memstart: %lx\n", bd->bi_memstart);
+ printf(" |-bi_memsize: %lx\n", bd->bi_memsize);
+ printf(" |-bi_flashstart: %lx\n", bd->bi_flashstart);
+ printf(" |-bi_flashsize: %lx\n", bd->bi_flashsize);
+ printf(" \\-bi_flashoffset: %lx\n", bd->bi_flashoffset);
#endif
}