diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-03-28 14:13:09 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-05-13 23:47:06 -0400 |
commit | 60f8291003844a42b6edd4d8f37b2995c9431b57 (patch) | |
tree | 8c4a6f56d6f4f13f27d89a2a6582e344b360a701 /arch/arm/mach-ixp4xx | |
parent | f2e5a24480023db86ebd455c807aa30dc224ba9a (diff) |
arm: Use the plat_nand default partition parser
Use the default partition parser, cmdlinepart, provided by the plat_nand driver.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Alexander Clouter <alex@digriz.org.uk>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r-- | arch/arm/mach-ixp4xx/ixdp425-setup.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-ixp4xx/ixdp425-setup.c b/arch/arm/mach-ixp4xx/ixdp425-setup.c index 3d742aee1773..fccfc73e69f1 100644 --- a/arch/arm/mach-ixp4xx/ixdp425-setup.c +++ b/arch/arm/mach-ixp4xx/ixdp425-setup.c | |||
@@ -60,8 +60,6 @@ static struct platform_device ixdp425_flash = { | |||
60 | #if defined(CONFIG_MTD_NAND_PLATFORM) || \ | 60 | #if defined(CONFIG_MTD_NAND_PLATFORM) || \ |
61 | defined(CONFIG_MTD_NAND_PLATFORM_MODULE) | 61 | defined(CONFIG_MTD_NAND_PLATFORM_MODULE) |
62 | 62 | ||
63 | const char *part_probes[] = { "cmdlinepart", NULL }; | ||
64 | |||
65 | static struct mtd_partition ixdp425_partitions[] = { | 63 | static struct mtd_partition ixdp425_partitions[] = { |
66 | { | 64 | { |
67 | .name = "ixp400 NAND FS 0", | 65 | .name = "ixp400 NAND FS 0", |
@@ -101,7 +99,6 @@ static struct platform_nand_data ixdp425_flash_nand_data = { | |||
101 | .nr_chips = 1, | 99 | .nr_chips = 1, |
102 | .chip_delay = 30, | 100 | .chip_delay = 30, |
103 | .options = NAND_NO_AUTOINCR, | 101 | .options = NAND_NO_AUTOINCR, |
104 | .part_probe_types = part_probes, | ||
105 | .partitions = ixdp425_partitions, | 102 | .partitions = ixdp425_partitions, |
106 | .nr_partitions = ARRAY_SIZE(ixdp425_partitions), | 103 | .nr_partitions = ARRAY_SIZE(ixdp425_partitions), |
107 | }, | 104 | }, |