Skip to contentSkip to conversation

Trivial patch to add PVR_7455

PATCH Dale Farnsworth 2 participants 3 messages Mar 4, 2003

lore
Share & tools
lore
#0 lore raw

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

Thanks,
-Dale

===== include/asm-ppc/processor.h 1.80 vs edited =====

include/asm-ppc/processor.h +1 -0
@@ -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/

#1 lore raw

include/asm-ppc/processor.h line 693

Quoted 11 lines · Dale Farnsworth

===== include/asm-ppc/processor.h 1.80 vs edited =====

include/asm-ppc/processor.h +1 -0
@@ -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/

#2 lore raw
Quoted 2 lines · Dale Farnsworth

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/