kernel: bump 6.1 to 6.1.89
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / mpc85xx
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 enterasys,ws-ap3715i)
12 ubootenv_add_uci_config "$(find_mtd_part 'cfg1')" "0x0" "0x10000" "0x10000"
13 ubootenv_add_uci_config "$(find_mtd_part 'cfg2')" "0x0" "0x10000" "0x10000"
14 ;;
15 extreme-networks,ws-ap3825i)
16 ubootenv_add_uci_config "$(find_mtd_part 'cfg1')" "0x0" "0x10000" "0x20000"
17 ubootenv_add_uci_config "$(find_mtd_part 'cfg2')" "0x0" "0x10000" "0x20000"
18 ;;
19 ocedo,panda)
20 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
21 ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x20000" "0x20000"
22 ;;
23 watchguard,firebox-t10)
24 ubootenv_add_uci_config "$(find_mtd_part 'u-boot-env')" "0x0" "0x2000" "0x10000"
25 ;;
26 aerohive,hiveap-330)
27 ubootenv_add_uci_config "$(find_mtd_part 'u-boot-env')" "0x0" "0x20000" "0x10000"
28 ;;
29 esac
30
31 config_load ubootenv
32 config_foreach ubootenv_add_app_config ubootenv
33
34 exit 0