MIPS: BCM63XX: use the new bcm63xxpart parser
authorJonas Gorski <jonas.gorski@gmail.com>
Mon, 5 Dec 2011 15:08:10 +0000 (16:08 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:16:25 +0000 (18:16 +0000)
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>
arch/mips/bcm63xx/boards/board_bcm963xx.c

index 40b223b603be588ea6702579cd658c170e2f0384..c22385400fc979cbeb1d6d9d249f2cab3404f48b 100644 (file)
@@ -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 = {
        .width                  = 2,
        .nr_parts               = ARRAY_SIZE(mtd_partitions),
        .parts                  = mtd_partitions,
+       .part_probe_types       = bcm63xx_part_types,
 };
 
 static struct resource mtd_resources[] = {