diff mbox

davinci: dm646x: Add support for 3.x silicon revision

Message ID 1251890375-7333-1-git-send-email-hemantp@ti.com (mailing list archive)
State Accepted
Headers show

Commit Message

Hemant Pedanekar Sept. 2, 2009, 11:19 a.m. UTC
DM6467 silicon revisions 3.x have variant field in JTAGID register as '1'.
This path adds entry for the same in dm646x_ids to be able to boot on boards
with 3.x revision chips.

Also modifies name for 'variant=0' (revisions 1.0, 1.1).

Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
---
 arch/arm/mach-davinci/dm646x.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

Comments

Kevin Hilman Sept. 14, 2009, 9:32 p.m. UTC | #1
Hemant Pedanekar <hemantp@ti.com> writes:

> DM6467 silicon revisions 3.x have variant field in JTAGID register as '1'.
> This path adds entry for the same in dm646x_ids to be able to boot on boards
> with 3.x revision chips.
>
> Also modifies name for 'variant=0' (revisions 1.0, 1.1).
>
> Signed-off-by: Hemant Pedanekar <hemantp@ti.com>

Thanks, pushing today.

Kevin

> ---
>  arch/arm/mach-davinci/dm646x.c |    9 ++++++++-
>  1 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c
> index 0976049..36e4fb4 100644
> --- a/arch/arm/mach-davinci/dm646x.c
> +++ b/arch/arm/mach-davinci/dm646x.c
> @@ -789,7 +789,14 @@ static struct davinci_id dm646x_ids[] = {
>  		.part_no	= 0xb770,
>  		.manufacturer	= 0x017,
>  		.cpu_id		= DAVINCI_CPU_ID_DM6467,
> -		.name		= "dm6467",
> +		.name		= "dm6467_rev1.x",
> +	},
> +	{
> +		.variant	= 0x1,
> +		.part_no	= 0xb770,
> +		.manufacturer	= 0x017,
> +		.cpu_id		= DAVINCI_CPU_ID_DM6467,
> +		.name		= "dm6467_rev3.x",
>  	},
>  };
>  
> -- 
> 1.6.2.4
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c
index 0976049..36e4fb4 100644
--- a/arch/arm/mach-davinci/dm646x.c
+++ b/arch/arm/mach-davinci/dm646x.c
@@ -789,7 +789,14 @@  static struct davinci_id dm646x_ids[] = {
 		.part_no	= 0xb770,
 		.manufacturer	= 0x017,
 		.cpu_id		= DAVINCI_CPU_ID_DM6467,
-		.name		= "dm6467",
+		.name		= "dm6467_rev1.x",
+	},
+	{
+		.variant	= 0x1,
+		.part_no	= 0xb770,
+		.manufacturer	= 0x017,
+		.cpu_id		= DAVINCI_CPU_ID_DM6467,
+		.name		= "dm6467_rev3.x",
 	},
 };