[PATCH] fsl_elbc_nand: fix mtd name

Scott Wood scottwood at freescale.com
Tue Mar 18 11:54:45 EDT 2008


On Tue, Mar 18, 2008 at 06:43:44PM +0300, Anton Vorontsov wrote:
> With this patch applied fsl_elbc_nand chip will have proper name:
> 
>    root at b1:~# cat /proc/mtd
>    dev:    size   erasesize  name
>    mtd0: 00800000 00010000 "fe000000.flash"
>    mtd1: 02000000 00004000 "e0600000.flash"
> 
> p.s. We can't use priv->dev->bus_id as in physmap_of, because
> fsl_elbc_nand pretends to be a localbus controller, so its bus_id is
> "address.localbus", which is incorrect and thus will also not work
> for multiple chips.

Acked-by: Scott Wood <scottwood at freescale.com>

-Scott



More information about the linux-mtd mailing list