[U-Boot] [PATCHv2 1/3] mtd: OneNAND: add support for OneNAND manufactured by Numonyx

Wolfgang Denk wd at denx.de
Sun Oct 10 11:14:13 CEST 2010


Dear Enric Balletbo i Serra,

In message <1286699659-2952-2-git-send-email-eballetbo at gmail.com> you wrote:
> This patch adds the Numonyx manufacturer code (0x20) to
> onenand manufacturers.
> 
> Signed-off-by: Enric Balletbo i Serra <eballetbo at gmail.com>
> ---
>  drivers/mtd/onenand/onenand_base.c |    1 +
>  include/linux/mtd/onenand.h        |    1 +
>  2 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
> index f9273ab..c978420 100644
> --- a/drivers/mtd/onenand/onenand_base.c
> +++ b/drivers/mtd/onenand/onenand_base.c
> @@ -2214,6 +2214,7 @@ char *onenand_print_device_info(int device, int version)
>  
>  static const struct onenand_manufacturers onenand_manuf_ids[] = {
>  	{ONENAND_MFR_SAMSUNG, "Samsung"},
> +	{ONENAND_MFR_NUMONYX, "Numonyx"},
>  };

Can we please keep lists like this...

> diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h
> index 68e174e..0025fd0 100644
> --- a/include/linux/mtd/onenand.h
> +++ b/include/linux/mtd/onenand.h
> @@ -155,6 +155,7 @@ struct onenand_chip {
>   * OneNAND Flash Manufacturer ID Codes
>   */
>  #define ONENAND_MFR_SAMSUNG	0xec
> +#define ONENAND_MFR_NUMONYX	0x20

...and this sorted?  Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Genius doesn't work on an assembly line basis.  You can't simply say,
"Today I will be brilliant."
	-- Kirk, "The Ultimate Computer", stardate 4731.3


More information about the U-Boot mailing list