aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/id.c
diff options
context:
space:
mode:
authorRanjith Lohithakshan <ranjithl@ti.com>2009-11-22 13:10:59 -0500
committerTony Lindgren <tony@atomide.com>2009-11-22 13:24:32 -0500
commit56190b609b9c011363dd761838ce01cd3cd0a24f (patch)
tree75078ae0cf585b3b2e5f93e02605072639c93ce3 /arch/arm/mach-omap2/id.c
parent4cac60180649b83e094d4ea5c440229814488431 (diff)
omap3: AM35xx: Initialize omap_chip bits
AM35xx is functionally similar to OMAP3430 ES3.1 from a powerdomain/clockdomain perspective. This patch initializes the omap_chip bits on AM35xx for use by powerdomain and clockdomain code. Signed-off-by: Ranjith Lohithakshan <ranjithl@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/id.c')
-rw-r--r--arch/arm/mach-omap2/id.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index f8252c64c423..441ca26270a5 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -372,6 +372,8 @@ void __init omap2_check_revision(void)
372 } else if (cpu_is_omap242x()) { 372 } else if (cpu_is_omap242x()) {
373 /* Currently only supports 2420ES2.1.1 and 2420-all */ 373 /* Currently only supports 2420ES2.1.1 and 2420-all */
374 omap_chip.oc |= CHIP_IS_OMAP2420; 374 omap_chip.oc |= CHIP_IS_OMAP2420;
375 } else if (cpu_is_omap3505() || cpu_is_omap3517()) {
376 omap_chip.oc = CHIP_IS_OMAP3430 | CHIP_IS_OMAP3430ES3_1;
375 } else if (cpu_is_omap343x()) { 377 } else if (cpu_is_omap343x()) {
376 omap_chip.oc = CHIP_IS_OMAP3430; 378 omap_chip.oc = CHIP_IS_OMAP3430;
377 if (omap_rev() == OMAP3430_REV_ES1_0) 379 if (omap_rev() == OMAP3430_REV_ES1_0)