[U-Boot] [PATCH 1/3] mtd: OneNAND: add support for OneNAND manufactured by Numonyx
Steve Sakoman
sakoman at gmail.com
Sun Oct 10 06:41:49 CEST 2010
On Sat, Oct 9, 2010 at 4:13 PM, Enric Balletbo i Serra
<eballetbo at gmail.com> 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"},
> };
>
> /**
> 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
>
> /**
> * struct nand_manufacturers - NAND Flash Manufacturer ID Structure
> --
> 1.7.0.4
Acked-by: Steve Sakoman <steve.sakoman at linaro.org>
More information about the U-Boot
mailing list