Commit f4aa7adb authored by Jonas Gorski's avatar Jonas Gorski Committed by David Woodhouse

MIPS: BCM63XX: use the new bcm63xxpart parser

Signed-off-by: default avatarJonas Gorski <jonas.gorski@gmail.com>
Acked-by: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 529688fe
...@@ -834,10 +834,13 @@ static struct mtd_partition mtd_partitions[] = { ...@@ -834,10 +834,13 @@ static struct mtd_partition mtd_partitions[] = {
} }
}; };
static const char *bcm63xx_part_types[] = { "bcm63xxpart", NULL };
static struct physmap_flash_data flash_data = { static struct physmap_flash_data flash_data = {
.width = 2, .width = 2,
.nr_parts = ARRAY_SIZE(mtd_partitions), .nr_parts = ARRAY_SIZE(mtd_partitions),
.parts = mtd_partitions, .parts = mtd_partitions,
.part_probe_types = bcm63xx_part_types,
}; };
static struct resource mtd_resources[] = { static struct resource mtd_resources[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment