diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-10-21 14:17:22 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-27 23:54:02 +0200 |
commit | 9cf5dee75acc763b785cce8824b5a1c8128c7a93 (patch) | |
tree | bda96401d17e2fa5c9e513343193d65ca9a0f8f9 /board | |
parent | 2bf0758afa5c0c12ba484b5d27a19080b432bb8a (diff) | |
download | u-boot-9cf5dee75acc763b785cce8824b5a1c8128c7a93.tar.gz u-boot-9cf5dee75acc763b785cce8824b5a1c8128c7a93.tar.bz2 u-boot-9cf5dee75acc763b785cce8824b5a1c8128c7a93.zip |
GCC4.6: Squash warnings in pmc405de.c
pmc405de.c: In function 'do_painit':
pmc405de.c:444: 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>
Diffstat (limited to 'board')
-rw-r--r-- | board/esd/pmc405de/pmc405de.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/pmc405de/pmc405de.c b/board/esd/pmc405de/pmc405de.c index c266ebe84f..a60809a1dd 100644 --- a/board/esd/pmc405de/pmc405de.c +++ b/board/esd/pmc405de/pmc405de.c @@ -441,7 +441,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)); |