openwrtv4/target/linux/zynq/base-files/etc/board.d/02_network
Luis Araneda 192838e018 zynq: rename zedboard with correct manufacturer
The board is made by Avnet, so rename it accordingly as
upstream has done it

Also move the device to maintain alphabetic order

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
2018-09-10 08:56:16 +02:00

22 lines
349 B
Bash
Executable file

#!/bin/sh
# Copyright (C) 2015 OpenWrt.org
. /lib/functions/uci-defaults.sh
board_config_update
case "$(board_name)" in
avnet,zynq-zed | \
digilent,zynq-zybo | \
digilent,zynq-zybo-z7 | \
xlnx,zynq-zc702)
ucidef_set_interface_lan 'eth0'
;;
*)
echo "Unsupported hardware. Network interfaces not intialized"
;;
esac
board_config_flush
exit 0