aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2013-07-20 19:07:33 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-08-05 16:04:17 -0400
commitfe2f4c8e0bf2756b670ee78fa9772613a2ea8495 (patch)
tree1bd296fc12fda1a2ab8b6ea6bc685c513ef501ea /drivers/mtd/chips
parentedc9cba495680a8a4968ed204b5c9f61a991bf4f (diff)
mtd: jedec_probe: fix LH28F640BF definition
Zaurus 5500 contains 2 LH28F640BFHE-PTTL90 (64M 4Mx16) and the LH28F640BFHE-PTTL90.pdf datasheet available on the net shows the exact erasesize and the OTP support. At the moment only jedec_probe can discover the chip and the NOR is mounted read only probably because of wrong vpp. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/chips')
-rw-r--r--drivers/mtd/chips/jedec_probe.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index c443f527a53a..7c0b27d132b1 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -120,7 +120,7 @@
120#define PM49FL008 0x006A 120#define PM49FL008 0x006A
121 121
122/* Sharp */ 122/* Sharp */
123#define LH28F640BF 0x00b0 123#define LH28F640BF 0x00B0
124 124
125/* ST - www.st.com */ 125/* ST - www.st.com */
126#define M29F800AB 0x0058 126#define M29F800AB 0x0058
@@ -1299,13 +1299,14 @@ static const struct amd_flash_info jedec_table[] = {
1299 .mfr_id = CFI_MFR_SHARP, 1299 .mfr_id = CFI_MFR_SHARP,
1300 .dev_id = LH28F640BF, 1300 .dev_id = LH28F640BF,
1301 .name = "LH28F640BF", 1301 .name = "LH28F640BF",
1302 .devtypes = CFI_DEVICETYPE_X8, 1302 .devtypes = CFI_DEVICETYPE_X16,
1303 .uaddr = MTD_UADDR_UNNECESSARY, 1303 .uaddr = MTD_UADDR_UNNECESSARY,
1304 .dev_size = SIZE_4MiB, 1304 .dev_size = SIZE_8MiB,
1305 .cmd_set = P_ID_INTEL_STD, 1305 .cmd_set = P_ID_INTEL_EXT,
1306 .nr_regions = 1, 1306 .nr_regions = 2,
1307 .regions = { 1307 .regions = {
1308 ERASEINFO(0x40000,16), 1308 ERASEINFO(0x10000, 127),
1309 ERASEINFO(0x02000, 8),
1309 } 1310 }
1310 }, { 1311 }, {
1311 .mfr_id = CFI_MFR_SST, 1312 .mfr_id = CFI_MFR_SST,