diff mbox

[RFC,v2,3/6] powerpc: broadway processor support

Message ID 1259880447-5008-4-git-send-email-albert_herranz@yahoo.es (mailing list archive)
State Superseded
Headers show

Commit Message

Albert Herranz Dec. 3, 2009, 10:47 p.m. UTC
This patch extends the cputable entry of the 750CL to also match
the 750CL-based "Broadway" cpu found on the Nintendo Wii.

As of this patch, the following "Broadway" design revision levels have
been seen in the wild:
- DD1.2 (87102)
- DD2.0 (87200)

Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>
---
v1 -> v2
- Don't reorder the table. Suggestion by Grant Likely.

 arch/powerpc/kernel/cputable.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Comments

Benjamin Herrenschmidt Dec. 11, 2009, 9:59 p.m. UTC | #1
On Thu, 2009-12-03 at 23:47 +0100, Albert Herranz wrote:
> This patch extends the cputable entry of the 750CL to also match
> the 750CL-based "Broadway" cpu found on the Nintendo Wii.
> 
> As of this patch, the following "Broadway" design revision levels have
> been seen in the wild:
> - DD1.2 (87102)
> - DD2.0 (87200)
> 
> Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>


> ---
> v1 -> v2
> - Don't reorder the table. Suggestion by Grant Likely.
> 
>  arch/powerpc/kernel/cputable.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
> index 03c862b..2fc82ba 100644
> --- a/arch/powerpc/kernel/cputable.c
> +++ b/arch/powerpc/kernel/cputable.c
> @@ -697,9 +697,9 @@ static struct cpu_spec __initdata cpu_specs[] = {
>  		.machine_check		= machine_check_generic,
>  		.platform		= "ppc750",
>  	},
> -	{	/* 750CL */
> -		.pvr_mask		= 0xfffff0f0,
> -		.pvr_value		= 0x00087010,
> +	{	/* 750CL (and "Broadway") */
> +		.pvr_mask		= 0xfffff0e0,
> +		.pvr_value		= 0x00087000,
>  		.cpu_name		= "750CL",
>  		.cpu_features		= CPU_FTRS_750CL,
>  		.cpu_user_features	= COMMON_USER | PPC_FEATURE_PPC_LE,
diff mbox

Patch

diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 03c862b..2fc82ba 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -697,9 +697,9 @@  static struct cpu_spec __initdata cpu_specs[] = {
 		.machine_check		= machine_check_generic,
 		.platform		= "ppc750",
 	},
-	{	/* 750CL */
-		.pvr_mask		= 0xfffff0f0,
-		.pvr_value		= 0x00087010,
+	{	/* 750CL (and "Broadway") */
+		.pvr_mask		= 0xfffff0e0,
+		.pvr_value		= 0x00087000,
 		.cpu_name		= "750CL",
 		.cpu_features		= CPU_FTRS_750CL,
 		.cpu_user_features	= COMMON_USER | PPC_FEATURE_PPC_LE,