Commit 3203907e authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by David Woodhouse

blackfin: Use the plat_nand default partition parser

Use the default partition parser, cmdlinepart, provided by the plat_nand driver.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 60f82910
...@@ -248,8 +248,6 @@ static struct platform_device bfin_uart0_device = { ...@@ -248,8 +248,6 @@ static struct platform_device bfin_uart0_device = {
#if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE)
const char *part_probes[] = { "cmdlinepart", NULL };
static struct mtd_partition bfin_plat_nand_partitions[] = { static struct mtd_partition bfin_plat_nand_partitions[] = {
{ {
.name = "params(nand)", .name = "params(nand)",
...@@ -289,7 +287,6 @@ static struct platform_nand_data bfin_plat_nand_data = { ...@@ -289,7 +287,6 @@ static struct platform_nand_data bfin_plat_nand_data = {
.chip = { .chip = {
.nr_chips = 1, .nr_chips = 1,
.chip_delay = 30, .chip_delay = 30,
.part_probe_types = part_probes,
.partitions = bfin_plat_nand_partitions, .partitions = bfin_plat_nand_partitions,
.nr_partitions = ARRAY_SIZE(bfin_plat_nand_partitions), .nr_partitions = ARRAY_SIZE(bfin_plat_nand_partitions),
}, },
......
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