summaryrefslogtreecommitdiff
path: root/board/spc1920/hpi.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-11 01:16:00 +0200
committerWolfgang Denk <wd@denx.de>2008-07-11 01:16:00 +0200
commit9b55a2536919f4de1bb1044e6eb8262c2f53bc96 (patch)
tree56a8a946f45094770f1f4b3e10b2344191c6c40c /board/spc1920/hpi.c
parent4109df6f75fc00ab7da56d286ba50149a0d16a69 (diff)
downloadu-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.zip
u-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.tar.gz
u-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.tar.bz2
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/spc1920/hpi.c')
-rw-r--r--board/spc1920/hpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/spc1920/hpi.c b/board/spc1920/hpi.c
index cd7799b..cf21b21 100644
--- a/board/spc1920/hpi.c
+++ b/board/spc1920/hpi.c
@@ -234,7 +234,8 @@ static int hpi_write_inc(u32 addr, u32 *data, u32 count)
HPI_HPIA_1 = addr1;
HPI_HPIA_2 = addr2;
- debugX(4, "writing from data=0x%x to 0x%x\n", data, (data+count));
+ debugX(4, "writing from data=0x%lx to 0x%lx\n",
+ (ulong)data, (ulong)(data+count));
for(i=0; i<count; i++) {
HPI_HPID_INC_1 = (u16) ((data[i] >> 16) & 0xffff);