summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-07-14 14:03:02 -0500
committerWolfgang Denk <wd@denx.de>2008-07-14 23:01:01 +0200
commit348753d416cd2c9e7ec6520a544c8f33cf02a560 (patch)
treefecefff0a3a1902067d233672d7e23ffc65f10c8 /cpu/mpc85xx
parent45b16d22c64674ccd8c4637456a987463609141c (diff)
downloadu-boot-imx-348753d416cd2c9e7ec6520a544c8f33cf02a560.zip
u-boot-imx-348753d416cd2c9e7ec6520a544c8f33cf02a560.tar.gz
u-boot-imx-348753d416cd2c9e7ec6520a544c8f33cf02a560.tar.bz2
Fix some more printf() format problems.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc85xx')
-rw-r--r--cpu/mpc85xx/mp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc85xx/mp.c b/cpu/mpc85xx/mp.c
index a527cf3..554830f 100644
--- a/cpu/mpc85xx/mp.c
+++ b/cpu/mpc85xx/mp.c
@@ -50,12 +50,12 @@ int cpu_status(int nr)
if (nr == id) {
table = (u32 *)get_spin_addr();
- printf("table base @ 0x%08x\n", table);
+ printf("table base @ 0x%p\n", table);
} else {
table = (u32 *)get_spin_addr() + nr * NUM_BOOT_ENTRY;
printf("Running on cpu %d\n", id);
printf("\n");
- printf("table @ 0x%08x:\n", table);
+ printf("table @ 0x%p\n", table);
printf(" addr - 0x%08x\n", table[BOOT_ENTRY_ADDR_LOWER]);
printf(" pir - 0x%08x\n", table[BOOT_ENTRY_PIR]);
printf(" r3 - 0x%08x\n", table[BOOT_ENTRY_R3_LOWER]);