diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-02-19 07:58:36 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-02-19 08:11:07 +0100 |
commit | a7c4d9434292074bdaf9eb96c5672c193fe09662 (patch) | |
tree | 6816bf7867c1cb8310e8530efa1e7025c0313960 /target/linux/bcm27xx | |
parent | 9e2acdbccdea9f302b38795c17c633a312d97b70 (diff) | |
download | upstream-a7c4d9434292074bdaf9eb96c5672c193fe09662.tar.gz upstream-a7c4d9434292074bdaf9eb96c5672c193fe09662.tar.bz2 upstream-a7c4d9434292074bdaf9eb96c5672c193fe09662.zip |
bcm27xx: add diag LEDs
We can now use the power LED for diag in more devices thanks to the latest
patches from the RPi foundation.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry-picked from commit 5bab472a11)
Diffstat (limited to 'target/linux/bcm27xx')
-rw-r--r-- | target/linux/bcm27xx/base-files/etc/diag.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/base-files/etc/diag.sh b/target/linux/bcm27xx/base-files/etc/diag.sh index ce0f591517..f5e9ee0111 100644 --- a/target/linux/bcm27xx/base-files/etc/diag.sh +++ b/target/linux/bcm27xx/base-files/etc/diag.sh @@ -8,9 +8,16 @@ set_state() { case "$(board_name)" in raspberrypi,2-model-b |\ + raspberrypi,2-model-b-rev2 |\ + raspberrypi,3-model-b |\ + raspberrypi,3-model-b-plus |\ + raspberrypi,400 |\ + raspberrypi,4-compute-module |\ + raspberrypi,4-model-b |\ raspberrypi,model-b-plus) status_led="led1" ;; + raspberrypi,3-compute-module |\ raspberrypi,model-b |\ raspberrypi,model-zero |\ raspberrypi,model-zero-w) |