mtd: bcm63xxpart: check the image tag's crc32
authorJonas Gorski <jonas.gorski@gmail.com>
Sat, 17 Dec 2011 12:58:18 +0000 (13:58 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:23:32 +0000 (18:23 +0000)
commitf98872fc14ecb96f796443911b6bc4767e58e885
treefac2482d883da626b8c0e1293b524ea90bbf796e
parent805166783893651e3352ee9e68ad5d0b68a769f1
mtd: bcm63xxpart: check the image tag's crc32

Only use the values from the image tag if it is valid. Always create
the CFE, NVRAM and linux partitions, to allow flashing a new image even
if the old is invalid without overwriting 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