openwrt/target/linux
Denis Kalashnikov 2d19e6c6a4 generic: platform/mikrotik: use MTD notifier
If the SPI probe is sufficiently delayed, the routerboot driver may fail
to init as the routerboot partitions are not yet available.

Register an MTD user notifier instead of doing straight init so that the
init subroutines are only executed when the target MTD partitions are
present.

Because the init/exit routines can now be called outside of the kernel
normal init/exit calls, they cannot be jettisoned and must always be
available: the __init and __exit qualifiers are thus removed.

Reported-by: Denis Kalashnikov <denis281089@gmail.com>
Signed-off-by: Denis Kalashnikov <denis281089@gmail.com>
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
[bump hardconfig/softconfig versions]
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2022-01-13 09:33:29 +01:00
..
apm821xx kernel: bump 5.10 to 5.10.90 2022-01-07 22:30:40 +01:00
arc770 kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
archs38 kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
armvirt kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
at91 kernel: filter out both Clang and LLD versions 2021-12-17 16:16:34 +01:00
ath25 ath25: add kernel 5.10 support 2021-12-27 16:00:21 +00:00
ath79 ath79: qca955x: remove double declaration 2022-01-13 09:33:29 +01:00
bcm27xx kernel: bump 5.10 to 5.10.90 2022-01-07 22:30:40 +01:00
bcm47xx bcm47xx: switch to kernel 5.10 2021-11-08 15:56:39 +01:00
bcm53xx kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
bcm63xx kernel: filter out both Clang and LLD versions 2021-12-17 16:16:34 +01:00
bcm4908 bcm4908: include ATF in bootfs images 2021-12-24 23:07:39 +01:00
bmips kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
gemini kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
generic generic: platform/mikrotik: use MTD notifier 2022-01-13 09:33:29 +01:00
imx imx: bump SDMA firmware to v3.6 2022-01-13 09:33:29 +01:00
ipq40xx mikrotik: enable variable size erase 2022-01-13 09:33:29 +01:00
ipq806x ipq806x: janitorial work, respect line lengths 2022-01-08 23:25:05 +01:00
kirkwood kernel: bump 5.10 to 5.10.90 2022-01-07 22:30:40 +01:00
lantiq lantiq: replace patches with version accepted upstream 2022-01-08 19:32:45 +01:00
layerscape kernel: bump 5.4 to 5.4.169 2022-01-03 01:00:03 +01:00
malta kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
mediatek mediatek: mt7623: Re-enable ARM arch timer 2022-01-10 13:45:41 +00:00
mpc85xx kernel: bump 5.10 to 5.10.88 2021-12-27 16:00:21 +00:00
mvebu mvebu: puzzle: wan LED and fix default network 2021-12-23 20:17:47 +00:00
mxs kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
octeon kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
octeontx kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
omap kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
oxnas kernel: bump 5.10 to 5.10.85 2021-12-17 15:10:22 +01:00
pistachio kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
qoriq qoriq: Expand generic subtarget description 2022-01-05 10:54:59 +02:00
ramips mikrotik: make soft_config writable 2022-01-13 09:33:29 +01:00
realtek kernel: bump 5.4 to 5.4.169 2022-01-03 01:00:03 +01:00
rockchip rockchip: remove Kernel 5.4 2021-12-27 03:13:36 +01:00
sunxi kernel: bump 5.10 to 5.10.89 2022-01-03 01:00:03 +01:00
tegra kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
uml uml: drop Kernel 5.4 2022-01-04 13:06:03 +01:00
x86 x86: improve sysinfo handling of dummy values 2022-01-08 23:25:05 +01:00
zynq kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00