include/rootfs: skip removal of APK cache now deprecated
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / mxs
1 #
2 # Copyright (C) 2013 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 i2se,duckbill)
16 ubootenv_add_uci_config "/dev/mmcblk0" "0x20000" "0x20000"
17 ubootenv_add_uci_config "/dev/mmcblk0" "0x40000" "0x20000"
18 ;;
19 olimex,imx23-olinuxino)
20 ubootenv_add_uci_config "/dev/mmcblk0" "0x40000" "0x4000"
21 ;;
22 esac
23
24 config_load ubootenv
25 config_foreach ubootenv_add_app_config ubootenv
26
27 exit 0