From 3c190ef112979793cd0e2148c53c6208a642a463 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sat, 18 Jul 2020 16:02:06 +0200 Subject: archs38: use generic 02_sysinfo Currently archs38 sets a board name from compatible for no apparent reason. Just use the compatible directly instead. This theoretically removes a board name "generic" when no compatible was present, however, there is no case where this "generic" board name was actually used. This also fixes an issue where snps,axs103 would not have been properly detected anyway, as its case was not set up syntactically correct. Fixes: 73015c4cb378 ("linux: add support of Synopsys ARCHS38-based boards") Signed-off-by: Adrian Schmutzler --- target/linux/archs38/base-files/etc/board.d/02_network | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target/linux/archs38/base-files/etc/board.d') 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 60a2602316..dcf33788c5 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,8 @@ board_config_update case "$(board_name)" in -"arc-sdp"*|"arc-hsdk"*) +snps,axs103|\ +snps,hsdk) ucidef_set_interface_lan "eth0" "dhcp" ;; esac -- cgit v1.2.3