difos/package/boot/uboot-tools/uboot-envtools/files/qualcommbe_ipq95xx
Paweł Owoc 655eb05699 uboot-tools: envtools: ipq95xx: use common function
Use common function ubootenv_add_mmc

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19269
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-13 16:43:34 +02:00

19 lines
309 B
Text

[ -e /etc/config/ubootenv ] && exit 0
touch /etc/config/ubootenv
. /lib/uboot-envtools.sh
. /lib/functions.sh
board=$(board_name)
case "$board" in
8devices,kiwi-dvk)
ubootenv_add_mmc "0:APPSBLENV" "" "0x0" "0x40000" "0x40000"
;;
esac
config_load ubootenv
config_foreach ubootenv_add_app_config
exit 0