diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-09-23 00:49:39 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-09-23 03:07:00 -0400 |
commit | e1070211f7327a1f197d535aa886f721a241c32f (patch) | |
tree | 7b8f99ee07a78dbfa500e277da5ed1b1a263dacf /drivers | |
parent | 8b85e7cbcfedfcdc2fa1bcc8945f23fc6ad3d07f (diff) |
mtd: jedec_probe: add PSD4256G6V id
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/chips/jedec_probe.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c index 16bc2fa8128a..736a3be265f2 100644 --- a/drivers/mtd/chips/jedec_probe.c +++ b/drivers/mtd/chips/jedec_probe.c | |||
@@ -155,6 +155,7 @@ | |||
155 | #define M50LPW080 0x002F | 155 | #define M50LPW080 0x002F |
156 | #define M50FLW080A 0x0080 | 156 | #define M50FLW080A 0x0080 |
157 | #define M50FLW080B 0x0081 | 157 | #define M50FLW080B 0x0081 |
158 | #define PSD4256G6V 0x00e9 | ||
158 | 159 | ||
159 | /* SST */ | 160 | /* SST */ |
160 | #define SST29EE020 0x0010 | 161 | #define SST29EE020 0x0010 |
@@ -206,6 +207,7 @@ enum uaddr { | |||
206 | MTD_UADDR_0x0555_0x02AA, | 207 | MTD_UADDR_0x0555_0x02AA, |
207 | MTD_UADDR_0x0555_0x0AAA, | 208 | MTD_UADDR_0x0555_0x0AAA, |
208 | MTD_UADDR_0x5555_0x2AAA, | 209 | MTD_UADDR_0x5555_0x2AAA, |
210 | MTD_UADDR_0x0AAA_0x0554, | ||
209 | MTD_UADDR_0x0AAA_0x0555, | 211 | MTD_UADDR_0x0AAA_0x0555, |
210 | MTD_UADDR_0xAAAA_0x5555, | 212 | MTD_UADDR_0xAAAA_0x5555, |
211 | MTD_UADDR_DONT_CARE, /* Requires an arbitrary address */ | 213 | MTD_UADDR_DONT_CARE, /* Requires an arbitrary address */ |
@@ -250,6 +252,11 @@ static const struct unlock_addr unlock_addrs[] = { | |||
250 | .addr2 = 0x2aaa | 252 | .addr2 = 0x2aaa |
251 | }, | 253 | }, |
252 | 254 | ||
255 | [MTD_UADDR_0x0AAA_0x0554] = { | ||
256 | .addr1 = 0x0AAA, | ||
257 | .addr2 = 0x0554 | ||
258 | }, | ||
259 | |||
253 | [MTD_UADDR_0x0AAA_0x0555] = { | 260 | [MTD_UADDR_0x0AAA_0x0555] = { |
254 | .addr1 = 0x0AAA, | 261 | .addr1 = 0x0AAA, |
255 | .addr2 = 0x0555 | 262 | .addr2 = 0x0555 |
@@ -1744,6 +1751,18 @@ static const struct amd_flash_info jedec_table[] = { | |||
1744 | ERASEINFO(0x1000,16), | 1751 | ERASEINFO(0x1000,16), |
1745 | } | 1752 | } |
1746 | }, { | 1753 | }, { |
1754 | .mfr_id = 0xff00 | MANUFACTURER_ST, | ||
1755 | .dev_id = 0xff00 | PSD4256G6V, | ||
1756 | .name = "ST PSD4256G6V", | ||
1757 | .devtypes = CFI_DEVICETYPE_X16, | ||
1758 | .uaddr = MTD_UADDR_0x0AAA_0x0554, | ||
1759 | .dev_size = SIZE_1MiB, | ||
1760 | .cmd_set = P_ID_AMD_STD, | ||
1761 | .nr_regions = 1, | ||
1762 | .regions = { | ||
1763 | ERASEINFO(0x10000,16), | ||
1764 | } | ||
1765 | }, { | ||
1747 | .mfr_id = MANUFACTURER_TOSHIBA, | 1766 | .mfr_id = MANUFACTURER_TOSHIBA, |
1748 | .dev_id = TC58FVT160, | 1767 | .dev_id = TC58FVT160, |
1749 | .name = "Toshiba TC58FVT160", | 1768 | .name = "Toshiba TC58FVT160", |