brcm2708: detect Raspberry Pi Zero W

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
master
Stijn Tintel 8 years ago committed by Álvaro Fernández Rojas
parent a8c2a719fa
commit 4124847772
  1. 3
      target/linux/brcm2708/base-files/etc/board.d/02_network
  2. 3
      target/linux/brcm2708/base-files/etc/diag.sh
  3. 3
      target/linux/brcm2708/base-files/lib/brcm2708.sh

@ -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

@ -13,7 +13,8 @@ set_state() {
;;
rpi-b |\
rpi-cm |\
rpi-zero)
rpi-zero |\
rpi-zero-w)
status_led="led0"
;;
esac

@ -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"
;;

Loading…
Cancel
Save