aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/io.c
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/mach-omap2/io.c
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/mach-omap2/io.c')
-rw-r--r--arch/arm/mach-omap2/io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index c2032041d26f..11decd85f18b 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
@@ -66,7 +66,7 @@ static struct map_desc omap24xx_io_desc[] __initdata = {
66 }, 66 },
67}; 67};
68 68
69#ifdef CONFIG_ARCH_OMAP2420 69#ifdef CONFIG_SOC_OMAP2420
70static struct map_desc omap242x_io_desc[] __initdata = { 70static struct map_desc omap242x_io_desc[] __initdata = {
71 { 71 {
72 .virtual = DSP_MEM_2420_VIRT, 72 .virtual = DSP_MEM_2420_VIRT,
@@ -90,7 +90,7 @@ static struct map_desc omap242x_io_desc[] __initdata = {
90 90
91#endif 91#endif
92 92
93#ifdef CONFIG_ARCH_OMAP2430 93#ifdef CONFIG_SOC_OMAP2430
94static struct map_desc omap243x_io_desc[] __initdata = { 94static struct map_desc omap243x_io_desc[] __initdata = {
95 { 95 {
96 .virtual = L4_WK_243X_VIRT, 96 .virtual = L4_WK_243X_VIRT,
@@ -241,7 +241,7 @@ static void __init _omap2_map_common_io(void)
241 omap_sram_init(); 241 omap_sram_init();
242} 242}
243 243
244#ifdef CONFIG_ARCH_OMAP2420 244#ifdef CONFIG_SOC_OMAP2420
245void __init omap242x_map_common_io(void) 245void __init omap242x_map_common_io(void)
246{ 246{
247 iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc)); 247 iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc));
@@ -250,7 +250,7 @@ void __init omap242x_map_common_io(void)
250} 250}
251#endif 251#endif
252 252
253#ifdef CONFIG_ARCH_OMAP2430 253#ifdef CONFIG_SOC_OMAP2430
254void __init omap243x_map_common_io(void) 254void __init omap243x_map_common_io(void)
255{ 255{
256 iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc)); 256 iotable_init(omap24xx_io_desc, ARRAY_SIZE(omap24xx_io_desc));