summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/clock3xxx_data.c
diff options
context:
space:
mode:
authorHemant Pedanekar <hemantp@ti.com>2011-12-13 22:46:45 +0400
committerTony Lindgren <tony@atomide.com>2011-12-13 22:46:45 +0400
commit4390f5b2cb1f568c1d4b3e5bbf57158f6809627a (patch)
treeda721e041c495451b55ffec95fc1d7d63f4df9cd /arch/arm/mach-omap2/clock3xxx_data.c
parenta920360f038e976e7a86b002e209402da20e9147 (diff)
downloadlinux-4390f5b2cb1f568c1d4b3e5bbf57158f6809627a.tar.xz
ARM: OMAP: TI814X: Add cpu type macros and detection support
This patch adds cpu type, macros for identification of TI814X device. Signed-off-by: Hemant Pedanekar <hemantp@ti.com> [tony@atomide.com: left out CK_TI814X for now] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock3xxx_data.c')
-rw-r--r--arch/arm/mach-omap2/clock3xxx_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c
index be0fa34e5506..60424f41156b 100644
--- a/arch/arm/mach-omap2/clock3xxx_data.c
+++ b/arch/arm/mach-omap2/clock3xxx_data.c
@@ -3519,6 +3519,8 @@ int __init omap3xxx_clk_init(void)
cpu_clkflg = CK_TI816X;
} else if (cpu_is_am33xx()) {
cpu_mask = RATE_IN_AM33XX;
+ } else if (cpu_is_ti814x()) {
+ cpu_mask = RATE_IN_TI814X;
} else if (cpu_is_omap34xx()) {
if (omap_rev() == OMAP3430_REV_ES1_0) {
cpu_mask = RATE_IN_3430ES1;