summaryrefslogtreecommitdiff
path: root/board/dave/PPChameleonEVB/flash.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-21 14:17:29 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:54:02 +0200
commit2e59cb63ef2bdcb659c77230d1053fbca5b194fc (patch)
tree430013d5200ca334695406839c2d7448bf90fa10 /board/dave/PPChameleonEVB/flash.c
parentd6248f40aa448b7ade0a1fd7568d8301c146a2dc (diff)
GCC4.6: Squash warnings in PPChameleonEVB/flash.c
flash.c: In function 'flash_init': flash.c:54: warning: format '%08X' expects type 'unsigned int', but argument 4 has type 'struct flash_info_t *' Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'board/dave/PPChameleonEVB/flash.c')
-rw-r--r--board/dave/PPChameleonEVB/flash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/dave/PPChameleonEVB/flash.c b/board/dave/PPChameleonEVB/flash.c
index 2e1a9abc08..3d5b20d223 100644
--- a/board/dave/PPChameleonEVB/flash.c
+++ b/board/dave/PPChameleonEVB/flash.c
@@ -51,7 +51,8 @@ unsigned long flash_init (void)
int size_val = 0;
debug("[%s, %d] Entering ...\n", __FUNCTION__, __LINE__);
- debug("[%s, %d] flash_info = 0x%08X ...\n", __FUNCTION__, __LINE__, flash_info);
+ debug("[%s, %d] flash_info = 0x%p ...\n", __func__, __LINE__,
+ flash_info);
/* Init: no FLASHes known */
for (i=0; i<CONFIG_SYS_MAX_FLASH_BANKS; ++i) {