diff options
author | vikram pandita <vikram.pandita@ti.com> | 2009-11-22 13:10:57 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-11-22 13:24:32 -0500 |
commit | f18af0a847f9e1a843bcb8ba69697ccbba2d03e9 (patch) | |
tree | 748288065cb809517544b62c1da4eb3396bbc580 /arch/arm/mach-omap2/id.c | |
parent | 2456a10fb3a9b8c9e970b05e6c1370201675da0a (diff) |
omap3: 3630: update is_chip variable
3630 is getting treated like next rev of 3430
omap_chip.oc variable has to be updated for 3630 version
Otherwise the Core power domain is not getting registered.
This gets used in the registration of power domains in:
"arch/arm/mach-omap2/powerdomains34xx.h"
core_34xx_es3_1_pwrdm
OMAP_CHIP_INIT(CHIP_GE_OMAP3430ES3_1)
Core power doman will get registered for 3630 only when .oc is
populated correctly.
Tested on Zoom3(3630) board
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Acked-by: Alexander Shishkin <virtuoso@slind.org>
Acked-by: Ari Kauppi <kauppi@papupata.org>
Acked-by: Nishanth Menon <nm@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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 1c1511220890..189cf7a6e61b 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c | |||
@@ -359,6 +359,8 @@ void __init omap2_check_revision(void) | |||
359 | omap_chip.oc |= CHIP_IS_OMAP3430ES3_0; | 359 | omap_chip.oc |= CHIP_IS_OMAP3430ES3_0; |
360 | else if (omap_rev() == OMAP3430_REV_ES3_1) | 360 | else if (omap_rev() == OMAP3430_REV_ES3_1) |
361 | omap_chip.oc |= CHIP_IS_OMAP3430ES3_1; | 361 | omap_chip.oc |= CHIP_IS_OMAP3430ES3_1; |
362 | else if (omap_rev() == OMAP3630_REV_ES1_0) | ||
363 | omap_chip.oc |= CHIP_IS_OMAP3630ES1; | ||
362 | } else { | 364 | } else { |
363 | pr_err("Uninitialized omap_chip, please fix!\n"); | 365 | pr_err("Uninitialized omap_chip, please fix!\n"); |
364 | } | 366 | } |