diff options
Diffstat (limited to 'drivers/mtd/devices/m25p80.c')
-rw-r--r-- | drivers/mtd/devices/m25p80.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index cc6369ea67dd..ae5fe91867e1 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #define SR_SRWD 0x80 /* SR write protect */ | 54 | #define SR_SRWD 0x80 /* SR write protect */ |
55 | 55 | ||
56 | /* Define max times to check status register before we give up. */ | 56 | /* Define max times to check status register before we give up. */ |
57 | #define MAX_READY_WAIT_JIFFIES (10 * HZ) /* eg. M25P128 specs 6s max sector erase */ | 57 | #define MAX_READY_WAIT_JIFFIES (40 * HZ) /* M25P16 specs 40s max chip erase */ |
58 | #define CMD_SIZE 4 | 58 | #define CMD_SIZE 4 |
59 | 59 | ||
60 | #ifdef CONFIG_M25PXX_USE_FAST_READ | 60 | #ifdef CONFIG_M25PXX_USE_FAST_READ |
@@ -500,6 +500,9 @@ static struct flash_info __devinitdata m25p_data [] = { | |||
500 | { "at26df161a", 0x1f4601, 0, 64 * 1024, 32, SECT_4K, }, | 500 | { "at26df161a", 0x1f4601, 0, 64 * 1024, 32, SECT_4K, }, |
501 | { "at26df321", 0x1f4701, 0, 64 * 1024, 64, SECT_4K, }, | 501 | { "at26df321", 0x1f4701, 0, 64 * 1024, 64, SECT_4K, }, |
502 | 502 | ||
503 | /* Macronix */ | ||
504 | { "mx25l12805d", 0xc22018, 0, 64 * 1024, 256, }, | ||
505 | |||
503 | /* Spansion -- single (large) sector size only, at least | 506 | /* Spansion -- single (large) sector size only, at least |
504 | * for the chips listed here (without boot sectors). | 507 | * for the chips listed here (without boot sectors). |
505 | */ | 508 | */ |
@@ -528,6 +531,7 @@ static struct flash_info __devinitdata m25p_data [] = { | |||
528 | { "m25p64", 0x202017, 0, 64 * 1024, 128, }, | 531 | { "m25p64", 0x202017, 0, 64 * 1024, 128, }, |
529 | { "m25p128", 0x202018, 0, 256 * 1024, 64, }, | 532 | { "m25p128", 0x202018, 0, 256 * 1024, 64, }, |
530 | 533 | ||
534 | { "m45pe10", 0x204011, 0, 64 * 1024, 2, }, | ||
531 | { "m45pe80", 0x204014, 0, 64 * 1024, 16, }, | 535 | { "m45pe80", 0x204014, 0, 64 * 1024, 16, }, |
532 | { "m45pe16", 0x204015, 0, 64 * 1024, 32, }, | 536 | { "m45pe16", 0x204015, 0, 64 * 1024, 32, }, |
533 | 537 | ||