diff options
author | Nate Case <ncase@xes-inc.com> | 2008-05-13 15:45:29 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-05-14 06:03:46 -0400 |
commit | deb1a5f1134e7da0e3dacd37b5d32b7fe0600a7f (patch) | |
tree | 46c85f3d76e3c344f77b646684432f1d851311c2 /drivers/mtd/chips/jedec_probe.c | |
parent | 91949d64548ead31df51c9fb6f7201ca8ffc9b51 (diff) |
[MTD] [NOR] Support for M50FLW080A and M50FLW080B
Add support for M50FLW080A and M50FLW080B revisions of LPC flash
devices.
Signed-off-by: Aaron Lindner <alindner@xes-inc.com>
Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/chips/jedec_probe.c')
-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 aa07575eb288..99f9ed21f660 100644 --- a/drivers/mtd/chips/jedec_probe.c +++ b/drivers/mtd/chips/jedec_probe.c | |||
@@ -141,6 +141,8 @@ | |||
141 | #define M50FW080 0x002D | 141 | #define M50FW080 0x002D |
142 | #define M50FW016 0x002E | 142 | #define M50FW016 0x002E |
143 | #define M50LPW080 0x002F | 143 | #define M50LPW080 0x002F |
144 | #define M50FLW080A 0x0080 | ||
145 | #define M50FLW080B 0x0081 | ||
144 | 146 | ||
145 | /* SST */ | 147 | /* SST */ |
146 | #define SST29EE020 0x0010 | 148 | #define SST29EE020 0x0010 |
@@ -1590,6 +1592,36 @@ static const struct amd_flash_info jedec_table[] = { | |||
1590 | .nr_regions = 1, | 1592 | .nr_regions = 1, |
1591 | .regions = { | 1593 | .regions = { |
1592 | ERASEINFO(0x10000,16), | 1594 | ERASEINFO(0x10000,16), |
1595 | }, | ||
1596 | }, { | ||
1597 | .mfr_id = MANUFACTURER_ST, | ||
1598 | .dev_id = M50FLW080A, | ||
1599 | .name = "ST M50FLW080A", | ||
1600 | .devtypes = CFI_DEVICETYPE_X8, | ||
1601 | .uaddr = MTD_UADDR_UNNECESSARY, | ||
1602 | .dev_size = SIZE_1MiB, | ||
1603 | .cmd_set = P_ID_INTEL_EXT, | ||
1604 | .nr_regions = 4, | ||
1605 | .regions = { | ||
1606 | ERASEINFO(0x1000,16), | ||
1607 | ERASEINFO(0x10000,13), | ||
1608 | ERASEINFO(0x1000,16), | ||
1609 | ERASEINFO(0x1000,16), | ||
1610 | } | ||
1611 | }, { | ||
1612 | .mfr_id = MANUFACTURER_ST, | ||
1613 | .dev_id = M50FLW080B, | ||
1614 | .name = "ST M50FLW080B", | ||
1615 | .devtypes = CFI_DEVICETYPE_X8, | ||
1616 | .uaddr = MTD_UADDR_UNNECESSARY, | ||
1617 | .dev_size = SIZE_1MiB, | ||
1618 | .cmd_set = P_ID_INTEL_EXT, | ||
1619 | .nr_regions = 4, | ||
1620 | .regions = { | ||
1621 | ERASEINFO(0x1000,16), | ||
1622 | ERASEINFO(0x1000,16), | ||
1623 | ERASEINFO(0x10000,13), | ||
1624 | ERASEINFO(0x1000,16), | ||
1593 | } | 1625 | } |
1594 | }, { | 1626 | }, { |
1595 | .mfr_id = MANUFACTURER_TOSHIBA, | 1627 | .mfr_id = MANUFACTURER_TOSHIBA, |