[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>
This commit is contained in:
parent
deb1a5f113
commit
8fd310a1cc
1 changed files with 32 additions and 0 deletions
|
@ -58,6 +58,8 @@
|
||||||
#define AM29LV040B 0x004F
|
#define AM29LV040B 0x004F
|
||||||
#define AM29F032B 0x0041
|
#define AM29F032B 0x0041
|
||||||
#define AM29F002T 0x00B0
|
#define AM29F002T 0x00B0
|
||||||
|
#define AM29SL800DB 0x226B
|
||||||
|
#define AM29SL800DT 0x22EA
|
||||||
|
|
||||||
/* Atmel */
|
/* Atmel */
|
||||||
#define AT49BV512 0x0003
|
#define AT49BV512 0x0003
|
||||||
|
@ -523,6 +525,36 @@ static const struct amd_flash_info jedec_table[] = {
|
||||||
ERASEINFO(0x02000,2),
|
ERASEINFO(0x02000,2),
|
||||||
ERASEINFO(0x04000,1),
|
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,
|
.mfr_id = MANUFACTURER_ATMEL,
|
||||||
.dev_id = AT49BV512,
|
.dev_id = AT49BV512,
|
||||||
|
|
Loading…
Reference in a new issue