Browse Source

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 <[email protected]>
CC: Alexey Brodkin <[email protected]>
CC: Hauke Mehrtens <[email protected]>
CC: John Crispin <[email protected]>
Evgeniy Didin 7 years ago
parent
commit
4cedd1ddb3

+ 1 - 1
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

+ 3 - 0
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";
 		;;