brcm2708: detect Raspberry Pi Zero W
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
parent
a8c2a719fa
commit
4124847772
3 changed files with 8 additions and 1 deletions
|
@ -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…
Reference in a new issue