aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-03-28 14:13:09 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-05-13 23:47:06 -0400
commit60f8291003844a42b6edd4d8f37b2995c9431b57 (patch)
tree8c4a6f56d6f4f13f27d89a2a6582e344b360a701 /arch/arm/mach-orion5x
parentf2e5a24480023db86ebd455c807aa30dc224ba9a (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-orion5x')
-rw-r--r--arch/arm/mach-orion5x/ts78xx-setup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-orion5x/ts78xx-setup.c b/arch/arm/mach-orion5x/ts78xx-setup.c
index c96f37472eda..53e595ed0bb9 100644
--- a/arch/arm/mach-orion5x/ts78xx-setup.c
+++ b/arch/arm/mach-orion5x/ts78xx-setup.c
@@ -245,8 +245,6 @@ static void ts78xx_ts_nand_read_buf(struct mtd_info *mtd,
245 readsb(io_base, buf, len); 245 readsb(io_base, buf, len);
246} 246}
247 247
248const char *ts_nand_part_probes[] = { "cmdlinepart", NULL };
249
250static struct mtd_partition ts78xx_ts_nand_parts[] = { 248static struct mtd_partition ts78xx_ts_nand_parts[] = {
251 { 249 {
252 .name = "mbr", 250 .name = "mbr",
@@ -271,7 +269,6 @@ static struct mtd_partition ts78xx_ts_nand_parts[] = {
271static struct platform_nand_data ts78xx_ts_nand_data = { 269static struct platform_nand_data ts78xx_ts_nand_data = {
272 .chip = { 270 .chip = {
273 .nr_chips = 1, 271 .nr_chips = 1,
274 .part_probe_types = ts_nand_part_probes,
275 .partitions = ts78xx_ts_nand_parts, 272 .partitions = ts78xx_ts_nand_parts,
276 .nr_partitions = ARRAY_SIZE(ts78xx_ts_nand_parts), 273 .nr_partitions = ARRAY_SIZE(ts78xx_ts_nand_parts),
277 .chip_delay = 15, 274 .chip_delay = 15,