cmd_mtdparts: use 64 bits for flash size, partition size & offset
authorPaul Burton <paul.burton@imgtec.com>
Wed, 4 Sep 2013 14:16:57 +0000 (15:16 +0100)
committerScott Wood <scottwood@freescale.com>
Wed, 9 Oct 2013 17:52:16 +0000 (12:52 -0500)
commit39ac34473f3c96e77cbe03a49141771ed1639486
tree9dc16508b3706908ab5da5dc71087b444301f97a
parent40462e541d740e6af634fc793164e49317b38a11
cmd_mtdparts: use 64 bits for flash size, partition size & offset

This matches the 64 bit size in struct mtd_info and allows the mtdparts
command to function correctly with a flash >= 4GiB. Format specifiers
for size & offset are given the ll length, matching its use in
drivers/mtd in absence of something like inttypes.h/PRIx64.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Stefan Roese <sr@denx.de>
common/cmd_mtdparts.c
include/jffs2/load_kernel.h