aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/plat/cpu.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-01-19 15:40:26 -0800
committerTony Lindgren <tony@atomide.com>2010-01-19 18:17:36 -0800
commite9acb9b64d7fb16c7f69efa85c5707cffd0c7275 (patch)
tree2eae26e4c1cfb5dab85b846125270b80bea55ad3 /arch/arm/plat-omap/include/plat/cpu.h
parentd4bb72e50a0c4b6790dec127a38fd06d06e561cc (diff)
omap3: Fix cpu detection
We need to set the omap_chip.oc carefully for the clocks to work. To fix this, set the omap_chip.oc in omap3_check_features() based on the CONTROL_IDCODE and silicon revision registers. Also add handling for 34xx es3.1.2 as es3.1 for now. Fixes booting on at least overo board. Based on an earlier patch by Paul Walmsley <paul@pwsan.com>. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/cpu.h')
-rw-r--r--arch/arm/plat-omap/include/plat/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h
index 9a028bdebb0..a162f585b1e 100644
--- a/arch/arm/plat-omap/include/plat/cpu.h
+++ b/arch/arm/plat-omap/include/plat/cpu.h
@@ -434,6 +434,7 @@ IS_OMAP_TYPE(3517, 0x3517)
#define OMAP3430_REV_ES2_1 0x34302034
#define OMAP3430_REV_ES3_0 0x34303034
#define OMAP3430_REV_ES3_1 0x34304034
+#define OMAP3430_REV_ES3_1_2 0x34305034
#define OMAP3630_REV_ES1_0 0x36300034