mediatek: replace multiple fw_setenv calls by the bulk one
authorMikhail Zhilkin <csharper2005@gmail.com>
Sat, 11 Jan 2025 14:46:05 +0000 (14:46 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 20 Jan 2025 23:37:48 +0000 (00:37 +0100)
commita6b0abf4661e4dc1449494e46340f75c44df81de
treeff2f712e0cc2c086d80df508e4297fa23180ec8b
parent1d021458fd681dc4c27615a574cc09cc57d1c51e
mediatek: replace multiple fw_setenv calls by the bulk one

This commit replaces multiple fw_setenv calls by the bulk one to reduce
flash writes.

Thanks @Linaro1985 for the idea.

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17580
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh