]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: rpi: fix RPi1 board rev detection for warranty bit
authorStephen Warren <swarren@wwwdotorg.org>
Tue, 24 Mar 2015 05:00:25 +0000 (23:00 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 24 Mar 2015 14:52:18 +0000 (10:52 -0400)
commit95b4f112f5197e90906ea701bd8ca5b2cbf46b29
tree207935c7da3968901a5a7e997411f4eeff0fb8e3
parent7682a99826a624d3764656b5bb31f88e2f8b235b
ARM: rpi: fix RPi1 board rev detection for warranty bit

Apparently the firmware's board rev response includes both the board
revision and some other data even on the RPi1. In particular, the
"warranty bit" is bit 24. We need to mask that out when looking up the
board ID.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
board/raspberrypi/rpi/rpi.c