summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/sf_params.c
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-12-26 14:16:50 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2014-01-11 16:51:39 +0530
commit5bb30f1a40697e90945e6b80b9517bc7d44b94cb (patch)
treed49bf3c0594e1b91f3684fdf85e90b7e91506417 /drivers/mtd/spi/sf_params.c
parent067951223e3305fce3df972c1970f6ab1ef15e98 (diff)
sf: probe: Enable macronix quad read/write cmds support
Added macronix flash quad read/write commands support and it's up to the respective controller driver usecase to configure the respective commands by defining SPI RX/TX operation modes from include/spi.h on the driver. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'drivers/mtd/spi/sf_params.c')
-rw-r--r--drivers/mtd/spi/sf_params.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c
index ad101fb6ff..4cdb4c21c8 100644
--- a/drivers/mtd/spi/sf_params.c
+++ b/drivers/mtd/spi/sf_params.c
@@ -40,10 +40,10 @@ const struct spi_flash_params spi_flash_params_table[] = {
{"MX25L1605D", 0xc22015, 0x0, 64 * 1024, 32, 0, 0},
{"MX25L3205D", 0xc22016, 0x0, 64 * 1024, 64, 0, 0},
{"MX25L6405D", 0xc22017, 0x0, 64 * 1024, 128, 0, 0},
- {"MX25L12805", 0xc22018, 0x0, 64 * 1024, 256, 0, 0},
- {"MX25L25635F", 0xc22019, 0x0, 64 * 1024, 512, 0, 0},
- {"MX25L51235F", 0xc2201a, 0x0, 64 * 1024, 1024, 0, 0},
- {"MX25L12855E", 0xc22618, 0x0, 64 * 1024, 256, 0, 0},
+ {"MX25L12805", 0xc22018, 0x0, 64 * 1024, 256, RD_FULL, WR_QPP},
+ {"MX25L25635F", 0xc22019, 0x0, 64 * 1024, 512, RD_FULL, WR_QPP},
+ {"MX25L51235F", 0xc2201a, 0x0, 64 * 1024, 1024, RD_FULL, WR_QPP},
+ {"MX25L12855E", 0xc22618, 0x0, 64 * 1024, 256, RD_FULL, WR_QPP},
#endif
#ifdef CONFIG_SPI_FLASH_SPANSION /* SPANSION */
{"S25FL008A", 0x010213, 0x0, 64 * 1024, 16, 0, 0},