03_gpio_switches 283 B

1234567891011121314151617
  1. . /lib/functions/uci-defaults.sh
  2. board_config_update
  3. board=$(board_name)
  4. case "$board" in
  5. checkpoint,l-50)
  6. ucidef_add_gpio_switch "mpcie-rst" "mPCIE Card reset" "502" "1"
  7. ucidef_add_gpio_switch "exp-card-rst" "Express Card reset" "497" "1"
  8. ;;
  9. esac
  10. board_config_flush
  11. exit 0