diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2012-07-05 11:05:15 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-07-05 11:05:15 -0400 |
commit | 971b8a9c3eeb798f6201299728fdbb04ebb681c6 (patch) | |
tree | a603e81825f64cf494e13f542614c263c0455b21 /arch/arm/mach-omap2 | |
parent | 1c213ba16ed8f48fc12dfec8a588d608ffef0904 (diff) |
ARM: OMAP2+: am33xx: Change cpu_is_am33xx to soc_is_am33xx
As per recent discussion on the linux-omap list, we are
moving in the direction where, we will have only architecture,
ARCH_OMAP2PLUS and all devices/platforms will be treated
as a SoC underneath.
So the first step in this direction is to adopt this change
for all new devices getting in, converting
cpu_is_am33xx/335x() ==> soc_is_am33xx/335x()
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/clock3xxx_data.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/id.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c index 71a1d3383807..7300982a8e0e 100644 --- a/arch/arm/mach-omap2/clock3xxx_data.c +++ b/arch/arm/mach-omap2/clock3xxx_data.c | |||
@@ -3491,7 +3491,7 @@ int __init omap3xxx_clk_init(void) | |||
3491 | } else if (cpu_is_ti816x()) { | 3491 | } else if (cpu_is_ti816x()) { |
3492 | cpu_mask = RATE_IN_TI816X; | 3492 | cpu_mask = RATE_IN_TI816X; |
3493 | cpu_clkflg = CK_TI816X; | 3493 | cpu_clkflg = CK_TI816X; |
3494 | } else if (cpu_is_am33xx()) { | 3494 | } else if (soc_is_am33xx()) { |
3495 | cpu_mask = RATE_IN_AM33XX; | 3495 | cpu_mask = RATE_IN_AM33XX; |
3496 | } else if (cpu_is_ti814x()) { | 3496 | } else if (cpu_is_ti814x()) { |
3497 | cpu_mask = RATE_IN_TI814X; | 3497 | cpu_mask = RATE_IN_TI814X; |
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 00486a8564fd..37eb95aaf2f6 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c | |||
@@ -44,7 +44,7 @@ int omap_type(void) | |||
44 | 44 | ||
45 | if (cpu_is_omap24xx()) { | 45 | if (cpu_is_omap24xx()) { |
46 | val = omap_ctrl_readl(OMAP24XX_CONTROL_STATUS); | 46 | val = omap_ctrl_readl(OMAP24XX_CONTROL_STATUS); |
47 | } else if (cpu_is_am33xx()) { | 47 | } else if (soc_is_am33xx()) { |
48 | val = omap_ctrl_readl(AM33XX_CONTROL_STATUS); | 48 | val = omap_ctrl_readl(AM33XX_CONTROL_STATUS); |
49 | } else if (cpu_is_omap34xx()) { | 49 | } else if (cpu_is_omap34xx()) { |
50 | val = omap_ctrl_readl(OMAP343X_CONTROL_STATUS); | 50 | val = omap_ctrl_readl(OMAP343X_CONTROL_STATUS); |
@@ -189,7 +189,7 @@ static void __init omap3_cpuinfo(void) | |||
189 | cpu_name = (omap3_has_sgx()) ? "AM3517" : "AM3505"; | 189 | cpu_name = (omap3_has_sgx()) ? "AM3517" : "AM3505"; |
190 | } else if (cpu_is_ti816x()) { | 190 | } else if (cpu_is_ti816x()) { |
191 | cpu_name = "TI816X"; | 191 | cpu_name = "TI816X"; |
192 | } else if (cpu_is_am335x()) { | 192 | } else if (soc_is_am335x()) { |
193 | cpu_name = "AM335X"; | 193 | cpu_name = "AM335X"; |
194 | } else if (cpu_is_ti814x()) { | 194 | } else if (cpu_is_ti814x()) { |
195 | cpu_name = "TI814X"; | 195 | cpu_name = "TI814X"; |