]> git.ipfire.org Git - people/ms/u-boot.git/commit
rpi: fix revision scheme parsing
authorStephen Warren <swarren@wwwdotorg.org>
Sat, 5 Dec 2015 05:07:45 +0000 (22:07 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 5 Dec 2015 23:22:36 +0000 (18:22 -0500)
commitc4ea1edb70f79762a9810e73025d13df239e3f3c
tree847bb6a3fc610c4d7fc896df0e5083e8744c5e6a
parentdbe6f1eb93e14c611865274c53b0be1aa59e7762
rpi: fix revision scheme parsing

The RPi has two different schemes for encoding board revision values.
When adding RPi 2 support, I thought that the conflicting type field
values were to be interpreted based on bcm2835-vs-bcm2836. In fact, the
scheme bit determines the encoding. The RPi Zero uses the bcm2835 yet
uses the new encoding scheme. Fix the code to cater for this correctly.

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