aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/chips')
-rw-r--r--drivers/mtd/chips/cfi_cmdset_0002.c4
-rw-r--r--drivers/mtd/chips/gen_probe.c4
-rw-r--r--drivers/mtd/chips/jedec_probe.c13
3 files changed, 10 insertions, 11 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
index fff665d59a0d..89b9d6891532 100644
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -1571,8 +1571,8 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
1571 xip_enable(map, chip, adr); 1571 xip_enable(map, chip, adr);
1572 /* FIXME - should have reset delay before continuing */ 1572 /* FIXME - should have reset delay before continuing */
1573 1573
1574 printk(KERN_WARNING "MTD %s(): software timeout\n", 1574 printk(KERN_WARNING "MTD %s(): software timeout, address:0x%.8lx.\n",
1575 __func__ ); 1575 __func__, adr);
1576 1576
1577 ret = -EIO; 1577 ret = -EIO;
1578 op_done: 1578 op_done:
diff --git a/drivers/mtd/chips/gen_probe.c b/drivers/mtd/chips/gen_probe.c
index 74dbb6bcf488..ffb36ba8a6e0 100644
--- a/drivers/mtd/chips/gen_probe.c
+++ b/drivers/mtd/chips/gen_probe.c
@@ -211,9 +211,7 @@ static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map,
211 211
212 probe_function = __symbol_get(probename); 212 probe_function = __symbol_get(probename);
213 if (!probe_function) { 213 if (!probe_function) {
214 char modname[sizeof("cfi_cmdset_%4.4X")]; 214 request_module("cfi_cmdset_%4.4X", type);
215 sprintf(modname, "cfi_cmdset_%4.4X", type);
216 request_module(modname);
217 probe_function = __symbol_get(probename); 215 probe_function = __symbol_get(probename);
218 } 216 }
219 217
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,