summaryrefslogtreecommitdiff
path: root/board/sh7785lcr/selfcheck.c
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-09-18 19:34:36 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-09-19 11:05:22 +0900
commitb5d10a13525c07ec6374adf840d7c87553b5f189 (patch)
tree14029185164928df1b8a625d5af404e62c548b37 /board/sh7785lcr/selfcheck.c
parent4a065abf926f128beb36d93449defa0d690e7fef (diff)
downloadu-boot-imx-b5d10a13525c07ec6374adf840d7c87553b5f189.zip
u-boot-imx-b5d10a13525c07ec6374adf840d7c87553b5f189.tar.gz
u-boot-imx-b5d10a13525c07ec6374adf840d7c87553b5f189.tar.bz2
sh: Fix compile warning
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board/sh7785lcr/selfcheck.c')
-rw-r--r--board/sh7785lcr/selfcheck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/sh7785lcr/selfcheck.c b/board/sh7785lcr/selfcheck.c
index d924595..ce0620f 100644
--- a/board/sh7785lcr/selfcheck.c
+++ b/board/sh7785lcr/selfcheck.c
@@ -84,7 +84,7 @@ static void test_net(void)
if (data == 0x816910ec)
printf("Ethernet OK\n");
else
- printf("Ethernet NG, data = %08x\n", data);
+ printf("Ethernet NG, data = %08x\n", (unsigned int)data);
}
static void test_sata(void)
@@ -96,7 +96,7 @@ static void test_sata(void)
if (data == 0x35121095)
printf("SATA OK\n");
else
- printf("SATA NG, data = %08x\n", data);
+ printf("SATA NG, data = %08x\n", (unsigned int)data);
}
static void test_pci(void)