diff options
author | Petr Štetiar <ynezz@true.cz> | 2018-11-27 18:22:47 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-12-06 08:42:40 +0100 |
commit | 60dd181a7600325cffee024de526ac6818c7e772 (patch) | |
tree | 2927988f7b9f9aeed058c0cbbea691ca1ec74ae2 /target/linux/oxnas | |
parent | 68e59b61c64ff7adaa808e9c127a43c65bdcf3ab (diff) | |
download | upstream-60dd181a7600325cffee024de526ac6818c7e772.tar.gz upstream-60dd181a7600325cffee024de526ac6818c7e772.tar.bz2 upstream-60dd181a7600325cffee024de526ac6818c7e772.zip |
base-files: diag.sh: Make it more generic towards DTS so it could be reused
I wanted to add status LEDs support to my imx6 based board and have
found out, that I could use diag.sh script found in ramips platform,
which seems to be also shared in a few other platforms:
4801276bc2078c5bcf03003c831e3b0a target/linux/ramips/base-files/etc/diag.sh
4801276bc2078c5bcf03003c831e3b0a target/linux/ipq40xx/base-files/etc/diag.sh
4801276bc2078c5bcf03003c831e3b0a target/linux/ath79/base-files/etc/diag.sh
So I've extended the base diag.sh in a way, that if it detects any of
the DTS LED aliases, then it would use the generic DTS set_led_state
code.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/oxnas')
0 files changed, 0 insertions, 0 deletions