* [PATCH 0/2] mtd: spi-nor: manufacturers: Replace hardcoded values for addr_nbytes/addr_mode_nbytes
@ 2022-07-28 4:13 Tudor Ambarus
0 siblings, 0 replies; 3+ messages in thread
From: Tudor Ambarus @ 2022-07-28 4:13 UTC (permalink / raw)
To: p.yadav, michael, Takahiro.Kuwano, tkuw584924
Cc: miquel.raynal, richard, vigneshr, Bacem.Daassi, linux-mtd, Tudor Ambarus
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(-)
--
2.25.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 0/2] mtd: spi-nor: manufacturers: Replace hardcoded values for addr_nbytes/addr_mode_nbytes
@ 2022-07-28 4:14 Tudor Ambarus
2022-10-25 2:33 ` Tudor Ambarus
0 siblings, 1 reply; 3+ messages in thread
From: Tudor Ambarus @ 2022-07-28 4:14 UTC (permalink / raw)
To: p.yadav, michael, Takahiro.Kuwano, tkuw584924
Cc: miquel.raynal, richard, vigneshr, Bacem.Daassi, linux-mtd, Tudor Ambarus
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(-)
--
2.25.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/2] mtd: spi-nor: manufacturers: Replace hardcoded values for addr_nbytes/addr_mode_nbytes
2022-07-28 4:14 Tudor Ambarus
@ 2022-10-25 2:33 ` Tudor Ambarus
0 siblings, 0 replies; 3+ messages in thread
From: Tudor Ambarus @ 2022-10-25 2:33 UTC (permalink / raw)
To: Takahiro.Kuwano, tkuw584924, tudor.ambarus, michael, p.yadav
Cc: linux-mtd, miquel.raynal, Bacem.Daassi, richard, vigneshr
On Thu, 28 Jul 2022 07:14:49 +0300, Tudor Ambarus wrote:
> 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.
>
> [...]
Applied to spi-nor/next, thanks!
[1/2] mtd: spi-nor: spansion: Replace hardcoded values for addr_nbytes/addr_mode_nbytes
https://git.kernel.org/mtd/c/05ebc1ccb8af
[2/2] mtd: spi-nor: micron-st.c: Replace hardcoded values for addr_nbytes/addr_mode_nbytes
https://git.kernel.org/mtd/c/2fe99a867050
Best regards,
--
Tudor Ambarus <tudor.ambarus@microchip.com>
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-25 2:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-28 4:13 [PATCH 0/2] mtd: spi-nor: manufacturers: Replace hardcoded values for addr_nbytes/addr_mode_nbytes Tudor Ambarus
2022-07-28 4:14 Tudor Ambarus
2022-10-25 2:33 ` Tudor Ambarus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).