diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2017-03-05 21:16:07 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-03-08 09:03:39 +0100 |
commit | 4124847772604773d05fbc8bd5d84f7c7b80edca (patch) | |
tree | 3700561ecdceab92bc82870ac439368e2a3fbd37 /target/linux/brcm2708 | |
parent | a8c2a719fa6b5bcc5c3d796a7603c115a73d2c64 (diff) | |
download | upstream-4124847772604773d05fbc8bd5d84f7c7b80edca.tar.gz upstream-4124847772604773d05fbc8bd5d84f7c7b80edca.tar.bz2 upstream-4124847772604773d05fbc8bd5d84f7c7b80edca.zip |
brcm2708: detect Raspberry Pi Zero W
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/brcm2708')
-rwxr-xr-x | target/linux/brcm2708/base-files/etc/board.d/02_network | 3 | ||||
-rw-r--r-- | target/linux/brcm2708/base-files/etc/diag.sh | 3 | ||||
-rw-r--r-- | target/linux/brcm2708/base-files/lib/brcm2708.sh | 3 |
3 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/brcm2708/base-files/etc/board.d/02_network b/target/linux/brcm2708/base-files/etc/board.d/02_network index 21e86f4db3..9486a6ae68 100755 --- a/target/linux/brcm2708/base-files/etc/board.d/02_network +++ b/target/linux/brcm2708/base-files/etc/board.d/02_network @@ -18,6 +18,9 @@ rpi-b |\ rpi-b-plus) ucidef_set_interface_lan "eth0" ;; +rpi-zero-w) + ucidef_set_interface_lan "wlan0" + ;; esac board_config_flush diff --git a/target/linux/brcm2708/base-files/etc/diag.sh b/target/linux/brcm2708/base-files/etc/diag.sh index 010a623d1e..36c5cd71d0 100644 --- a/target/linux/brcm2708/base-files/etc/diag.sh +++ b/target/linux/brcm2708/base-files/etc/diag.sh @@ -13,7 +13,8 @@ set_state() { ;; rpi-b |\ rpi-cm |\ - rpi-zero) + rpi-zero |\ + rpi-zero-w) status_led="led0" ;; esac diff --git a/target/linux/brcm2708/base-files/lib/brcm2708.sh b/target/linux/brcm2708/base-files/lib/brcm2708.sh index cebec644c0..81f123f204 100644 --- a/target/linux/brcm2708/base-files/lib/brcm2708.sh +++ b/target/linux/brcm2708/base-files/lib/brcm2708.sh @@ -28,6 +28,9 @@ brcm2708_detect() { "Raspberry Pi Zero Rev"*) board_name="rpi-zero" ;; + "Raspberry Pi Zero W Rev"*) + board_name="rpi-zero-w" + ;; *) board_name="unknown" ;; |