mediatek: mt7622: add spi-nand support for bananapi bpi-r64
authorOskari Lemmela <oskari@lemmela.net>
Sat, 10 Apr 2021 17:16:08 +0000 (20:16 +0300)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 11 Apr 2021 19:19:44 +0000 (20:19 +0100)
commit3c23a7c03dc9821d25f3fd2a8ab17a4c460c3584
treec160c7a241ebb5f5fb9f1c21f78a86dc798667f6
parent987562bad2d8d48297829070bfdbaf0a0a423a27
mediatek: mt7622: add spi-nand support for bananapi bpi-r64

Some of bpi-r64 boards have serial NAND attached to SPI bus.
Add SD card image support for installing openwrt to it.
Default to nand upgrade if root device is not mmc block device.

Separate preloader and uboot images for snand are generated.

Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
target/linux/mediatek/image/mt7622.mk
target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh
target/linux/mediatek/patches-5.10/115-dts-bpi64-add-snand-support.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.4/115-dts-bpi64-add-snand-support.patch [new file with mode: 0644]