Zynq: Add Zedboard device support
[openwrt.git] / target / linux / zynq / base-files / etc / board.d / 02_network
1 #!/bin/sh
2 # Copyright (C) 2015 OpenWrt.org
3
4 . /lib/functions/uci-defaults.sh
5
6 board_config_update
7
8 case "$(cat /tmp/sysinfo/board_name)" in
9         xlnx,zynq-zc702|xlnx,zynq-zed)
10                 ucidef_set_interface_lan 'eth0'
11                 ;;
12 esac
13
14 board_config_flush
15
16 exit 0