[PATCH] i.mx35pdk add nand identification

Sascha Hauer s.hauer at pengutronix.de
Thu Sep 6 09:47:35 EDT 2012


On Thu, Sep 06, 2012 at 03:48:30PM +0300, Alex Gershgorin wrote:
> Without this patch I get following messages
> 
> Board: Freescale MX35 3Stack   
> NAND type unknown: ec,d7
> No NAND device found (-19)!

Please replace the subject with something like:

"mtd nand: Add <blachip> to flash ids"

Having 'i.mx35pdk' seems to imply this affects only i.MX users.

Sascha

> 
> Signed-off-by: Alex Gershgorin <alexg at meprolight.com>
> ---
>  drivers/mtd/nand/nand_ids.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
> index cb53fc6..5f184bd 100644
> --- a/drivers/mtd/nand/nand_ids.c
> +++ b/drivers/mtd/nand/nand_ids.c
> @@ -103,6 +103,7 @@ struct nand_flash_dev nand_flash_ids[] = {
>  	/* 4 Gigabit */
>  	{__NANDSTR("NAND 512MiB 1,8V 8-bit"),	0xAC, 0, 512, 0, LP_OPTIONS},
>  	{__NANDSTR("NAND 512MiB 3,3V 8-bit"),	0xDC, 0, 512, 0, LP_OPTIONS},
> +	{__NANDSTR("NAND 512MiB 3,3V 8-bit"),	0xD7, 0, 512, 0, LP_OPTIONS},
>  	{__NANDSTR("NAND 512MiB 1,8V 16-bit"),	0xBC, 0, 512, 0, LP_OPTIONS16},
>  	{__NANDSTR("NAND 512MiB 3,3V 16-bit"),	0xCC, 0, 512, 0, LP_OPTIONS16},
>  
> -- 
> 1.7.0.4
> 
> 

-- 
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 barebox mailing list