aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips/jedec_probe.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-09-09 13:33:19 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-09 13:33:19 -0400
commitef9a61bef917e38f8e096f6df303329aed6cf467 (patch)
tree31cfe2444d0270e77ff8ef792df11591fed6075c /drivers/mtd/chips/jedec_probe.c
parentb5f0998cae3d7ea56d3d8377e46328fe972b9546 (diff)
parent6c3b88970175e18a67eb8e55c4eba10614d0d5dc (diff)
Merge tag 'for-linus-20130909' of git://git.infradead.org/linux-mtd
Pull mtd updates from David Woodhouse: - factor out common code from MTD tests - nand-gpio cleanup and portability to non-ARM - m25p80 support for 4-byte addressing chips, other new chips - pxa3xx cleanup and support for new platforms - remove obsolete alauda, octagon-5066 drivers - erase/write support for bcm47xxsflash - improve detection of ECC requirements for NAND, controller setup - NFC acceleration support for atmel-nand, read/write via SRAM - etc * tag 'for-linus-20130909' of git://git.infradead.org/linux-mtd: (184 commits) mtd: chips: Add support for PMC SPI Flash chips in m25p80.c mtd: ofpart: use for_each_child_of_node() macro mtd: mtdswap: replace strict_strtoul() with kstrtoul() mtd cs553x_nand: use kzalloc() instead of memset mtd: atmel_nand: fix error return code in atmel_nand_probe() mtd: bcm47xxsflash: writing support mtd: bcm47xxsflash: implement erasing support mtd: bcm47xxsflash: convert to module_platform_driver instead of init/exit mtd: bcm47xxsflash: convert kzalloc to avoid invalid access mtd: remove alauda driver mtd: nand: mxc_nand: mark 'const' properly mtd: maps: cfi_flagadm: add missing __iomem annotation mtd: spear_smi: add missing __iomem annotation mtd: r852: Staticize local symbols mtd: nandsim: Staticize local symbols mtd: impa7: add missing __iomem annotation mtd: sm_ftl: Staticize local symbols mtd: m25p80: add support for mr25h10 mtd: m25p80: make CONFIG_M25PXX_USE_FAST_READ safe to enable mtd: m25p80: Pass flags through CAT25_INFO macro ...
Diffstat (limited to 'drivers/mtd/chips/jedec_probe.c')
-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,