Takahiro Kuwano f58e7b24fa mtd: spi-nor-core: Rework spansion_read/write_any_reg() to use addr_mode_nbytes
Read/Write Any Register commands take 3- or 4- byte address depending on
flash's internal address mode. The nor->addr_width tracks number of
address bytes used in read/program/erase ops that can be 4
(with 4B opcodes) regardless of flash's internal address mode. The
nor->addr_mode_nbytes tracks flash's internal address mode so replace
nor->addr_width by that.

Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2022-10-23 10:50:26 +05:30
..
2022-04-25 09:25:00 +02:00
2022-09-25 08:30:05 -06:00
2022-10-21 13:47:56 -04:00
2022-09-16 11:05:16 -04:00
2022-08-04 16:18:47 -04:00
2022-09-19 16:07:12 -04:00
2022-10-17 21:17:12 -06:00
2022-10-19 14:15:02 +01:00
2022-10-16 12:23:22 +02:00
2022-09-16 11:05:16 -04:00
2022-10-11 16:03:03 -04:00
2022-09-03 16:59:05 +03:00
2022-05-03 21:39:22 +02:00
2022-10-17 21:17:12 -06:00
2022-09-16 11:05:16 -04:00