mtd device names

Sascha Hauer s.hauer at pengutronix.de
Thu Jan 8 10:21:02 EST 2009


Hi,

Some time ago I posted a NAND driver for Freescale i.MX SoCs which already
went upstream.

After doing a nand_scan I did a

	mtd->name = DRIVER_NAME;

With the result that the NAND device showed up as mxc_nand. While
merging upstream this line was removed, so now NAND devices show up as
"NAND 64MiB 3,3V 8-bit". Using this string with command line partitions
is really inconvenient. Because of the whitespaces you need proper
quoting in the command line (try this in U-Boot). In addition one needs
to change the environment for different NAND chips.

What's the reason this line was removed? Any chance to revert it?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-mtd mailing list