kernel: mtdsplit_uimage: replace "netgear, uimage" parser
authorBjørn Mork <bjorn@mork.no>
Wed, 20 Jan 2021 17:36:51 +0000 (18:36 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 22 Jan 2021 20:03:11 +0000 (21:03 +0100)
commitff7709d223e15cfc496abf09acae12826d9216e6
treef154e1438e4762a86360261acb42a788365b1ded
parentde64d4b9586c86018097fc33ce3210128da11287
kernel: mtdsplit_uimage: replace "netgear, uimage" parser

The "netgear,uimage" parser can be replaced by the generic
parser using device specific openwrt,ih-magic and
openwrt,ih-type properties.

Device tree properties for the following devices have not
been set, as they have been dropped from OpenWrt with the
removal of the ar71xx target:

 FW_MAGIC_WNR2000V1     0x32303031
 FW_MAGIC_WNR2000V4     0x32303034
 FW_MAGIC_WNR1000V2_VC  0x31303030
 FW_MAGIC_WPN824N       0x31313030

Tested-by: Sander Vanheule <sander@svanheule.net> # WNDR3700v2
Tested-by: Stijn Segers <foss@volatilesystems.org> # WNDR3700v1
Signed-off-by: Bjørn Mork <bjorn@mork.no>
16 files changed:
target/linux/ath79/dts/ar7161_netgear_wndr.dtsi
target/linux/ath79/dts/ar7161_netgear_wndr3700-v2.dts
target/linux/ath79/dts/ar7161_netgear_wndr3700.dts
target/linux/ath79/dts/ar7161_netgear_wndr3800.dts
target/linux/ath79/dts/ar7161_netgear_wndr3800ch.dts
target/linux/ath79/dts/ar7161_netgear_wndrmac-v1.dts
target/linux/ath79/dts/ar7161_netgear_wndrmac-v2.dts
target/linux/ath79/dts/ar7240_netgear_wnr1000-v2.dts
target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi
target/linux/ath79/dts/ar7241_netgear_wnr2000-v3.dts
target/linux/ath79/dts/ar7241_netgear_wnr2200-16m.dts
target/linux/ath79/dts/ar7241_netgear_wnr2200-8m.dts
target/linux/ath79/dts/ar7241_netgear_wnr2200.dtsi
target/linux/ath79/dts/ar9344_netgear_wndr.dtsi
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c
target/linux/realtek/dts/rtl8380_netgear_gs110tpp-v1.dts