Re: [PATCH RESEND v5 11/13] spi: airoha: set custom sector size equal to flash page size

From: AngeloGioacchino Del Regno
Date: Wed Oct 01 2025 - 07:34:17 EST


Il 30/09/25 04:26, Mikhail Kshevetskiy ha scritto:
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@xxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>