commit | 26683857c9c34e77ccdba6321f6758237d7b86fa | [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 | be8efecebb410f19d700c4e5c2f089b2dc3b8bfd [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>