Skip to content

spi-nor: spi-nor-ids: Fix 4 Byte addressing for n25q256 and n25q512*

Vignesh Raghavendra u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and n25q256*drivers/mtd/spi/spi-nor-ids.c+4 -40 replies
2/3spi-nor: spi-nor-ids: Rename mt25qu512a entrydrivers/mtd/spi/spi-nor-ids.c+1 -10 replies
3/3spi-nor: spi-nor-ids: Add entries for newer variants of n25q256* and n25q512*drivers/mtd/spi/spi-nor-ids.c+3 -03 replies
3/3spi-nor: spi-nor-ids: Add entries for newer variants of n25q256* and n25q512*+0 -01 reply
3/3spi-nor: spi-nor-ids: Add entries for newer variants of n25q256* and n25q512*+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH RFT 0/3] spi-nor: spi-nor-ids: Fix 4 Byte addressing for n25q256 and n25q512*

This series removes SPI_NOR_4B_OPCODES flags from legacy variants of n25q256* and n25q512* and adds entries for newer variants of those flashes that support 4 Byte opcodes.

I don't have the flash devices. So its only compile tested.

Ashish, Simon,

I would greatly appreciate if you could test these patches and make sure 4 Byte opcodes are being used. (Probably by enabling/adding prints to cmd->opcode in spi_mem_exec_op() in drivers/spi/spi-mem.c

Euginey,

Could you test this series on top of latest u-boot master and confirm that your test cases still work?

Regards
Vignesh

Vignesh Raghavendra (3):
spi-nor: spi-nor-ids: Disable SPI_NOR_4B_OPCODES for n25q512* and

    n25q256*
  spi-nor: spi-nor-ids: Rename mt25qu512a entry
  spi-nor: spi-nor-ids: Add entries for newer variants of n25q256* and
    n25q512*
 drivers/mtd/spi/spi-nor-ids.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
Signature · 1 line
2.23.0