summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorPedro Perez de Heredia <pedro.perez@digi.com>2009-12-29 22:00:04 +0100
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-02-12 18:29:11 +0100
commit2db9e9c3d4eee57ef498916d7130e7d28dad0630 (patch)
tree8bb9cd5913513c5d1144f48c261550778fe144bd /drivers/mtd
parent4c84fa570af23da568fdc3aab90e71f587564b01 (diff)
ccwmx51js: add first support for CCWi-MX51 platform on a JSK board
This commit provides the first support for the Embedded module ConnectCore Wi-MX51 on a JSK board. Supported interfaces are: -Serial -Internal Ethernet controller (FEC) -External Ethernet controller. -NAND flash Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
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)