return 0;
}
+/* allow users to override the partition in DT using the cmdline */
+static const char * part_probes[] = { "cmdlinepart", "ofpart", NULL };
+
static struct platform_nand_data oxnas_nand_data = {
.chip = {
.nr_chips = 1,
.chip_delay = 30,
+ .part_probe_types = part_probes,
},
.ctrl = {
.probe = oxnas_nand_probe,