mediatek: mt7622: sync buffalo.sh with ramips/mt7621
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sat, 28 Dec 2024 08:48:02 +0000 (17:48 +0900)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 4 Jan 2025 17:55:31 +0000 (18:55 +0100)
commit376d8f96b1d1285a6fce711146d223d5d325edf5
tree80bc06bfbf453b384806672bbe2358c5bb623106
parent5d0f61e957ff19a7f6ad0b733c8b422f965525c5
mediatek: mt7622: sync buffalo.sh with ramips/mt7621

Sync buffalo.sh with the one in ramips/mt7621 to improve handling of the
TRX magic numbers of Buffalo WSR devices and switching sysupgrade method
between buffalo_upgrade_ubinized() and nand_do_upgrade().

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17408
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/mt7622/base-files/lib/upgrade/buffalo.sh
target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh