[PATCH] mtd: spi-nor-ids: Add support for W25Q02NW
Tudor Ambarus
tudor.ambarus at linaro.org
Mon Nov 25 08:30:05 CET 2024
On 11/22/24 9:40 AM, Venkatesh Yadav Abbarapu wrote:
> Add support for Winbond 256MB flash W25Q02NW which supports 4byte
> opcodes and also dual and quad read.
>
> Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally at amd.com>
> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
> ---
> drivers/mtd/spi/spi-nor-ids.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
> index 91ae49c948..d5258a1fc3 100644
> --- a/drivers/mtd/spi/spi-nor-ids.c
> +++ b/drivers/mtd/spi/spi-nor-ids.c
> @@ -569,6 +569,11 @@ const struct flash_info spi_nor_ids[] = {
> SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
> SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
> },
> + {
> + INFO("w25q02nw", 0xef8022, 0, 64 * 1024, 4096,
> + SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ |
> + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_4B_OPCODES)
> + },
Does this flash support SFDP? If yes, are all these flags needed?
More information about the U-Boot
mailing list