[PATCH 1/1 v3] AMCC PPC 460SX redwood SoC platform initial framework

Kumar Gala galak at kernel.crashing.org
Thu Feb 5 16:56:16 EST 2009


On Feb 4, 2009, at 5:45 PM, Madhulika Madishetty wrote:

> diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/ 
> cputable.c
> index 923f87a..5c40da4 100644
> --- a/arch/powerpc/kernel/cputable.c
> +++ b/arch/powerpc/kernel/cputable.c
> @@ -43,6 +43,7 @@ extern void __setup_cpu_440spe(unsigned long  
> offset, struct cpu_spec* spec);
> extern void __setup_cpu_440x5(unsigned long offset, struct cpu_spec*  
> spec);
> extern void __setup_cpu_460ex(unsigned long offset, struct cpu_spec*  
> spec);
> extern void __setup_cpu_460gt(unsigned long offset, struct cpu_spec*  
> spec);
> +extern void __setup_cpu_460sx(unsigned long offset, struct cpu_spec  
> *spec);
> extern void __setup_cpu_603(unsigned long offset, struct cpu_spec*  
> spec);
> extern void __setup_cpu_604(unsigned long offset, struct cpu_spec*  
> spec);
> extern void __setup_cpu_750(unsigned long offset, struct cpu_spec*  
> spec);
> @@ -1634,6 +1635,18 @@ static struct cpu_spec __initdata cpu_specs[]  
> = {
> 		.machine_check		= machine_check_440A,
> 		.platform		= "ppc440",
> 	},
> +	{ /* 460SX */
> +		.pvr_mask		= 0xffffff00,
> +		.pvr_value		= 0x13541800,
> +		.cpu_name		= "460SX",
> +		.cpu_features		= CPU_FTRS_44X,
> +		.cpu_user_features	= COMMON_USER_BOOKE,
> +		.icache_bsize		= 32,
> +		.dcache_bsize		= 32,
> +		.cpu_setup		= __setup_cpu_460sx,
> +		.machine_check		= machine_check_440A,
> +		.platform		= "ppc440",
> +	},

This needs to be updated to include the new mmu_features field.

- k



More information about the Linuxppc-dev mailing list