summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-21 14:17:28 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:54:02 +0200
commitd6248f40aa448b7ade0a1fd7568d8301c146a2dc (patch)
treee278d1d9637bf9546a37da6a5ecfa2eea49d9ab9 /board
parent9cf5dee75acc763b785cce8824b5a1c8128c7a93 (diff)
downloadu-boot-d6248f40aa448b7ade0a1fd7568d8301c146a2dc.tar.gz
u-boot-d6248f40aa448b7ade0a1fd7568d8301c146a2dc.tar.bz2
u-boot-d6248f40aa448b7ade0a1fd7568d8301c146a2dc.zip
GCC4.6: Squash warnings in r360mpi/flash.c
flash.c: In function 'flash_get_size': flash.c:222: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'int' flash.c:238: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'int' 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/r360mpi/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/r360mpi/flash.c b/board/r360mpi/flash.c
index 45cccf712b..26ec11d5d2 100644
--- a/board/r360mpi/flash.c
+++ b/board/r360mpi/flash.c
@@ -219,7 +219,7 @@ static ulong flash_get_size (FPW * addr, flash_info_t * info)
value = addr[0];
- debug ("Manuf. ID @ 0x%08lx: 0x%08lx\n", (ulong)addr, value);
+ debug("Manuf. ID @ 0x%08lx: 0x%08x\n", (ulong)addr, value);
switch (value) {
case (FPW) INTEL_MANUFACT:
@@ -235,7 +235,7 @@ static ulong flash_get_size (FPW * addr, flash_info_t * info)
value = addr[1]; /* device ID */
- debug ("Device ID @ 0x%08lx: 0x%08lx\n", (ulong)(&addr[1]), value);
+ debug("Device ID @ 0x%08lx: 0x%08x\n", (ulong)(&addr[1]), value);
switch (value) {
case (FPW) INTEL_ID_28F320J3A: