]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:34:17 +0000 (14:34 +0200)
commit619c7c7ebd0ef22f40deb4bba6ffa7f382a0ca10
treed25a9c36ac3396ca04653038fc05178e690038d7
parent2cb58841686036c9c67973a9c8f6b9f62045515b
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