Re: [PATCH] Fix for Freescale ppc cores: major revision detection
From: Paul Mackerras <hidden>
Date: 2008-02-26 10:32:25
From: Paul Mackerras <hidden>
Date: 2008-02-26 10:32:25
Martin Langer writes:
Thanks for the hint. Inspired by that I did the logic the other way round. So we have the same default cases as we had before and additionally it will fit for the cores mentioned in the doc.
Care to resend this with a proper description and a Signed-off-by line?
+ switch (PVR_VER(pvr)) {
+ case 0x8000: /* 7441/7450/7451, Vger */
+ case 0x8001: /* 7445/7455, Apollo 6 */
+ case 0x8002: /* 7447/7457, Apollo 7 */
+ case 0x8003: /* 7447A, Apollo 7 PM */
+ case 0x8004: /* 7448, Apollo 8 */
+ case 0x800c: /* 7410, Nitro */BTW, these case labels are all indented one tab too far. Paul.