qoriq: add support for WatchGuard Firebox M300
[openwrt/staging/jow.git] / package / boot / uboot-envtools / files / qoriq
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 watchguard,firebox-m300)
12 ubootenv_add_uci_config "/dev/mtd9" "0x0" "0x2000" "0x10000"
13 ;;
14 esac
15
16 config_load ubootenv
17 config_foreach ubootenv_add_app_config ubootenv
18
19 exit 0