aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-01-27 19:39:40 -0500
committerTony Lindgren <tony@atomide.com>2011-01-27 19:39:40 -0500
commit59b479e0985f0b795d68331d6443a7f89c47768d (patch)
tree25fbfacecdbe30dfe1727ac39b1c6462a9719097 /arch/arm/plat-omap/include/plat
parent0e6d8cad448bde3d846961bb43db15daae94562e (diff)
omap: Start using CONFIG_SOC_OMAP
We want to have just CONFIG_ARCH_OMAP2, 3 and 4. The rest are nowadays just subcategories of these. Search and replace the following: ARCH_OMAP2420 SOC_OMAP2420 ARCH_OMAP2430 SOC_OMAP2430 ARCH_OMAP3430 SOC_OMAP3430 No functional changes. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Thomas Weber <weber@corscience.de> Acked-by: Sourav Poddar <sourav.poddar@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat')
-rw-r--r--arch/arm/plat-omap/include/plat/cpu.h10
-rw-r--r--arch/arm/plat-omap/include/plat/io.h4
-rw-r--r--arch/arm/plat-omap/include/plat/multi.h4
3 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h
index 3fd8b4055727..73d91ee43de6 100644
--- a/arch/arm/plat-omap/include/plat/cpu.h
+++ b/arch/arm/plat-omap/include/plat/cpu.h
@@ -170,11 +170,11 @@ IS_OMAP_SUBCLASS(443x, 0x443)
170# undef cpu_is_omap24xx 170# undef cpu_is_omap24xx
171# define cpu_is_omap24xx() is_omap24xx() 171# define cpu_is_omap24xx() is_omap24xx()
172# endif 172# endif
173# if defined (CONFIG_ARCH_OMAP2420) 173# if defined (CONFIG_SOC_OMAP2420)
174# undef cpu_is_omap242x 174# undef cpu_is_omap242x
175# define cpu_is_omap242x() is_omap242x() 175# define cpu_is_omap242x() is_omap242x()
176# endif 176# endif
177# if defined (CONFIG_ARCH_OMAP2430) 177# if defined (CONFIG_SOC_OMAP2430)
178# undef cpu_is_omap243x 178# undef cpu_is_omap243x
179# define cpu_is_omap243x() is_omap243x() 179# define cpu_is_omap243x() is_omap243x()
180# endif 180# endif
@@ -189,11 +189,11 @@ IS_OMAP_SUBCLASS(443x, 0x443)
189# undef cpu_is_omap24xx 189# undef cpu_is_omap24xx
190# define cpu_is_omap24xx() 1 190# define cpu_is_omap24xx() 1
191# endif 191# endif
192# if defined(CONFIG_ARCH_OMAP2420) 192# if defined(CONFIG_SOC_OMAP2420)
193# undef cpu_is_omap242x 193# undef cpu_is_omap242x
194# define cpu_is_omap242x() 1 194# define cpu_is_omap242x() 1
195# endif 195# endif
196# if defined(CONFIG_ARCH_OMAP2430) 196# if defined(CONFIG_SOC_OMAP2430)
197# undef cpu_is_omap243x 197# undef cpu_is_omap243x
198# define cpu_is_omap243x() 1 198# define cpu_is_omap243x() 1
199# endif 199# endif
@@ -201,7 +201,7 @@ IS_OMAP_SUBCLASS(443x, 0x443)
201# undef cpu_is_omap34xx 201# undef cpu_is_omap34xx
202# define cpu_is_omap34xx() 1 202# define cpu_is_omap34xx() 1
203# endif 203# endif
204# if defined(CONFIG_ARCH_OMAP3430) 204# if defined(CONFIG_SOC_OMAP3430)
205# undef cpu_is_omap343x 205# undef cpu_is_omap343x
206# define cpu_is_omap343x() 1 206# define cpu_is_omap343x() 1
207# endif 207# endif
diff --git a/arch/arm/plat-omap/include/plat/io.h b/arch/arm/plat-omap/include/plat/io.h
index ef4106c13183..478c5d9b2bdd 100644
--- a/arch/arm/plat-omap/include/plat/io.h
+++ b/arch/arm/plat-omap/include/plat/io.h
@@ -259,7 +259,7 @@ struct omap_sdrc_params;
259extern void omap1_map_common_io(void); 259extern void omap1_map_common_io(void);
260extern void omap1_init_common_hw(void); 260extern void omap1_init_common_hw(void);
261 261
262#ifdef CONFIG_ARCH_OMAP2420 262#ifdef CONFIG_SOC_OMAP2420
263extern void omap242x_map_common_io(void); 263extern void omap242x_map_common_io(void);
264#else 264#else
265static inline void omap242x_map_common_io(void) 265static inline void omap242x_map_common_io(void)
@@ -267,7 +267,7 @@ static inline void omap242x_map_common_io(void)
267} 267}
268#endif 268#endif
269 269
270#ifdef CONFIG_ARCH_OMAP2430 270#ifdef CONFIG_SOC_OMAP2430
271extern void omap243x_map_common_io(void); 271extern void omap243x_map_common_io(void);
272#else 272#else
273static inline void omap243x_map_common_io(void) 273static inline void omap243x_map_common_io(void)
diff --git a/arch/arm/plat-omap/include/plat/multi.h b/arch/arm/plat-omap/include/plat/multi.h
index ffd909fa5287..999ffba2690c 100644
--- a/arch/arm/plat-omap/include/plat/multi.h
+++ b/arch/arm/plat-omap/include/plat/multi.h
@@ -66,7 +66,7 @@
66# error "OMAP1 and OMAP2PLUS can't be selected at the same time" 66# error "OMAP1 and OMAP2PLUS can't be selected at the same time"
67# endif 67# endif
68#endif 68#endif
69#ifdef CONFIG_ARCH_OMAP2420 69#ifdef CONFIG_SOC_OMAP2420
70# ifdef OMAP_NAME 70# ifdef OMAP_NAME
71# undef MULTI_OMAP2 71# undef MULTI_OMAP2
72# define MULTI_OMAP2 72# define MULTI_OMAP2
@@ -74,7 +74,7 @@
74# define OMAP_NAME omap2420 74# define OMAP_NAME omap2420
75# endif 75# endif
76#endif 76#endif
77#ifdef CONFIG_ARCH_OMAP2430 77#ifdef CONFIG_SOC_OMAP2430
78# ifdef OMAP_NAME 78# ifdef OMAP_NAME
79# undef MULTI_OMAP2 79# undef MULTI_OMAP2
80# define MULTI_OMAP2 80# define MULTI_OMAP2