mtd: bcm63xxpart: make fixed part length calculation more generic
authorJonas Gorski <jonas.gorski@gmail.com>
Mon, 12 Nov 2012 09:52:49 +0000 (10:52 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 21 Nov 2012 15:15:05 +0000 (17:15 +0200)
commit4e4fb63955650e39ccfbd376733fa258adfb1e5d
tree6a869b51a6b156119ebd4b256c5fc04497e41f6f
parente190401ba1ca20d76f22c1f0aada0abd5bdc1afe
mtd: bcm63xxpart: make fixed part length calculation more generic

The CFE does not use 4K sectors even if the flash supports it, so
for the fixed partitions like CFE itself or NVRAM the erase block
size is always 64k or bigger.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/bcm63xxpart.c