archs38: add HSDK board to network configure scripts

In the initial patch which adds HSDK board there were no update
of network configuration scripts. Without it by default static IP
is set for br-lan and there is no access to internet.
This patch fixes the issue.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
CC: Alexey Brodkin <abrodkin@synopsys.com>
CC: Hauke Mehrtens <hauke@hauke-m.de>
CC: John Crispin <john@phrozen.org>
This commit is contained in:
Evgeniy Didin 2018-02-15 20:26:04 +03:00 committed by Hauke Mehrtens
parent 42b94a74e9
commit 4cedd1ddb3
2 changed files with 4 additions and 1 deletions

View file

@ -8,7 +8,7 @@
board_config_update
case "$(board_name)" in
"arc-sdp"*)
"arc-sdp"*|"arc-hsdk"*)
ucidef_set_interface_lan "eth0" "dhcp"
;;
esac

View file

@ -21,6 +21,9 @@ arc_board_detect() {
"snps,axs103""snps,arc-sdp")
board="arc-sdp";
;;
"snps,hsdk")
board="arc-hsdk";
;;
"snps,nsim_hs")
board="arc-nsim";
;;