Skip to content

Commit 00cf85d

Browse files
committed
drivers: flash: flash_mcux_flexspi_nor: Add support for memory W25Q256
Memory W25Q256 support added into flash driver. If someone uses this memory, the driver will configured into 4-bytes address mode which will cause issues with the bootROM for some NXP's RTs/RW microcontrollers. Signed-off-by: Missael Maciel <davidmissael.maciel@nxp.com>
1 parent 79e6e32 commit 00cf85d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/flash/flash_mcux_flexspi_nor.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,6 +1357,7 @@ static int flash_flexspi_nor_check_jedec(struct flash_flexspi_nor_data *data,
13571357
}
13581358
/* Still return an error- we want the JEDEC configuration to run */
13591359
return -ENOTSUP;
1360+
case 0x1940ef: /* W25Q256JV-IQ/IN flash, uses identical LUT than W25Q512JV*/
13601361
case 0x2040ef:
13611362
/* W25Q512JV-IQ/IN flash, use 4 byte read/write */
13621363
flexspi_lut[READ][0] = FLEXSPI_LUT_SEQ(

0 commit comments

Comments
 (0)