[PATCH] mtd: spi-nor-ids: Add support for Winbond W77Q51NW

Prasanth Mantena p-mantena at ti.com
Tue Jul 22 13:56:51 CEST 2025


On 18:17, Marek Vasut wrote:
> On 7/21/25 2:03 PM, Prasanth Mantena wrote:
> 
> Hi,
> 
> > > diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
> > > index e7e97780d7c..0383175beb5 100644
> > > --- a/drivers/mtd/spi/spi-nor-ids.c
> > > +++ b/drivers/mtd/spi/spi-nor-ids.c
> > > @@ -591,6 +591,7 @@ const struct flash_info spi_nor_ids[] = {
> > >   	{ INFO("w25m512jw", 0xef6119, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> > >   	{ INFO("w25m512jv", 0xef7119, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> > >   	{ INFO("w25h02jv", 0xef9022, 0, 64 * 1024, 4096, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> > > +	{ INFO("w77q51nw", 0xef8a1a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
> > 
> > Hi Marek,
> > 
> > Is there a place where we can refer to the datasheet.
> 
> Please ask Winbond .
> 
> > According to commit message, Its similar flash part W25Q512NWM seems
> > to have 4Byte address mode but capability is not seen in the code [0].
> > Is this some limitation that goes with this flash as well.
> > 
> > [0] https://elixir.bootlin.com/u-boot/v2025.07/source/drivers/mtd/spi/spi-nor-ids.c#L553
> W25Q512NWM should be updated with SPI_NOR_4B_OPCODES too, that's for
> separate patch, but someone would have to test such patch on that flash.
Understood.

Thanks,
Prasanth


More information about the U-Boot mailing list