]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
mtd: bcm63xxpart: make sure CFE and NVRAM partitions are at least 64KiB
authorJonas Gorski <jonas.gorski@gmail.com>
Mon, 19 Dec 2011 10:36:04 +0000 (11:36 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:20:44 +0000 (18:20 +0000)
commit678eb9bb8114c47a7b89fd1288ff5dc760c53c1c
tree3cba77cdbe051702c90e71d0cc54481ecd6503d9
parentf2d9739b8e0bc9bdcc972950dd433b5083edf72f
mtd: bcm63xxpart: make sure CFE and NVRAM partitions are at least 64KiB

The CFE boot loader on BCM63XX platforms assumes itself and the NVRAM
partition to be 64 KiB (or erase block sized, if larger).
Ensure this assumption is also met when creating the partitions to
prevent accidential erasure of CFE or NVRAM.

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