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: Luis Araneda <luaraneda@gmail.com>
This commit is contained in:
parent
7967e6c067
commit
61b977fa2c
1 changed files with 8 additions and 3 deletions
|
@ -6,9 +6,14 @@
|
||||||
board_config_update
|
board_config_update
|
||||||
|
|
||||||
case "$(board_name)" in
|
case "$(board_name)" in
|
||||||
xlnx,zynq-zc702|xlnx,zynq-zed|xlnx,zynq-zybo)
|
digilent,zynq-zybo | \
|
||||||
ucidef_set_interface_lan 'eth0'
|
xlnx,zynq-zc702 | \
|
||||||
;;
|
xlnx,zynq-zed)
|
||||||
|
ucidef_set_interface_lan 'eth0'
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Unsupported hardware. Network interfaces not intialized"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
board_config_flush
|
board_config_flush
|
||||||
|
|
Loading…
Reference in a new issue