Skip to content

Commit 1371a80

Browse files
David Clearambarus
authored andcommitted
mtd: spi-nor: micron: Add SPI_NOR_DUAL_READ flag on mt25qu02g
The Micron mt25qu02g supports both x2 and x4 transactions. Add the SPI_NOR_DUAL_READ flag to its spi_nor_ids[] table entry. Tested on Pensando SoC hardware with a cadence quadspi controller via drivers/spi/spi-cadence-quadspi.c, in x2 mode at 50MHz. - random data write, erase, read - verified erase operations - random data write, read/compare - verified write/read operations Signed-off-by: David Clear <[email protected]> Acked-by: Shannon Nelson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Tudor Ambarus <[email protected]>
1 parent 48029e6 commit 1371a80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/mtd/spi-nor/micron-st.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ static const struct flash_info st_parts[] = {
7171
SECT_4K | USE_FSR | SPI_NOR_QUAD_READ |
7272
NO_CHIP_ERASE) },
7373
{ "mt25qu02g", INFO(0x20bb22, 0, 64 * 1024, 4096,
74-
SECT_4K | USE_FSR | SPI_NOR_QUAD_READ |
75-
NO_CHIP_ERASE) },
74+
SECT_4K | USE_FSR | SPI_NOR_DUAL_READ |
75+
SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
7676

7777
{ "m25p05", INFO(0x202010, 0, 32 * 1024, 2, 0) },
7878
{ "m25p10", INFO(0x202011, 0, 32 * 1024, 4, 0) },

0 commit comments

Comments
 (0)