[PATCH] Add support to AMD AM29SL800D[BT] NOR flash chips
Mike Rapoport
mike at compulab.co.il
Wed Jun 4 02:36:51 EDT 2008
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 at 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.
More information about the linux-mtd
mailing list