Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
set_state() {
case "$(brcm2708_board_name)" in
rpi-b |\
- rpi-cm)
+ rpi-cm |\
+ rpi-zero)
status_led="led0"
;;
rpi-b-plus |\
"Raspberry Pi Compute Module Rev"*)
board_name="rpi-cm"
;;
+ "Raspberry Pi Zero Rev"*)
+ board_name="rpi-zero"
+ ;;
"Raspberry Pi 2 Model B Rev"*)
board_name="rpi-2-b"
;;
DEVICE_VARS += DEVICE_DTS
define Device/rpi
- DEVICE_TITLE := Raspberry Pi B/B+/CM
+ DEVICE_TITLE := Raspberry Pi B/B+/CM/Zero
DEVICE_DTS := bcm2708-rpi-b bcm2708-rpi-b-plus bcm2708-rpi-cm
endef
ifeq ($(SUBTARGET),bcm2708)