public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Mike Rapoport <mike@compulab.co.il>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: [PATCH] Add support to AMD AM29SL800D[BT] NOR flash chips
Date: Wed, 04 Jun 2008 09:36:51 +0300	[thread overview]
Message-ID: <48463803.7090403@compulab.co.il> (raw)
In-Reply-To: <483BC42D.6050507@compulab.co.il>

David,
Any chance you can look at it please?

Mike Rapoport wrote:
> This patch add support for non-CFI AMD AM29SL800D[BT] NOR flash chips
> 
> Signed-off-by: Mike Rapoport <mike@compulab.co.il>
> ---
>  drivers/mtd/chips/jedec_probe.c |   32 ++++++++++++++++++++++++++++++++
>  1 files changed, 32 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
> index aa07575..02e375b 100644
> --- a/drivers/mtd/chips/jedec_probe.c
> +++ b/drivers/mtd/chips/jedec_probe.c
> @@ -58,6 +58,8 @@
>  #define AM29LV040B	0x004F
>  #define AM29F032B	0x0041
>  #define AM29F002T	0x00B0
> +#define AM29SL800DB	0x226B
> +#define AM29SL800DT	0x22EA
> 
>  /* Atmel */
>  #define AT49BV512	0x0003
> @@ -522,6 +524,36 @@ static const struct amd_flash_info jedec_table[] = {
>  			ERASEINFO(0x04000,1),
>  		}
>  	}, {
> +		.mfr_id		= MANUFACTURER_AMD,
> +		.dev_id		= AM29SL800DT,
> +		.name		= "AMD AM29SL800DT",
> +		.devtypes	= CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
> +		.uaddr		= MTD_UADDR_0x0AAA_0x0555,
> +		.dev_size	= SIZE_1MiB,
> +		.cmd_set	= P_ID_AMD_STD,
> +		.nr_regions	= 4,
> +		.regions	= {
> +			ERASEINFO(0x10000,15),
> +			ERASEINFO(0x08000,1),
> +			ERASEINFO(0x02000,2),
> +			ERASEINFO(0x04000,1),
> +		}
> +	}, {
> +		.mfr_id		= MANUFACTURER_AMD,
> +		.dev_id		= AM29SL800DB,
> +		.name		= "AMD AM29SL800DB",
> +		.devtypes	= CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
> +		.uaddr		= MTD_UADDR_0x0AAA_0x0555,
> +		.dev_size	= SIZE_1MiB,
> +		.cmd_set	= P_ID_AMD_STD,
> +		.nr_regions	= 4,
> +		.regions	= {
> +			ERASEINFO(0x04000,1),
> +			ERASEINFO(0x02000,2),
> +			ERASEINFO(0x08000,1),
> +			ERASEINFO(0x10000,15),
> +		}
> +	}, {
>  		.mfr_id		= MANUFACTURER_ATMEL,
>  		.dev_id		= AT49BV512,
>  		.name		= "Atmel AT49BV512",

-- 
Sincerely yours,
Mike.

      reply	other threads:[~2008-06-04  6:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-27  8:19 [PATCH] Add support to AMD AM29SL800D[BT] NOR flash chips Mike Rapoport
2008-06-04  6:36 ` Mike Rapoport [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48463803.7090403@compulab.co.il \
    --to=mike@compulab.co.il \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox