aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm63xx
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2011-12-05 10:08:10 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 13:16:25 -0500
commitf4aa7adb8b11ae48b36474829b6debac7ed5ddd7 (patch)
tree388b97a0cc8004e22c9f1dc11ed9b2f291f8d4ca /arch/mips/bcm63xx
parent529688fed64a7759323cbd170754c61aad0dd48b (diff)
MIPS: BCM63XX: use the new bcm63xxpart parser
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>
Diffstat (limited to 'arch/mips/bcm63xx')
-rw-r--r--arch/mips/bcm63xx/boards/board_bcm963xx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c
index 40b223b603be..c22385400fc9 100644
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -834,10 +834,13 @@ static struct mtd_partition mtd_partitions[] = {
834 } 834 }
835}; 835};
836 836
837static const char *bcm63xx_part_types[] = { "bcm63xxpart", NULL };
838
837static struct physmap_flash_data flash_data = { 839static struct physmap_flash_data flash_data = {
838 .width = 2, 840 .width = 2,
839 .nr_parts = ARRAY_SIZE(mtd_partitions), 841 .nr_parts = ARRAY_SIZE(mtd_partitions),
840 .parts = mtd_partitions, 842 .parts = mtd_partitions,
843 .part_probe_types = bcm63xx_part_types,
841}; 844};
842 845
843static struct resource mtd_resources[] = { 846static struct resource mtd_resources[] = {