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

Tudor Ambarus tudor.ambarus at microchip.com
Mon Oct 24 19:33:01 PDT 2022


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 at microchip.com>



More information about the linux-mtd mailing list