[PATCH] ppc32: add 405EP cpu_spec entry

Kumar Gala kumar.gala at freescale.com
Sat Jun 11 01:24:33 EST 2005


Linus,

You have applied this patch twice now.

- kumar

On Jun 6, 2005, at 8:20 PM, Eugene Surovegin wrote:

> Andrew,
>
> the following patch adds definition for PPC 405EP which was lost
> somehow during 2.4 -> 2.6 transition.
>
> Recent change to arch/ppc/kernel/misc.S ("Fix incorrect CPU_FTR fixup
> usage for unified caches") triggered this bug and 405EP boards don't
> boot anymore.
>
> Please, consider applying this patch before 2.6.12 release.
>
> Signed-off-by: Eugene Surovegin <ebs at ebshome.net>
>
> diff --git a/arch/ppc/kernel/cputable.c b/arch/ppc/kernel/cputable.c
> --- a/arch/ppc/kernel/cputable.c
> +++ b/arch/ppc/kernel/cputable.c
> @@ -838,6 +838,17 @@ struct cpu_spec	cpu_specs[] = {
>  		.icache_bsize		= 32,
>  		.dcache_bsize		= 32,
>  	},
> +	{	/* 405EP */
> +		.pvr_mask		= 0xffff0000,
> +		.pvr_value		= 0x51210000,
> +		.cpu_name		= "405EP",
> +		.cpu_features		= CPU_FTR_SPLIT_ID_CACHE |
> +			CPU_FTR_USE_TB,
> +		.cpu_user_features	= PPC_FEATURE_32 |
> +			PPC_FEATURE_HAS_MMU | PPC_FEATURE_HAS_4xxMAC,
> +		.icache_bsize		= 32,
> +		.dcache_bsize		= 32,
> +	},
>
>  #endif /* CONFIG_40x */
>  #ifdef CONFIG_44x
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded




More information about the Linuxppc-embedded mailing list