brcm2708: detect Raspberry Pi Zero W

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
Stijn Tintel 2017-03-05 21:16:07 +01:00 committed by Álvaro Fernández Rojas
parent a8c2a719fa
commit 4124847772
3 changed files with 8 additions and 1 deletions

View file

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

View file

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

View file

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