Commit 5bb30f1a40697e90945e6b80b9517bc7d44b94cb
1 parent
067951223e
Exists in
master
and in
50 other branches
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>
Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff
drivers/mtd/spi/sf_params.c
... | ... | @@ -40,10 +40,10 @@ |
40 | 40 | {"MX25L1605D", 0xc22015, 0x0, 64 * 1024, 32, 0, 0}, |
41 | 41 | {"MX25L3205D", 0xc22016, 0x0, 64 * 1024, 64, 0, 0}, |
42 | 42 | {"MX25L6405D", 0xc22017, 0x0, 64 * 1024, 128, 0, 0}, |
43 | - {"MX25L12805", 0xc22018, 0x0, 64 * 1024, 256, 0, 0}, | |
44 | - {"MX25L25635F", 0xc22019, 0x0, 64 * 1024, 512, 0, 0}, | |
45 | - {"MX25L51235F", 0xc2201a, 0x0, 64 * 1024, 1024, 0, 0}, | |
46 | - {"MX25L12855E", 0xc22618, 0x0, 64 * 1024, 256, 0, 0}, | |
43 | + {"MX25L12805", 0xc22018, 0x0, 64 * 1024, 256, RD_FULL, WR_QPP}, | |
44 | + {"MX25L25635F", 0xc22019, 0x0, 64 * 1024, 512, RD_FULL, WR_QPP}, | |
45 | + {"MX25L51235F", 0xc2201a, 0x0, 64 * 1024, 1024, RD_FULL, WR_QPP}, | |
46 | + {"MX25L12855E", 0xc22618, 0x0, 64 * 1024, 256, RD_FULL, WR_QPP}, | |
47 | 47 | #endif |
48 | 48 | #ifdef CONFIG_SPI_FLASH_SPANSION /* SPANSION */ |
49 | 49 | {"S25FL008A", 0x010213, 0x0, 64 * 1024, 16, 0, 0}, |