mvebu: fix support for Marvell 8040 MACCHIATOBin
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 10 Jul 2020 08:28:13 +0000 (10:28 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 11 Jul 2020 16:38:42 +0000 (18:38 +0200)
commit9faf9f8f23f43300bfb892abe6513ead30374e20
tree2ef14178c6fa7909677fae5e861d7d979aaba0b0
parentcef9e5a49f496b64449fca6814fc1b66a45601c3
mvebu: fix support for Marvell 8040 MACCHIATOBin

Between kernels 4.20 and 5.0, a new variant of this board has been
introduced ("Single Shot"), and the existing one has been renamed
with the appendix "Double Shot". [1]
This also adjusted the first compatible in the list:

marvell,armada8040-mcbin -> marvell,armada8040-mcbin-doubleshot

This patch updates the OpenWrt implementation of this device by
adjusting the relevant references to that compatible (i.e., our
board name).

To still provide support for 4.19 with our setup, this adds a
small patch to change the compatible there as well.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b1f0bbe2700051886b954192b6c1751233fe0f52

Cc: Tomasz Maciej Nowak <tomek_n@o2.pl>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
package/boot/uboot-envtools/files/mvebu
target/linux/mvebu/cortexa72/base-files/etc/board.d/02_network
target/linux/mvebu/cortexa72/base-files/lib/upgrade/platform.sh
target/linux/mvebu/image/cortexa72.mk
target/linux/mvebu/patches-4.19/260-align-mcbin-compatible-with-5.4.patch [new file with mode: 0644]