Skip to content
Snippets Groups Projects
Commit 61b977fa authored by Luis Araneda's avatar Luis Araneda Committed by John Crispin
Browse files

zynq: fix detection of the zybo board


The board_name was being tested for "xlnx,zynq-zybo",
but the .dts compatible string is "digilent,zynq-zybo"

Also, sorted the boards alphabetically, and added an
error message for unsupported boards

Signed-off-by: default avatarLuis Araneda <luaraneda@gmail.com>
parent 7967e6c0
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,14 @@
board_config_update
case "$(board_name)" in
xlnx,zynq-zc702|xlnx,zynq-zed|xlnx,zynq-zybo)
ucidef_set_interface_lan 'eth0'
;;
digilent,zynq-zybo | \
xlnx,zynq-zc702 | \
xlnx,zynq-zed)
ucidef_set_interface_lan 'eth0'
;;
*)
echo "Unsupported hardware. Network interfaces not intialized"
;;
esac
board_config_flush
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment