PERFORCE change 153541 for review

Sam Leffler sam at FreeBSD.org
Tue Nov 25 10:30:14 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=153541

Change 153541 by sam at sam_ebb on 2008/11/25 18:29:19

	recognize ixp435 cpu; probably needs tweaks

Affected files ...

.. //depot/projects/vap/sys/arm/arm/cpufunc.c#7 edit
.. //depot/projects/vap/sys/arm/arm/identcpu.c#7 edit
.. //depot/projects/vap/sys/arm/include/armreg.h#6 edit

Differences ...

==== //depot/projects/vap/sys/arm/arm/cpufunc.c#7 (text+ko) ====

@@ -1211,7 +1211,7 @@
 #endif /* CPU_XSCALE_PXA2X0 */
 #ifdef CPU_XSCALE_IXP425
 	if (cputype == CPU_ID_IXP425_533 || cputype == CPU_ID_IXP425_400 ||
-            cputype == CPU_ID_IXP425_266) {
+            cputype == CPU_ID_IXP425_266 || cputype == CPU_ID_IXP435) {
 
 		cpufuncs = xscale_cpufuncs;
 #if defined(PERFCTRS)

==== //depot/projects/vap/sys/arm/arm/identcpu.c#7 (text+ko) ====

@@ -300,6 +300,10 @@
 	{ CPU_ID_IXP425_266,	CPU_CLASS_XSCALE,	"IXP425 266MHz",
 	  ixp425_steppings },
 
+	/* XXX ixp435 steppings? */
+	{ CPU_ID_IXP435,	CPU_CLASS_XSCALE,	"IXP435",
+	  ixp425_steppings },
+
 	{ CPU_ID_ARM1136JS,	CPU_CLASS_ARM11J,	"ARM1136J-S",
 	  generic_steppings },
 	{ CPU_ID_ARM1136JSR1,	CPU_CLASS_ARM11J,	"ARM1136J-S R1",

==== //depot/projects/vap/sys/arm/include/armreg.h#6 (text+ko) ====

@@ -174,6 +174,7 @@
 #define	CPU_ID_IXP425_533	0x690541c0
 #define	CPU_ID_IXP425_400	0x690541d0
 #define	CPU_ID_IXP425_266	0x690541f0
+#define	CPU_ID_IXP435		0x69054040
 
 /* ARM3-specific coprocessor 15 registers */
 #define ARM3_CP15_FLUSH		1


More information about the p4-projects mailing list