qoriq 325 B

12345678910111213141516171819
  1. [ -e /etc/config/ubootenv ] && exit 0
  2. touch /etc/config/ubootenv
  3. . /lib/uboot-envtools.sh
  4. . /lib/functions.sh
  5. board=$(board_name)
  6. case "$board" in
  7. watchguard,firebox-m300)
  8. ubootenv_add_uci_config "/dev/mtd9" "0x0" "0x2000" "0x10000"
  9. ;;
  10. esac
  11. config_load ubootenv
  12. config_foreach ubootenv_add_app_config ubootenv
  13. exit 0