]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60110aa5f2fd78e9e606219874341a33b2c6f955
treefac2482d883da626b8c0e1293b524ea90bbf796e
parent3df5a3a3621b4b78c0b51e8ca48b4b904c317fe0
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