Trivial patch to add PVR_7455

3 messages, 2 authors, 2003-03-04 · open the first message on its own page

Trivial patch to add PVR_7455

From: Dale Farnsworth <hidden>
Date: 2003-03-04 19:04:22

Bringing up a board with a pair of 7455s.
Need this patch.

Thanks,
-Dale

===== include/asm-ppc/processor.h 1.80 vs edited =====
--- 1.80/include/asm-ppc/processor.h	Thu Feb 27 13:22:28 2003
+++ edited/include/asm-ppc/processor.h	Tue Mar  4 11:02:35 2003
@@ -687,6 +687,7 @@
 #define	PVR_7400	0x000C0000
 #define	PVR_7410	0x800C0000
 #define	PVR_7450	0x80000000
+#define	PVR_7455	0x80010000
 /*
  * For the 8xx processors, all of them report the same PVR family for
  * the PowerPC core. The various versions of these processors must be
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Trivial patch to add PVR_7455

From: Dale Farnsworth <hidden>
Date: 2003-03-04 19:51:01

On Tue, Mar 04, 2003 at 07:04:22PM +0000, Dale Farnsworth wrote:
quoted hunk
===== include/asm-ppc/processor.h 1.80 vs edited =====
--- 1.80/include/asm-ppc/processor.h	Thu Feb 27 13:22:28 2003
+++ edited/include/asm-ppc/processor.h	Tue Mar  4 11:02:35 2003
@@ -687,6 +687,7 @@
 #define	PVR_7400	0x000C0000
 #define	PVR_7410	0x800C0000
 #define	PVR_7450	0x80000000
+#define	PVR_7455	0x80010000
 /*
  * For the 8xx processors, all of them report the same PVR family for
  * the PowerPC core. The various versions of these processors must be
I'm told that using PVR_XXXX is deprecated and that in my case
I'd be better off using CPU_FTR_L3CR.

So, nevermind.

-Dale

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Trivial patch to add PVR_7455

From: Dan Malek <hidden>
Date: 2003-03-04 20:14:12

Dale Farnsworth wrote:
I'm told that using PVR_XXXX is deprecated and that in my case
I'd be better off using CPU_FTR_L3CR.
It depends what you are trying to discover about the processor.
I believe there are at least three different silicon revisions of
7455 processors defined in the cpu features table.  One purpose
of cpu features is to provide a standard set of information so
you don't have to test PVR all of the time, but rather just check
if the cpu has the feature of interest.

have fun :-)


	-- Dan


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help