]> git.karo-electronics.de Git - karo-tx-linux.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)
committerArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Fri, 27 Apr 2012 13:36:55 +0000 (16:36 +0300)
commit61bbf09c7aa48c7a76d6cb51cd49af24a4fb18a6
tree370bcd55b8200693120d0913531a758508ffbd3a
parent9e2be07c4899d8208e574fbfa0a037465773aa69
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>
drivers/mtd/bcm63xxpart.c