cfi_flash: Use uintptr_t for casts from u32 to void *
authorStefan Roese <sr@denx.de>
Wed, 3 Apr 2013 00:47:46 +0000 (02:47 +0200)
committerStefan Roese <sr@denx.de>
Thu, 4 Apr 2013 05:07:30 +0000 (07:07 +0200)
commit81a4f7098ba137ea1961cb997ca16d57de2b3483
treeb5f60bcb9fb78a25131ece1cb7c894bd0f2f4858
parentc502321c4a1bc8d859ecf19b22f9d0ce03954fd6
cfi_flash: Use uintptr_t for casts from u32 to void *

This fixes this build warning:

Configuring for qemu_mips64 - Board: qemu-mips64, Options: SYS_BIG_ENDIAN
   text    data     bss     dec     hex filename
 215344   13082  218720  447146   6d2aa qemu_mips64/u-boot
cfi_flash.c: In function 'flash_map':
cfi_flash.c:217:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Tom Rini <trini@ti.com>
drivers/mtd/cfi_flash.c