[PATCH] mtd: ofpart: support partitions of 4 GB and larger

Aaron Sierra asierra at xes-inc.com
Thu Feb 21 16:43:54 EST 2013


> > Previously, partitions were limited to less than 4 GB in size
> > because
> > the address and size were read as 32-bit values. Add support for
> > 64-bit
> > values to support devices of 4 GB and larger.
> >
> > Signed-off-by: Joe Schaack<jschaack at xes-inc.com>
> > Signed-off-by: Nate Case<ncase at xes-inc.com>
> > Signed-off-by: Aaron Sierra<asierra at xes-inc.com>
> > ---
> >   drivers/mtd/ofpart.c |    7 +++++--
> >   1 file changed, 5 insertions(+), 2 deletions(-)

> I think it's better to update the
> Documentation/devicetree/bindings/mtd/partition.txt too. for example,
> add a example for the partition larger then 4G.
> 
> thanks
> Huang Shijie
> 

Good idea Huang, I'm on it.

-Aaron S.



More information about the linux-mtd mailing list