mediatek: add support for ipTIME A6004MX Add basic support for ipTIME A6004MX.
[openwrt/staging/svanheule.git] / package / boot / uboot-envtools / files / mediatek_mt7629
1 #
2 # Copyright (C) 2021 OpenWrt.org
3 #
4
5 [ -e /etc/config/ubootenv ] && exit 0
6
7 touch /etc/config/ubootenv
8
9 . /lib/uboot-envtools.sh
10 . /lib/functions.sh
11
12 board=$(board_name)
13
14 case "$board" in
15 iptime,a6004mx)
16 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000"
17 ;;
18 esac
19
20 config_load ubootenv
21 config_foreach ubootenv_add_app_config ubootenv
22
23 exit 0