summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/mxc_nd2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/nand/mxc_nd2.c b/drivers/mtd/nand/mxc_nd2.c
index db431a46445d..22249a04d620 100644
--- a/drivers/mtd/nand/mxc_nd2.c
+++ b/drivers/mtd/nand/mxc_nd2.c
@@ -1345,6 +1345,10 @@ static int __init mxcnd_probe(struct platform_device *pdev)
/* Register the partitions */
#ifdef CONFIG_MTD_PARTITIONS
+#if defined(CONFIG_MACH_CCWMX51JS) || defined(CONFIG_MACH_CCMX51JS) || \
+ defined(CONFIG_MACH_CCWMX51) || defined(CONFIG_MACH_CCMX51)
+ mtd->name= "onboard_boot";
+#endif
nr_parts =
parse_mtd_partitions(mtd, part_probes, &mxc_nand_data->parts, 0);
if (nr_parts > 0)