]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: ofpart: support partitions of 4 GiB and larger
authorJoe Schaack <jschaack@xes-inc.com>
Thu, 21 Feb 2013 22:29:45 +0000 (16:29 -0600)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 11:05:53 +0000 (12:05 +0100)
commit05ff8c258c76dd469232a03ec8d45f7e7267e0ac
treebbecfe3fc604264c90c6037477120d520d594ef4
parente66e280c36e09e4573089862e7dc2ade9e680088
mtd: ofpart: support partitions of 4 GiB and larger

Previously, partitions were limited to less than 4 GiB in size because
the address and size were read as 32-bit values. Add support for 64-bit
values to support devices of 4 GiB and larger.

Signed-off-by: Joe Schaack <jschaack@xes-inc.com>
Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Documentation/devicetree/bindings/mtd/partition.txt
drivers/mtd/ofpart.c