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)
|
rpi-b-plus)
|
||||||
ucidef_set_interface_lan "eth0"
|
ucidef_set_interface_lan "eth0"
|
||||||
;;
|
;;
|
||||||
|
rpi-zero-w)
|
||||||
|
ucidef_set_interface_lan "wlan0"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
board_config_flush
|
board_config_flush
|
||||||
|
|
|
@ -13,7 +13,8 @@ set_state() {
|
||||||
;;
|
;;
|
||||||
rpi-b |\
|
rpi-b |\
|
||||||
rpi-cm |\
|
rpi-cm |\
|
||||||
rpi-zero)
|
rpi-zero |\
|
||||||
|
rpi-zero-w)
|
||||||
status_led="led0"
|
status_led="led0"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -28,6 +28,9 @@ brcm2708_detect() {
|
||||||
"Raspberry Pi Zero Rev"*)
|
"Raspberry Pi Zero Rev"*)
|
||||||
board_name="rpi-zero"
|
board_name="rpi-zero"
|
||||||
;;
|
;;
|
||||||
|
"Raspberry Pi Zero W Rev"*)
|
||||||
|
board_name="rpi-zero-w"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
board_name="unknown"
|
board_name="unknown"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue