aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/powerdomains.h
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-01-26 22:13:13 -0500
committerPaul Walmsley <paul@pwsan.com>2010-01-29 12:14:23 -0500
commit98fa3d8aeabf7a039cc920a9c2ffebc6b4648e2b (patch)
tree8e2112bea42e5cca4f8394274309e30f83b55fc1 /arch/arm/mach-omap2/powerdomains.h
parent56ef28acf122d30b137851aa6a599ba48319a6b0 (diff)
OMAP2+ powerdomains/clockdomains: prepare for multi-OMAP configs
Convert CONFIG_ARCH_OMAP34XX to CONFIG_ARCH_OMAP3, and CONFIG_ARCH_OMAP24XX to CONFIG_ARCH_OMAP2, in preparation for Tony's multi-OMAP patches. While here, update some copyrights, convert instances of "34xx" to "3xxx" where applicable, and convert preprocessor directives of the form #if defined(CONFIG_ARCH_OMAP2) | defined(CONFIG_ARCH_OMAP3) to #if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) for standardization. Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomains.h')
-rw-r--r--arch/arm/mach-omap2/powerdomains.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/powerdomains.h b/arch/arm/mach-omap2/powerdomains.h
index faa8fc952d95..105cbcaefd3b 100644
--- a/arch/arm/mach-omap2/powerdomains.h
+++ b/arch/arm/mach-omap2/powerdomains.h
@@ -23,7 +23,7 @@
23 23
24/* 24/*
25 * This file contains all of the powerdomains that have some element 25 * This file contains all of the powerdomains that have some element
26 * of software control for the OMAP24xx and OMAP34XX chips. 26 * of software control for the OMAP24xx and OMAP34xx chips.
27 * 27 *
28 * This is not an exhaustive listing of powerdomains on the chips; only 28 * This is not an exhaustive listing of powerdomains on the chips; only
29 * powerdomains that can be controlled in software. 29 * powerdomains that can be controlled in software.
@@ -60,7 +60,7 @@
60 60
61/* OMAP2/3-common powerdomains */ 61/* OMAP2/3-common powerdomains */
62 62
63#if defined(CONFIG_ARCH_OMAP24XX) | defined(CONFIG_ARCH_OMAP34XX) 63#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
64 64
65/* 65/*
66 * The GFX powerdomain is not present on 3430ES2, but currently we do not 66 * The GFX powerdomain is not present on 3430ES2, but currently we do not
@@ -94,12 +94,12 @@ static struct powerdomain wkup_omap2_pwrdm = {
94/* As powerdomains are added or removed above, this list must also be changed */ 94/* As powerdomains are added or removed above, this list must also be changed */
95static struct powerdomain *powerdomains_omap[] __initdata = { 95static struct powerdomain *powerdomains_omap[] __initdata = {
96 96
97#if defined(CONFIG_ARCH_OMAP24XX) | defined(CONFIG_ARCH_OMAP34XX) 97#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
98 &wkup_omap2_pwrdm, 98 &wkup_omap2_pwrdm,
99 &gfx_omap2_pwrdm, 99 &gfx_omap2_pwrdm,
100#endif 100#endif
101 101
102#ifdef CONFIG_ARCH_OMAP24XX 102#ifdef CONFIG_ARCH_OMAP2
103 &dsp_pwrdm, 103 &dsp_pwrdm,
104 &mpu_24xx_pwrdm, 104 &mpu_24xx_pwrdm,
105 &core_24xx_pwrdm, 105 &core_24xx_pwrdm,
@@ -109,12 +109,12 @@ static struct powerdomain *powerdomains_omap[] __initdata = {
109 &mdm_pwrdm, 109 &mdm_pwrdm,
110#endif 110#endif
111 111
112#ifdef CONFIG_ARCH_OMAP34XX 112#ifdef CONFIG_ARCH_OMAP3
113 &iva2_pwrdm, 113 &iva2_pwrdm,
114 &mpu_34xx_pwrdm, 114 &mpu_3xxx_pwrdm,
115 &neon_pwrdm, 115 &neon_pwrdm,
116 &core_34xx_pre_es3_1_pwrdm, 116 &core_3xxx_pre_es3_1_pwrdm,
117 &core_34xx_es3_1_pwrdm, 117 &core_3xxx_es3_1_pwrdm,
118 &cam_pwrdm, 118 &cam_pwrdm,
119 &dss_pwrdm, 119 &dss_pwrdm,
120 &per_pwrdm, 120 &per_pwrdm,