summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorEvgeniy Didin <Evgeniy.Didin@synopsys.com>2018-02-15 20:26:04 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2018-02-17 12:29:55 +0100
commit4cedd1ddb33405c1db45ee84f8e66c7786801aff (patch)
tree3fbecfa4aeceb1f01f74cee4cf5ec0ccaea5f3ef /target
parent42b94a74e98a1f9517d2baf8c6e8a61051bd6124 (diff)
downloadmtk-20170518-4cedd1ddb33405c1db45ee84f8e66c7786801aff.zip
mtk-20170518-4cedd1ddb33405c1db45ee84f8e66c7786801aff.tar.gz
mtk-20170518-4cedd1ddb33405c1db45ee84f8e66c7786801aff.tar.bz2
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>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/archs38/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/archs38/base-files/lib/arc.sh3
2 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/archs38/base-files/etc/board.d/02_network b/target/linux/archs38/base-files/etc/board.d/02_network
index d8bdd50..60a2602 100755
--- a/target/linux/archs38/base-files/etc/board.d/02_network
+++ b/target/linux/archs38/base-files/etc/board.d/02_network
@@ -8,7 +8,7 @@
board_config_update
case "$(board_name)" in
-"arc-sdp"*)
+"arc-sdp"*|"arc-hsdk"*)
ucidef_set_interface_lan "eth0" "dhcp"
;;
esac
diff --git a/target/linux/archs38/base-files/lib/arc.sh b/target/linux/archs38/base-files/lib/arc.sh
index 9ca1a2c..50aaaa2 100644
--- a/target/linux/archs38/base-files/lib/arc.sh
+++ b/target/linux/archs38/base-files/lib/arc.sh
@@ -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";
;;