diff options
author | Stephen Warren | 2015-04-12 21:43:25 -0600 |
---|---|---|
committer | Tom Rini | 2015-04-13 08:48:36 -0400 |
commit | 787affb41b6f0cca797a36383705f30ce9ca5c25 (patch) | |
tree | 1f7f84a4c34a70f208efe1e38634c1262d564854 /board/raspberrypi | |
parent | bf71a29c8e611a5c7f18d0572edeae82189dd3a2 (diff) |
ARM: rpi: add a couple more revision IDs
According to Gordon Henderson's WiringPi library, there are some more
Pi revision IDs out there. Add support for them.
http://git.drogon.net/?p=wiringPi;a=blob_plain;f=wiringPi/wiringPi.c;hb=5edd177112c99416f68ba3e8c6c4db6ed942e796
At least ID 0x13 is out in the wild:
Reported-by: Chee-Yang Chau <cychau@gmail.com>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'board/raspberrypi')
-rw-r--r-- | board/raspberrypi/rpi/rpi.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index a105953541b..96fe8706453 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -165,6 +165,16 @@ static const struct { "bcm2835-rpi-a-plus.dtb", false, }, + [BCM2835_BOARD_REV_B_PLUS_13] = { + "Model B+", + "bcm2835-rpi-b-plus.dtb", + true, + }, + [BCM2835_BOARD_REV_CM_14] = { + "Compute Module", + "bcm2835-rpi-cm.dtb", + false, + }, #endif }; |