kernel: bump 6.1 to 6.1.89
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / qualcommax_ipq60xx
1 [ -e /etc/config/ubootenv ] && exit 0
2
3 touch /etc/config/ubootenv
4
5 . /lib/uboot-envtools.sh
6 . /lib/functions.sh
7
8 board=$(board_name)
9
10 case "$board" in
11 8devices,mango-dvk|\
12 8devices,mango-dvk-sfp)
13 idx="$(find_mtd_index 0:APPSBLENV)"
14 [ -n "$idx" ] && \
15 ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x10000"
16 ;;
17 netgear,wax214)
18 idx="$(find_mtd_index 0:appsblenv)"
19 [ -n "$idx" ] && \
20 ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x20000" "2"
21 ;;
22 yuncore,fap650)
23 idx="$(find_mtd_index 0:appsblenv)"
24 [ -n "$idx" ] && \
25 ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x10000" "0x10000"
26 ;;
27 esac
28
29 config_load ubootenv
30 config_foreach ubootenv_add_app_config
31
32 exit 0