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>
This commit is contained in:

committed by
David Woodhouse

父節點
f2e5a24480
當前提交
60f8291003
@@ -338,8 +338,6 @@ static struct mtd_partition em_x270_partition_info[] = {
|
||||
},
|
||||
};
|
||||
|
||||
static const char *em_x270_part_probes[] = { "cmdlinepart", NULL };
|
||||
|
||||
struct platform_nand_data em_x270_nand_platdata = {
|
||||
.chip = {
|
||||
.nr_chips = 1,
|
||||
@@ -347,7 +345,6 @@ struct platform_nand_data em_x270_nand_platdata = {
|
||||
.nr_partitions = ARRAY_SIZE(em_x270_partition_info),
|
||||
.partitions = em_x270_partition_info,
|
||||
.chip_delay = 20,
|
||||
.part_probe_types = em_x270_part_probes,
|
||||
},
|
||||
.ctrl = {
|
||||
.hwcontrol = 0,
|
||||
|
Reference in New Issue
Block a user