[U-Boot] [PATCH v4 2/4] mtdparts: show net size in mtdparts list

Scott Wood scottwood at freescale.com
Fri Aug 27 18:02:41 CEST 2010


On 08/27/2010 10:44 AM, Ben Gardiner wrote:
> On Thu, Aug 26, 2010 at 2:57 PM, Scott Wood<scottwood at freescale.com>  wrote:
>> Don't assume partition size fits in 32 bits.  part->size is uint64_t.
>
> I understand that (at some point) we need to support part->size
> uint64_t but the HEAD of u-boot [1],  u-boot-nand-flash/master [2] and
> u-boot-nand-flash/next [3] have u32 for part->size.

I see, I was looking at mtd_partition, not part_info.  Why are we using 
jffs2's partition struct for anything other than jffs2?  Why does jffs2 
have its own partition struct at all?

-Scott



More information about the U-Boot mailing list