diff options
author | Mike Rapoport <mike@compulab.co.il> | 2008-05-27 04:19:57 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-06-04 12:20:48 -0400 |
commit | 8fd310a1cc3aadb7a17d844beeefae66b1a169c6 (patch) | |
tree | ab7f918ceb43ec4e7c46f255a0dc86ac0f6f04ac /drivers | |
parent | deb1a5f1134e7da0e3dacd37b5d32b7fe0600a7f (diff) |
[MTD] [NOR] Add support for AMD AM29SL800D[BT] NOR flash chips
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | 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 99f9ed21f660..b717f1a5d6b2 100644 --- a/drivers/mtd/chips/jedec_probe.c +++ b/drivers/mtd/chips/jedec_probe.c | |||
@@ -58,6 +58,8 @@ | |||
58 | #define AM29LV040B 0x004F | 58 | #define AM29LV040B 0x004F |
59 | #define AM29F032B 0x0041 | 59 | #define AM29F032B 0x0041 |
60 | #define AM29F002T 0x00B0 | 60 | #define AM29F002T 0x00B0 |
61 | #define AM29SL800DB 0x226B | ||
62 | #define AM29SL800DT 0x22EA | ||
61 | 63 | ||
62 | /* Atmel */ | 64 | /* Atmel */ |
63 | #define AT49BV512 0x0003 | 65 | #define AT49BV512 0x0003 |
@@ -524,6 +526,36 @@ static const struct amd_flash_info jedec_table[] = { | |||
524 | ERASEINFO(0x04000,1), | 526 | ERASEINFO(0x04000,1), |
525 | } | 527 | } |
526 | }, { | 528 | }, { |
529 | .mfr_id = MANUFACTURER_AMD, | ||
530 | .dev_id = AM29SL800DT, | ||
531 | .name = "AMD AM29SL800DT", | ||
532 | .devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8, | ||
533 | .uaddr = MTD_UADDR_0x0AAA_0x0555, | ||
534 | .dev_size = SIZE_1MiB, | ||
535 | .cmd_set = P_ID_AMD_STD, | ||
536 | .nr_regions = 4, | ||
537 | .regions = { | ||
538 | ERASEINFO(0x10000,15), | ||
539 | ERASEINFO(0x08000,1), | ||
540 | ERASEINFO(0x02000,2), | ||
541 | ERASEINFO(0x04000,1), | ||
542 | } | ||
543 | }, { | ||
544 | .mfr_id = MANUFACTURER_AMD, | ||
545 | .dev_id = AM29SL800DB, | ||
546 | .name = "AMD AM29SL800DB", | ||
547 | .devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8, | ||
548 | .uaddr = MTD_UADDR_0x0AAA_0x0555, | ||
549 | .dev_size = SIZE_1MiB, | ||
550 | .cmd_set = P_ID_AMD_STD, | ||
551 | .nr_regions = 4, | ||
552 | .regions = { | ||
553 | ERASEINFO(0x04000,1), | ||
554 | ERASEINFO(0x02000,2), | ||
555 | ERASEINFO(0x08000,1), | ||
556 | ERASEINFO(0x10000,15), | ||
557 | } | ||
558 | }, { | ||
527 | .mfr_id = MANUFACTURER_ATMEL, | 559 | .mfr_id = MANUFACTURER_ATMEL, |
528 | .dev_id = AT49BV512, | 560 | .dev_id = AT49BV512, |
529 | .name = "Atmel AT49BV512", | 561 | .name = "Atmel AT49BV512", |