]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: bcm63xxpart: handle Broadcom partition order
authorJonas Gorski <jonas.gorski@gmail.com>
Thu, 19 Apr 2012 11:15:57 +0000 (13:15 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 03:55:03 +0000 (22:55 -0500)
commit23249088285385683661f2e58c23ab59cc7339fe
tree51e5c892f9c22ac145f12fc1ad54233ed91f4dde
parent38868c7dec68b111200cc219d64cf0b1d65f835c
mtd: bcm63xxpart: handle Broadcom partition order

The original Broadcom partition order has the root fs in front of the
kernel, which resulted in miscalculated partition sizes.
Detect when such an image is on the flash and also reorder the partitions
accordingly.

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