mtd: spi-nor: manufacturers: Replace hardcoded values for addr_nbytes/addr_mode_nbytes
Status from this message: Applied to spi-nor/next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mtd: spi-nor: spansion: Replace hardcoded values for addr_nbytes/addr_mode_nbytesdrivers/ | +11 | 3 replies | |
| 2/2 | mtd: spi-nor: micron-st.c: Replace hardcoded values for addr_nbytes/addr_mode_nbytesdrivers/ | +7 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Takahiro Kuwano |
|---|---|
| 1/2 | T-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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/