Skip to contentSkip to conversation

add 8280 processor support

PATCH Guy M. Streeter 2 participants 2 messages Nov 18, 2003 – Nov 19, 2003

lore
Share & tools
lore
#0 lore raw

As far as I can tell, all that's necessary to add support for the 8280 processor is to include it in the cpu_specs table.
I'm running on an 8280 board with the attached patch, which I would like to see included in the kernel source.

--Guy

arch/ppc/kernel/cputable.c +8 -0
@@ -299,6 +299,14 @@ struct cpu_spec	cpu_specs[] = {
 	32, 32,
 	__setup_cpu_603
     },
+    {	/* 8280 is a G2_LE (603e core, plus some) */
+	0x7fff0000, 0x00820000, "8280",
+	CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_CAN_DOZE | CPU_FTR_USE_TB |
+	CPU_FTR_CAN_NAP | CPU_FTR_HAS_HIGH_BATS,
+	COMMON_PPC,
+	32, 32,
+	__setup_cpu_603
+    },
     {	/* default match, we assume split I/D cache & TB (non-601)... */
     	0x00000000, 0x00000000, "(generic PPC)",
     	CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB | CPU_FTR_HPTE_TABLE,
#1 lore raw
Quoted 4 lines · Guy M. Streeter

As far as I can tell, all that's necessary to add support for the 8280 processor is to include it in the cpu_specs table.
I'm running on an 8280 board with the attached patch, which I would like to see included in the kernel source.

I've commited this to my 2.4.24-pre tree and put it in my dir of patches for akpm once he takes over. Thanks.

--
Tom Rini
http://gate.crashing.org/~trini/

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