openwrt/target/linux
Mikhail Kshevetskiy a406e38077 airoha: spi: remove snfi driver dirty hack
This patch series removes dirty hack that reads flash page settings from
SNFI registers during driver startup.

Before these patches the airoha spi snfi driver needs to know spinand
flash page size. The driver can't get it from spinand subsystem, so the
following approach was implemented:
 * bootloader know the flash page size (and some other parameters)
 * to operate properly the bootloader writes flash page size (and some
   other parameters) to SNFI registers
 * bootloader starts linux
 * after linux start SNFI registers keeps the values stored by bootloader
 * linux snfi driver reads flash parameters from SNFI registers.

This works, but we can do better. It has been proven that flash page size
is actually unnecessary. We can get all required data from dirmap requests.

This patch series drops the hack and do things properly.

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Link: https://github.com/openwrt/openwrt/pull/20295
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-10-09 16:37:25 +02:00
..
airoha airoha: spi: remove snfi driver dirty hack 2025-10-09 16:37:25 +02:00
apm821xx
armsr
at91
ath79 treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
bcm27xx kernel: bump 6.12 to 6.12.50 2025-10-04 16:18:49 +02:00
bcm47xx
bcm53xx kernel: bump 6.6 to 6.6.103 2025-09-01 02:05:24 +02:00
bcm4908
bmips treewide: remove of_gpio.h 2025-09-20 12:47:23 +02:00
d1
econet econet: Add basic USB support with Mass Storage 2025-09-18 22:36:28 +02:00
gemini gemini: Add module for VSC73xx switches 2025-09-15 23:12:56 +02:00
generic kernel: mtd: spinand: continuous mode fixes 2025-10-09 16:37:25 +02:00
imx kernel: bump 6.6 to 6.6.103 2025-09-01 02:05:24 +02:00
ipq40xx ipq40xx: clkreq-gpio to clkreg-gpios 2025-10-08 14:26:24 +02:00
ipq806x treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
ixp4xx ixp4xx: Add back Actiontec MI424WR A/C/D 2025-09-26 23:40:40 +02:00
kirkwood treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
lantiq treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
layerscape
loongarch64 loongarch64: switch to Linux 6.12 by default 2025-09-09 00:10:31 +02:00
malta
mediatek kernel: mtd: spinand: continuous mode fixes 2025-10-09 16:37:25 +02:00
mpc85xx
mvebu treewide: gpio to gpios 2025-10-08 14:26:24 +02:00
mxs
octeon treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
omap
pistachio treewide: reset-gpio to reset-gpios 2025-10-08 14:26:24 +02:00
qoriq
qualcommax qualcommax: ipq50xx: Add support for Yuncore AX850 2025-10-09 13:36:37 +02:00
qualcommbe kernel: bump 6.12 to 6.12.45 2025-09-07 11:42:46 +02:00
ramips treewide: enable-gpio to enable-gpios 2025-10-08 14:26:24 +02:00
realtek realtek: rtl930x: add XGS1250-12 B1 device 2025-10-07 00:25:02 +02:00
rockchip rockchip: make use of OpenWrt compiled dtbs 2025-10-04 15:01:50 +02:00
sifiveu
siflower treewide: gpio to gpios 2025-10-08 14:26:24 +02:00
starfive kernel: bump 6.12 to 6.12.48 2025-09-21 12:14:36 +02:00
stm32
sunxi sunxi: add F1C100 (arm926ej-s) support 2025-10-06 10:26:56 +02:00
tegra
uml
x86 x86: rename and configure Mellanox Spectrum interfaces 2025-10-06 19:06:26 +02:00
zynq zynq: disable unused Vitesse PHY 2025-09-08 14:21:50 +02:00
Makefile