diff options
| author | 2025-10-12 15:17:02 +0300 | |
|---|---|---|
| committer | 2025-10-17 13:30:51 +0100 | |
| commit | fb81b5cecb8553e3ca2b45288cf340d43c9c2991 (patch) | |
| tree | 5f0b8d2e8dfc3007f50ec7a67629039b27a491d2 /include/linux/dsa/ssh:/git@git.zx2c4.com | |
| parent | spi: airoha: reduce the number of modification of REG_SPI_NFI_CNFG and REG_SPI_NFI_SECCUS_SIZE registers (diff) | |
spi: airoha: set custom sector size equal to flash page size
Set custom sector size equal to flash page size including oob. Thus we
will always read a single sector. The maximum custom sector size is
8187, so all possible flash sector sizes are supported.
This patch is a necessary step to avoid reading flash page settings
from SNFI registers during driver startup.
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20251012121707.2296160-12-mikhail.kshevetskiy@iopsys.eu
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/dsa/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
