diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-07-28 07:14:50 +0300 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-10-25 05:11:35 +0300 |
commit | 05ebc1ccb8affcbaaa9f8b8fe56839cbfc9b9144 (patch) | |
tree | 4a415ccc3e54be040c4586ceec235984c069430a /lib/logic_iomem.c | |
parent | aff1fa414a85f63f4ef5af75a9d1dc7e8f840e86 (diff) | |
download | linux-05ebc1ccb8affcbaaa9f8b8fe56839cbfc9b9144.tar.bz2 |
mtd: spi-nor: spansion: 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.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Tested-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Link: https://lore.kernel.org/r/20220728041451.85559-2-tudor.ambarus@microchip.com
Diffstat (limited to 'lib/logic_iomem.c')
0 files changed, 0 insertions, 0 deletions