Skip to content

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

Tudor Ambarus linux-mtd 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

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/