summaryrefslogtreecommitdiff
path: root/board/spc1920
diff options
context:
space:
mode:
Diffstat (limited to 'board/spc1920')
-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);