mtd: bcm63xxpart: don't assume NVRAM is always the fourth partition
authorJonas Gorski <jonas.gorski@gmail.com>
Sat, 17 Dec 2011 12:58:16 +0000 (13:58 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:20:58 +0000 (18:20 +0000)
commit327c62c554a78af399938445094a7dc834b7fd0b
treece9a731c807cbb379615a04079e1ed7e73746d8c
parent678eb9bb8114c47a7b89fd1288ff5dc760c53c1c
mtd: bcm63xxpart: don't assume NVRAM is always the fourth partition

Instead of referencing the sizes of fixed partitions, use the
precomputed CFE/NVRAM lengths.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/bcm63xxpart.c