ath79: mikrotik: update nand-rb4xx driver
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>
Fri, 9 Apr 2021 15:12:31 +0000 (17:12 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 17 Apr 2021 19:56:05 +0000 (21:56 +0200)
commitf724a583dcf70bc02bca1750bfb4a5195130b141
tree72222934f3b45eca09af27fabeab3452b51d4c8a
parent07e5e03711d55f94db738446ef9eddc8163b53a6
ath79: mikrotik: update nand-rb4xx driver

This updates the NAND driver for MikroTik RB4XX series to work with
kernel 5.10, similarly to the ar934x-nand driver (fb64e2c3).

Support for kernel 5.10 was added to all ath79 subtargets except for the
mikrotik one by commit d6b785d, since patch 920-mikrotik-rb4xx.patch
needed to be reworked. Later, commit f8512661 enabled kernel 5.10 for
the mikrotik subtarget with the nand-rb4xx driver still pending, which
is updated and added back by this patch.

Compile-tested only.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
target/linux/ath79/files/drivers/mtd/nand/raw/nand_rb4xx.c
target/linux/ath79/patches-5.10/0052-mtd-spi-nor-use-4-bit-locking-for-MX25L12805D.patch
target/linux/ath79/patches-5.10/410-spi-ath79-Implement-the-spi_mem-interface.patch
target/linux/ath79/patches-5.10/920-mikrotik-rb4xx.patch [new file with mode: 0644]