projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
brcm2708: properly detect the Raspberry Pi Zero
[openwrt/staging/yousong.git]
/
target
/
linux
/
brcm2708
/
base-files
/
lib
/
brcm2708.sh
diff --git
a/target/linux/brcm2708/base-files/lib/brcm2708.sh
b/target/linux/brcm2708/base-files/lib/brcm2708.sh
index 5a59a2826db32bf30aae348a0797d745d2c7e98b..ab7a23da966631160003308d183c4b80edd0e319 100644
(file)
--- 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"
;;