imx6 392 B

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. #
  3. # Copyright (C) 2013-2014 OpenWrt.org
  4. #
  5. [ -e /etc/config/ubootenv ] && exit 0
  6. touch /etc/config/ubootenv
  7. . /lib/imx6.sh
  8. . /lib/uboot-envtools.sh
  9. . /lib/functions.sh
  10. board=$(imx6_board_name)
  11. case "$board" in
  12. "wandboard")
  13. ubootenv_add_uci_config "/dev/mmcblk0" "0x60000" "0x2000" "0x2000"
  14. ;;
  15. esac
  16. config_load ubootenv
  17. config_foreach ubootenv_add_app_config ubootenv
  18. exit 0