aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mxs/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorMichael Heimpold <mhei@heimpold.de>2018-11-03 01:24:01 +0100
committerMathias Kresin <dev@kresin.me>2018-11-28 23:37:29 +0100
commite880a30549b5d1dfb11dc4c6cb2aac742de93366 (patch)
tree82029703211d2a9b9f8d8882b8673d0166b00b31 /target/linux/mxs/base-files/etc/diag.sh
parent5ffacceb7beb208dfaa8d53a71a1d503dc884b1c (diff)
downloadupstream-e880a30549b5d1dfb11dc4c6cb2aac742de93366.tar.gz
upstream-e880a30549b5d1dfb11dc4c6cb2aac742de93366.tar.bz2
upstream-e880a30549b5d1dfb11dc4c6cb2aac742de93366.zip
mxs: use generic sysinfo board detection
Since we do nothing special for mxs based boards, we can simply use the generic existing code. We just need to convert scripts to use the DT compatible strings. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'target/linux/mxs/base-files/etc/diag.sh')
-rw-r--r--target/linux/mxs/base-files/etc/diag.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mxs/base-files/etc/diag.sh b/target/linux/mxs/base-files/etc/diag.sh
index 3b05f6da5f..6c9dd250ab 100644
--- a/target/linux/mxs/base-files/etc/diag.sh
+++ b/target/linux/mxs/base-files/etc/diag.sh
@@ -6,10 +6,10 @@
get_status_led() {
case $(board_name) in
- duckbill)
+ i2se,duckbill*)
status_led="duckbill:green:status"
;;
- olinuxino)
+ olimex,imx23-olinuxino)
status_led="green"
;;
*)