3 # Copyright (C) 2014-2015 OpenWrt.org
6 [ -e /etc/config/ubootenv ] && exit 0
8 touch /etc/config/ubootenv
11 . /lib/uboot-envtools.sh
14 board=$(mvebu_board_name)
17 armada-385-linksys-caiman|armada-385-linksys-cobra)
18 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x40000"
20 armada-xp-linksys-mamba)
21 ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x40000" "0x20000"
26 config_foreach ubootenv_add_app_config ubootenv