summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-21 14:17:17 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:54:02 +0200
commit2bf0758afa5c0c12ba484b5d27a19080b432bb8a (patch)
treef58e013344380125fc11636f59ddc5bcfb5700d7
parent3d54639c3f717094ab8ea6128ba50e5bb58b50d4 (diff)
downloadu-boot-imx-2bf0758afa5c0c12ba484b5d27a19080b432bb8a.zip
u-boot-imx-2bf0758afa5c0c12ba484b5d27a19080b432bb8a.tar.gz
u-boot-imx-2bf0758afa5c0c12ba484b5d27a19080b432bb8a.tar.bz2
GCC4.6: Squash warning in cmd_pmc440.c
cmd_pmc440.c: In function 'do_painit': cmd_pmc440.c:371: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'phys_size_t' Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--board/esd/pmc440/cmd_pmc440.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/pmc440/cmd_pmc440.c b/board/esd/pmc440/cmd_pmc440.c
index 200d7ee..0202876 100644
--- a/board/esd/pmc440/cmd_pmc440.c
+++ b/board/esd/pmc440/cmd_pmc440.c
@@ -368,7 +368,7 @@ int do_painit(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
*/
param = base - (pram << 10);
printf("PARAM: @%08x\n", param);
- debug("memsize=0x%08x, base=0x%08x\n", gd->bd->bi_memsize, base);
+ debug("memsize=0x%08x, base=0x%08x\n", (u32)gd->bd->bi_memsize, base);
/* clear entire PA ram */
memset((void*)param, 0, (pram << 10));