aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/base-files/lib
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2016-06-22 15:06:43 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-22 15:06:43 +0200
commit61d1d288b993532a0882dfdbc1f82d33596cfe08 (patch)
tree5c4e8148d31f2cd7a314a37e0fe610ba7f220fae /target/linux/brcm2708/base-files/lib
parent165abaf3bcd5ef731fc1e293171a8fea751dc769 (diff)
downloadmaster-187ad058-61d1d288b993532a0882dfdbc1f82d33596cfe08.tar.gz
master-187ad058-61d1d288b993532a0882dfdbc1f82d33596cfe08.tar.bz2
master-187ad058-61d1d288b993532a0882dfdbc1f82d33596cfe08.zip
brcm2708: properly detect the Raspberry Pi Zero
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/base-files/lib')
-rw-r--r--target/linux/brcm2708/base-files/lib/brcm2708.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/brcm2708/base-files/lib/brcm2708.sh b/target/linux/brcm2708/base-files/lib/brcm2708.sh
index 5a59a2826d..ab7a23da96 100644
--- a/target/linux/brcm2708/base-files/lib/brcm2708.sh
+++ b/target/linux/brcm2708/base-files/lib/brcm2708.sh
@@ -18,6 +18,9 @@ brcm2708_detect() {
"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"
;;