commit | c4ea1edb70f79762a9810e73025d13df239e3f3c | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@wwwdotorg.org> | Fri Dec 04 22:07:45 2015 -0700 |
committer | Tom Rini <trini@konsulko.com> | Sat Dec 05 18:22:36 2015 -0500 |
tree | 847bb6a3fc610c4d7fc896df0e5083e8744c5e6a | |
parent | dbe6f1eb93e14c611865274c53b0be1aa59e7762 [diff] |
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>