From: Marek Vasut Date: Mon, 24 Oct 2011 23:41:41 +0000 (+0000) Subject: GCC4.6: Remove debugX() usage from spc1920 hpi X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=75753699ae3ff32796e24ce48c8f4e09995c0920;p=u-boot.git GCC4.6: Remove debugX() usage from spc1920 hpi Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- diff --git a/board/spc1920/hpi.c b/board/spc1920/hpi.c index 26d0f9c33d..9d8ec1006d 100644 --- a/board/spc1920/hpi.c +++ b/board/spc1920/hpi.c @@ -234,13 +234,13 @@ 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%lx to 0x%lx\n", + debug("writing from data=0x%lx to 0x%lx\n", (ulong)data, (ulong)(data+count)); for(i=0; i> 16) & 0xffff); HPI_HPID_INC_2 = (u16) (data[i] & 0xffff); - debugX(4, "hpi_write_inc: data1=0x%x, data2=0x%x\n", + debug("hpi_write_inc: data1=0x%x, data2=0x%x\n", (u16) ((data[i] >> 16) & 0xffff), (u16) (data[i] & 0xffff)); } @@ -273,7 +273,7 @@ static int hpi_read_inc(u32 addr, u32 *buf, u32 count) for(i=0; i