Skip to content

mtd: spi-nor: manufacturers: Replace hardcoded values for addr_nbytes/addr_mode_nbytes

Tudor Ambarus linux-mtd 1 version Applied

Status from this message: Applied to spi-nor/next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2mtd: spi-nor: spansion: Replace hardcoded values for addr_nbytes/addr_mode_nbytesdrivers/mtd/spi-nor/spansion.c+11 -53 replies
2/2mtd: spi-nor: micron-st.c: Replace hardcoded values for addr_nbytes/addr_mode_nbytesdrivers/mtd/spi-nor/micron-st.c+7 -30 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchTakahiro Kuwano
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] mtd: spi-nor: manufacturers: Replace hardcoded values for addr_nbytes/addr_mode_nbytes

We track in the core the internal address mode of the flash. Stop using hardcoded values for the number of bytes of address and use nor->addr_nbytes and nor->params->addr_mode_nbytes instead.

I don't have those flashes to test the changes, so I'll need some Tested-by tags.

Tudor Ambarus (2):
mtd: spi-nor: spansion: Replace hardcoded values for
addr_nbytes/addr_mode_nbytes
mtd: spi-nor: micron-st.c: Replace hardcoded values for
addr_nbytes/addr_mode_nbytes

 drivers/mtd/spi-nor/micron-st.c | 10 +++++++---
 drivers/mtd/spi-nor/spansion.c  | 16 +++++++++++-----
 2 files changed, 18 insertions(+), 8 deletions(-)
Signature · 6 lines
2.25.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/