]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix major revision number for Freescale cores
authorMartin Langer <martin-langer@gmx.de>
Sun, 7 Sep 2008 07:51:32 +0000 (17:51 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 15 Sep 2008 18:08:48 +0000 (11:08 -0700)
commitc87b520aa6533878231f9b5cb3f1005c4faea22f
tree5cb283736191251b3fd984a000b27a18884550ef
parent5f9d55803aab3c6b452afed70e153b7b152172d5
powerpc: Fix major revision number for Freescale cores

Some 74xx cores by Freescale are using the configuration field instead
of the major revision field for their revision number.  This corrects
the wrong behaviour for those ppc cores including my one.

There is a reference document at Freecale.  It describes the PVR
register.  This is based on that pdf.  You can find the document at:

http://www.freescale.com/files/archives/doc/support_info/PPCPVR.pdf

Signed-off-by: Martin Langer <martin-langer@gmx.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/setup-common.c