diff options
author | Tony Lindgren <tony@atomide.com> | 2011-01-27 19:39:40 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-01-27 19:39:40 -0500 |
commit | 59b479e0985f0b795d68331d6443a7f89c47768d (patch) | |
tree | 25fbfacecdbe30dfe1727ac39b1c6462a9719097 /arch | |
parent | 0e6d8cad448bde3d846961bb43db15daae94562e (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')
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 16 | ||||
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 20 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock2xxx.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c | 16 | ||||
-rw-r--r-- | arch/arm/mach-omap2/common.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/devices.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/io.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-omap2/mailbox.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/mcbsp.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/opp2xxx.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/powerdomains2xxx_data.c | 6 | ||||
-rw-r--r-- | arch/arm/plat-omap/counter_32k.c | 4 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/cpu.h | 10 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/io.h | 4 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/multi.h | 4 | ||||
-rw-r--r-- | arch/arm/plat-omap/sram.c | 4 |
16 files changed, 57 insertions, 57 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 1a2cf6226a55..ae7f47d1c97d 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -53,20 +53,20 @@ config ARCH_OMAP4 | |||
53 | comment "OMAP Core Type" | 53 | comment "OMAP Core Type" |
54 | depends on ARCH_OMAP2 | 54 | depends on ARCH_OMAP2 |
55 | 55 | ||
56 | config ARCH_OMAP2420 | 56 | config SOC_OMAP2420 |
57 | bool "OMAP2420 support" | 57 | bool "OMAP2420 support" |
58 | depends on ARCH_OMAP2 | 58 | depends on ARCH_OMAP2 |
59 | default y | 59 | default y |
60 | select OMAP_DM_TIMER | 60 | select OMAP_DM_TIMER |
61 | select ARCH_OMAP_OTG | 61 | select ARCH_OMAP_OTG |
62 | 62 | ||
63 | config ARCH_OMAP2430 | 63 | config SOC_OMAP2430 |
64 | bool "OMAP2430 support" | 64 | bool "OMAP2430 support" |
65 | depends on ARCH_OMAP2 | 65 | depends on ARCH_OMAP2 |
66 | default y | 66 | default y |
67 | select ARCH_OMAP_OTG | 67 | select ARCH_OMAP_OTG |
68 | 68 | ||
69 | config ARCH_OMAP3430 | 69 | config SOC_OMAP3430 |
70 | bool "OMAP3430 support" | 70 | bool "OMAP3430 support" |
71 | depends on ARCH_OMAP3 | 71 | depends on ARCH_OMAP3 |
72 | default y | 72 | default y |
@@ -106,25 +106,25 @@ config MACH_OMAP_GENERIC | |||
106 | 106 | ||
107 | config MACH_OMAP2_TUSB6010 | 107 | config MACH_OMAP2_TUSB6010 |
108 | bool | 108 | bool |
109 | depends on ARCH_OMAP2 && ARCH_OMAP2420 | 109 | depends on ARCH_OMAP2 && SOC_OMAP2420 |
110 | default y if MACH_NOKIA_N8X0 | 110 | default y if MACH_NOKIA_N8X0 |
111 | 111 | ||
112 | config MACH_OMAP_H4 | 112 | config MACH_OMAP_H4 |
113 | bool "OMAP 2420 H4 board" | 113 | bool "OMAP 2420 H4 board" |
114 | depends on ARCH_OMAP2420 | 114 | depends on SOC_OMAP2420 |
115 | default y | 115 | default y |
116 | select OMAP_PACKAGE_ZAF | 116 | select OMAP_PACKAGE_ZAF |
117 | select OMAP_DEBUG_DEVICES | 117 | select OMAP_DEBUG_DEVICES |
118 | 118 | ||
119 | config MACH_OMAP_APOLLON | 119 | config MACH_OMAP_APOLLON |
120 | bool "OMAP 2420 Apollon board" | 120 | bool "OMAP 2420 Apollon board" |
121 | depends on ARCH_OMAP2420 | 121 | depends on SOC_OMAP2420 |
122 | default y | 122 | default y |
123 | select OMAP_PACKAGE_ZAC | 123 | select OMAP_PACKAGE_ZAC |
124 | 124 | ||
125 | config MACH_OMAP_2430SDP | 125 | config MACH_OMAP_2430SDP |
126 | bool "OMAP 2430 SDP board" | 126 | bool "OMAP 2430 SDP board" |
127 | depends on ARCH_OMAP2430 | 127 | depends on SOC_OMAP2430 |
128 | default y | 128 | default y |
129 | select OMAP_PACKAGE_ZAC | 129 | select OMAP_PACKAGE_ZAC |
130 | 130 | ||
@@ -219,7 +219,7 @@ config MACH_NOKIA_N810_WIMAX | |||
219 | 219 | ||
220 | config MACH_NOKIA_N8X0 | 220 | config MACH_NOKIA_N8X0 |
221 | bool "Nokia N800/N810" | 221 | bool "Nokia N800/N810" |
222 | depends on ARCH_OMAP2420 | 222 | depends on SOC_OMAP2420 |
223 | default y | 223 | default y |
224 | select OMAP_PACKAGE_ZAC | 224 | select OMAP_PACKAGE_ZAC |
225 | select MACH_NOKIA_N800 | 225 | select MACH_NOKIA_N800 |
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 1c0c2b02d870..9eeabaf5e11a 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -31,8 +31,8 @@ AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) | |||
31 | AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a$(plus_sec) | 31 | AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a$(plus_sec) |
32 | 32 | ||
33 | # Functions loaded to SRAM | 33 | # Functions loaded to SRAM |
34 | obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o | 34 | obj-$(CONFIG_SOC_OMAP2420) += sram242x.o |
35 | obj-$(CONFIG_ARCH_OMAP2430) += sram243x.o | 35 | obj-$(CONFIG_SOC_OMAP2430) += sram243x.o |
36 | obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o | 36 | obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o |
37 | 37 | ||
38 | AFLAGS_sram242x.o :=-Wa,-march=armv6 | 38 | AFLAGS_sram242x.o :=-Wa,-march=armv6 |
@@ -40,8 +40,8 @@ AFLAGS_sram243x.o :=-Wa,-march=armv6 | |||
40 | AFLAGS_sram34xx.o :=-Wa,-march=armv7-a | 40 | AFLAGS_sram34xx.o :=-Wa,-march=armv7-a |
41 | 41 | ||
42 | # Pin multiplexing | 42 | # Pin multiplexing |
43 | obj-$(CONFIG_ARCH_OMAP2420) += mux2420.o | 43 | obj-$(CONFIG_SOC_OMAP2420) += mux2420.o |
44 | obj-$(CONFIG_ARCH_OMAP2430) += mux2430.o | 44 | obj-$(CONFIG_SOC_OMAP2430) += mux2430.o |
45 | obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o | 45 | obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o |
46 | obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o | 46 | obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o |
47 | 47 | ||
@@ -113,8 +113,8 @@ obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o \ | |||
113 | clkt2xxx_dpllcore.o \ | 113 | clkt2xxx_dpllcore.o \ |
114 | clkt2xxx_virt_prcm_set.o \ | 114 | clkt2xxx_virt_prcm_set.o \ |
115 | clkt2xxx_apll.o clkt2xxx_osc.o | 115 | clkt2xxx_apll.o clkt2xxx_osc.o |
116 | obj-$(CONFIG_ARCH_OMAP2420) += clock2420_data.o | 116 | obj-$(CONFIG_SOC_OMAP2420) += clock2420_data.o |
117 | obj-$(CONFIG_ARCH_OMAP2430) += clock2430.o clock2430_data.o | 117 | obj-$(CONFIG_SOC_OMAP2430) += clock2430.o clock2430_data.o |
118 | obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o \ | 118 | obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o \ |
119 | clock34xx.o clkt34xx_dpll3m2.o \ | 119 | clock34xx.o clkt34xx_dpll3m2.o \ |
120 | clock3517.o clock36xx.o \ | 120 | clock3517.o clock36xx.o \ |
@@ -123,12 +123,12 @@ obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o \ | |||
123 | dpll3xxx.o | 123 | dpll3xxx.o |
124 | 124 | ||
125 | # OMAP2 clock rate set data (old "OPP" data) | 125 | # OMAP2 clock rate set data (old "OPP" data) |
126 | obj-$(CONFIG_ARCH_OMAP2420) += opp2420_data.o | 126 | obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o |
127 | obj-$(CONFIG_ARCH_OMAP2430) += opp2430_data.o | 127 | obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o |
128 | 128 | ||
129 | # hwmod data | 129 | # hwmod data |
130 | obj-$(CONFIG_ARCH_OMAP2420) += omap_hwmod_2420_data.o | 130 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2420_data.o |
131 | obj-$(CONFIG_ARCH_OMAP2430) += omap_hwmod_2430_data.o | 131 | obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o |
132 | obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o | 132 | obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o |
133 | obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o | 133 | obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o |
134 | 134 | ||
diff --git a/arch/arm/mach-omap2/clock2xxx.h b/arch/arm/mach-omap2/clock2xxx.h index 6a658b890c17..cc5c8d422c5b 100644 --- a/arch/arm/mach-omap2/clock2xxx.h +++ b/arch/arm/mach-omap2/clock2xxx.h | |||
@@ -20,13 +20,13 @@ u32 omap2xxx_get_apll_clkin(void); | |||
20 | u32 omap2xxx_get_sysclkdiv(void); | 20 | u32 omap2xxx_get_sysclkdiv(void); |
21 | void omap2xxx_clk_prepare_for_reboot(void); | 21 | void omap2xxx_clk_prepare_for_reboot(void); |
22 | 22 | ||
23 | #ifdef CONFIG_ARCH_OMAP2420 | 23 | #ifdef CONFIG_SOC_OMAP2420 |
24 | int omap2420_clk_init(void); | 24 | int omap2420_clk_init(void); |
25 | #else | 25 | #else |
26 | #define omap2420_clk_init() 0 | 26 | #define omap2420_clk_init() 0 |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | #ifdef CONFIG_ARCH_OMAP2430 | 29 | #ifdef CONFIG_SOC_OMAP2430 |
30 | int omap2430_clk_init(void); | 30 | int omap2430_clk_init(void); |
31 | #else | 31 | #else |
32 | #define omap2430_clk_init() 0 | 32 | #define omap2430_clk_init() 0 |
diff --git a/arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c b/arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c index e4a7133ea3b3..e6f0d18d5e8d 100644 --- a/arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c +++ b/arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c | |||
@@ -171,7 +171,7 @@ static struct clkdm_dep core_24xx_wkdeps[] = { | |||
171 | 171 | ||
172 | /* 2430-specific possible wakeup dependencies */ | 172 | /* 2430-specific possible wakeup dependencies */ |
173 | 173 | ||
174 | #ifdef CONFIG_ARCH_OMAP2430 | 174 | #ifdef CONFIG_SOC_OMAP2430 |
175 | 175 | ||
176 | /* 2430 PM_WKDEP_MDM: CORE, MPU, WKUP */ | 176 | /* 2430 PM_WKDEP_MDM: CORE, MPU, WKUP */ |
177 | static struct clkdm_dep mdm_2430_wkdeps[] = { | 177 | static struct clkdm_dep mdm_2430_wkdeps[] = { |
@@ -194,7 +194,7 @@ static struct clkdm_dep mdm_2430_wkdeps[] = { | |||
194 | { NULL }, | 194 | { NULL }, |
195 | }; | 195 | }; |
196 | 196 | ||
197 | #endif /* CONFIG_ARCH_OMAP2430 */ | 197 | #endif /* CONFIG_SOC_OMAP2430 */ |
198 | 198 | ||
199 | 199 | ||
200 | /* OMAP3-specific possible dependencies */ | 200 | /* OMAP3-specific possible dependencies */ |
@@ -450,7 +450,7 @@ static struct clockdomain cm_clkdm = { | |||
450 | * 2420-only clockdomains | 450 | * 2420-only clockdomains |
451 | */ | 451 | */ |
452 | 452 | ||
453 | #if defined(CONFIG_ARCH_OMAP2420) | 453 | #if defined(CONFIG_SOC_OMAP2420) |
454 | 454 | ||
455 | static struct clockdomain mpu_2420_clkdm = { | 455 | static struct clockdomain mpu_2420_clkdm = { |
456 | .name = "mpu_clkdm", | 456 | .name = "mpu_clkdm", |
@@ -514,14 +514,14 @@ static struct clockdomain dss_2420_clkdm = { | |||
514 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP2420), | 514 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP2420), |
515 | }; | 515 | }; |
516 | 516 | ||
517 | #endif /* CONFIG_ARCH_OMAP2420 */ | 517 | #endif /* CONFIG_SOC_OMAP2420 */ |
518 | 518 | ||
519 | 519 | ||
520 | /* | 520 | /* |
521 | * 2430-only clockdomains | 521 | * 2430-only clockdomains |
522 | */ | 522 | */ |
523 | 523 | ||
524 | #if defined(CONFIG_ARCH_OMAP2430) | 524 | #if defined(CONFIG_SOC_OMAP2430) |
525 | 525 | ||
526 | static struct clockdomain mpu_2430_clkdm = { | 526 | static struct clockdomain mpu_2430_clkdm = { |
527 | .name = "mpu_clkdm", | 527 | .name = "mpu_clkdm", |
@@ -600,7 +600,7 @@ static struct clockdomain dss_2430_clkdm = { | |||
600 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP2430), | 600 | .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP2430), |
601 | }; | 601 | }; |
602 | 602 | ||
603 | #endif /* CONFIG_ARCH_OMAP2430 */ | 603 | #endif /* CONFIG_SOC_OMAP2430 */ |
604 | 604 | ||
605 | 605 | ||
606 | /* | 606 | /* |
@@ -811,7 +811,7 @@ static struct clockdomain *clockdomains_omap2[] __initdata = { | |||
811 | &cm_clkdm, | 811 | &cm_clkdm, |
812 | &prm_clkdm, | 812 | &prm_clkdm, |
813 | 813 | ||
814 | #ifdef CONFIG_ARCH_OMAP2420 | 814 | #ifdef CONFIG_SOC_OMAP2420 |
815 | &mpu_2420_clkdm, | 815 | &mpu_2420_clkdm, |
816 | &iva1_2420_clkdm, | 816 | &iva1_2420_clkdm, |
817 | &dsp_2420_clkdm, | 817 | &dsp_2420_clkdm, |
@@ -821,7 +821,7 @@ static struct clockdomain *clockdomains_omap2[] __initdata = { | |||
821 | &dss_2420_clkdm, | 821 | &dss_2420_clkdm, |
822 | #endif | 822 | #endif |
823 | 823 | ||
824 | #ifdef CONFIG_ARCH_OMAP2430 | 824 | #ifdef CONFIG_SOC_OMAP2430 |
825 | &mpu_2430_clkdm, | 825 | &mpu_2430_clkdm, |
826 | &mdm_clkdm, | 826 | &mdm_clkdm, |
827 | &dsp_2430_clkdm, | 827 | &dsp_2430_clkdm, |
diff --git a/arch/arm/mach-omap2/common.c b/arch/arm/mach-omap2/common.c index 778929f7e92d..d5eaee3dff79 100644 --- a/arch/arm/mach-omap2/common.c +++ b/arch/arm/mach-omap2/common.c | |||
@@ -40,7 +40,7 @@ static void __init __omap2_set_globals(struct omap_globals *omap2_globals) | |||
40 | 40 | ||
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #if defined(CONFIG_ARCH_OMAP2420) | 43 | #if defined(CONFIG_SOC_OMAP2420) |
44 | 44 | ||
45 | static struct omap_globals omap242x_globals = { | 45 | static struct omap_globals omap242x_globals = { |
46 | .class = OMAP242X_CLASS, | 46 | .class = OMAP242X_CLASS, |
@@ -61,7 +61,7 @@ void __init omap2_set_globals_242x(void) | |||
61 | } | 61 | } |
62 | #endif | 62 | #endif |
63 | 63 | ||
64 | #if defined(CONFIG_ARCH_OMAP2430) | 64 | #if defined(CONFIG_SOC_OMAP2430) |
65 | 65 | ||
66 | static struct omap_globals omap243x_globals = { | 66 | static struct omap_globals omap243x_globals = { |
67 | .class = OMAP243X_CLASS, | 67 | .class = OMAP243X_CLASS, |
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 2c9c912f2c42..e0f0ef952bc9 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -333,7 +333,7 @@ static struct platform_device omap2_mcspi2 = { | |||
333 | }, | 333 | }, |
334 | }; | 334 | }; |
335 | 335 | ||
336 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \ | 336 | #if defined(CONFIG_SOC_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \ |
337 | defined(CONFIG_ARCH_OMAP4) | 337 | defined(CONFIG_ARCH_OMAP4) |
338 | static struct omap2_mcspi_platform_config omap2_mcspi3_config = { | 338 | static struct omap2_mcspi_platform_config omap2_mcspi3_config = { |
339 | .num_cs = 2, | 339 | .num_cs = 2, |
@@ -400,7 +400,7 @@ static inline void omap4_mcspi_fixup(void) | |||
400 | } | 400 | } |
401 | #endif | 401 | #endif |
402 | 402 | ||
403 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \ | 403 | #if defined(CONFIG_SOC_OMAP2430) || defined(CONFIG_ARCH_OMAP3) || \ |
404 | defined(CONFIG_ARCH_OMAP4) | 404 | defined(CONFIG_ARCH_OMAP4) |
405 | static inline void omap2_mcspi3_init(void) | 405 | static inline void omap2_mcspi3_init(void) |
406 | { | 406 | { |
@@ -895,7 +895,7 @@ void __init omap2_init_mmc(struct omap_mmc_platform_data **mmc_data, | |||
895 | /*-------------------------------------------------------------------------*/ | 895 | /*-------------------------------------------------------------------------*/ |
896 | 896 | ||
897 | #if defined(CONFIG_HDQ_MASTER_OMAP) || defined(CONFIG_HDQ_MASTER_OMAP_MODULE) | 897 | #if defined(CONFIG_HDQ_MASTER_OMAP) || defined(CONFIG_HDQ_MASTER_OMAP_MODULE) |
898 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3430) | 898 | #if defined(CONFIG_SOC_OMAP2430) || defined(CONFIG_SOC_OMAP3430) |
899 | #define OMAP_HDQ_BASE 0x480B2000 | 899 | #define OMAP_HDQ_BASE 0x480B2000 |
900 | #endif | 900 | #endif |
901 | static struct resource omap_hdq_resources[] = { | 901 | static struct resource omap_hdq_resources[] = { |
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 |
70 | static struct map_desc omap242x_io_desc[] __initdata = { | 70 | static 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 |
94 | static struct map_desc omap243x_io_desc[] __initdata = { | 94 | static 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 |
245 | void __init omap242x_map_common_io(void) | 245 | void __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 |
254 | void __init omap243x_map_common_io(void) | 254 | void __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)); |
diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index 394413dc7deb..29b9dc3917af 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c | |||
@@ -310,7 +310,7 @@ struct omap_mbox mbox_dsp_info = { | |||
310 | struct omap_mbox *omap3_mboxes[] = { &mbox_dsp_info, NULL }; | 310 | struct omap_mbox *omap3_mboxes[] = { &mbox_dsp_info, NULL }; |
311 | #endif | 311 | #endif |
312 | 312 | ||
313 | #if defined(CONFIG_ARCH_OMAP2420) | 313 | #if defined(CONFIG_SOC_OMAP2420) |
314 | /* IVA */ | 314 | /* IVA */ |
315 | static struct omap_mbox2_priv omap2_mbox_iva_priv = { | 315 | static struct omap_mbox2_priv omap2_mbox_iva_priv = { |
316 | .tx_fifo = { | 316 | .tx_fifo = { |
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index f9c9df5b5ff1..0526b758bdcc 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c | |||
@@ -104,7 +104,7 @@ EXPORT_SYMBOL(omap2_mcbsp_set_clks_src); | |||
104 | 104 | ||
105 | /* Platform data */ | 105 | /* Platform data */ |
106 | 106 | ||
107 | #ifdef CONFIG_ARCH_OMAP2420 | 107 | #ifdef CONFIG_SOC_OMAP2420 |
108 | static struct omap_mcbsp_platform_data omap2420_mcbsp_pdata[] = { | 108 | static struct omap_mcbsp_platform_data omap2420_mcbsp_pdata[] = { |
109 | { | 109 | { |
110 | .phys_base = OMAP24XX_MCBSP1_BASE, | 110 | .phys_base = OMAP24XX_MCBSP1_BASE, |
@@ -129,7 +129,7 @@ static struct omap_mcbsp_platform_data omap2420_mcbsp_pdata[] = { | |||
129 | #define OMAP2420_MCBSP_REG_NUM 0 | 129 | #define OMAP2420_MCBSP_REG_NUM 0 |
130 | #endif | 130 | #endif |
131 | 131 | ||
132 | #ifdef CONFIG_ARCH_OMAP2430 | 132 | #ifdef CONFIG_SOC_OMAP2430 |
133 | static struct omap_mcbsp_platform_data omap2430_mcbsp_pdata[] = { | 133 | static struct omap_mcbsp_platform_data omap2430_mcbsp_pdata[] = { |
134 | { | 134 | { |
135 | .phys_base = OMAP24XX_MCBSP1_BASE, | 135 | .phys_base = OMAP24XX_MCBSP1_BASE, |
diff --git a/arch/arm/mach-omap2/opp2xxx.h b/arch/arm/mach-omap2/opp2xxx.h index 38b730550506..8affc66a92c2 100644 --- a/arch/arm/mach-omap2/opp2xxx.h +++ b/arch/arm/mach-omap2/opp2xxx.h | |||
@@ -418,7 +418,7 @@ struct prcm_config { | |||
418 | 418 | ||
419 | extern const struct prcm_config omap2420_rate_table[]; | 419 | extern const struct prcm_config omap2420_rate_table[]; |
420 | 420 | ||
421 | #ifdef CONFIG_ARCH_OMAP2430 | 421 | #ifdef CONFIG_SOC_OMAP2430 |
422 | extern const struct prcm_config omap2430_rate_table[]; | 422 | extern const struct prcm_config omap2430_rate_table[]; |
423 | #else | 423 | #else |
424 | #define omap2430_rate_table NULL | 424 | #define omap2430_rate_table NULL |
diff --git a/arch/arm/mach-omap2/powerdomains2xxx_data.c b/arch/arm/mach-omap2/powerdomains2xxx_data.c index 9b1a33500577..78739e10f5b9 100644 --- a/arch/arm/mach-omap2/powerdomains2xxx_data.c +++ b/arch/arm/mach-omap2/powerdomains2xxx_data.c | |||
@@ -78,7 +78,7 @@ static struct powerdomain core_24xx_pwrdm = { | |||
78 | * 2430-specific powerdomains | 78 | * 2430-specific powerdomains |
79 | */ | 79 | */ |
80 | 80 | ||
81 | #ifdef CONFIG_ARCH_OMAP2430 | 81 | #ifdef CONFIG_SOC_OMAP2430 |
82 | 82 | ||
83 | /* XXX 2430 KILLDOMAINWKUP bit? No current users apparently */ | 83 | /* XXX 2430 KILLDOMAINWKUP bit? No current users apparently */ |
84 | 84 | ||
@@ -97,7 +97,7 @@ static struct powerdomain mdm_pwrdm = { | |||
97 | }, | 97 | }, |
98 | }; | 98 | }; |
99 | 99 | ||
100 | #endif /* CONFIG_ARCH_OMAP2430 */ | 100 | #endif /* CONFIG_SOC_OMAP2430 */ |
101 | 101 | ||
102 | /* As powerdomains are added or removed above, this list must also be changed */ | 102 | /* As powerdomains are added or removed above, this list must also be changed */ |
103 | static struct powerdomain *powerdomains_omap2xxx[] __initdata = { | 103 | static struct powerdomain *powerdomains_omap2xxx[] __initdata = { |
@@ -111,7 +111,7 @@ static struct powerdomain *powerdomains_omap2xxx[] __initdata = { | |||
111 | &core_24xx_pwrdm, | 111 | &core_24xx_pwrdm, |
112 | #endif | 112 | #endif |
113 | 113 | ||
114 | #ifdef CONFIG_ARCH_OMAP2430 | 114 | #ifdef CONFIG_SOC_OMAP2430 |
115 | &mdm_pwrdm, | 115 | &mdm_pwrdm, |
116 | #endif | 116 | #endif |
117 | NULL | 117 | NULL |
diff --git a/arch/arm/plat-omap/counter_32k.c b/arch/arm/plat-omap/counter_32k.c index 862dda95d61d..f7fed6080190 100644 --- a/arch/arm/plat-omap/counter_32k.c +++ b/arch/arm/plat-omap/counter_32k.c | |||
@@ -54,7 +54,7 @@ static cycle_t notrace omap16xx_32k_read(struct clocksource *cs) | |||
54 | #define omap16xx_32k_read NULL | 54 | #define omap16xx_32k_read NULL |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | #ifdef CONFIG_ARCH_OMAP2420 | 57 | #ifdef CONFIG_SOC_OMAP2420 |
58 | static cycle_t notrace omap2420_32k_read(struct clocksource *cs) | 58 | static cycle_t notrace omap2420_32k_read(struct clocksource *cs) |
59 | { | 59 | { |
60 | return omap_readl(OMAP2420_32KSYNCT_BASE + 0x10) - offset_32k; | 60 | return omap_readl(OMAP2420_32KSYNCT_BASE + 0x10) - offset_32k; |
@@ -63,7 +63,7 @@ static cycle_t notrace omap2420_32k_read(struct clocksource *cs) | |||
63 | #define omap2420_32k_read NULL | 63 | #define omap2420_32k_read NULL |
64 | #endif | 64 | #endif |
65 | 65 | ||
66 | #ifdef CONFIG_ARCH_OMAP2430 | 66 | #ifdef CONFIG_SOC_OMAP2430 |
67 | static cycle_t notrace omap2430_32k_read(struct clocksource *cs) | 67 | static cycle_t notrace omap2430_32k_read(struct clocksource *cs) |
68 | { | 68 | { |
69 | return omap_readl(OMAP2430_32KSYNCT_BASE + 0x10) - offset_32k; | 69 | return omap_readl(OMAP2430_32KSYNCT_BASE + 0x10) - offset_32k; |
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; | |||
259 | extern void omap1_map_common_io(void); | 259 | extern void omap1_map_common_io(void); |
260 | extern void omap1_init_common_hw(void); | 260 | extern void omap1_init_common_hw(void); |
261 | 261 | ||
262 | #ifdef CONFIG_ARCH_OMAP2420 | 262 | #ifdef CONFIG_SOC_OMAP2420 |
263 | extern void omap242x_map_common_io(void); | 263 | extern void omap242x_map_common_io(void); |
264 | #else | 264 | #else |
265 | static inline void omap242x_map_common_io(void) | 265 | static 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 |
271 | extern void omap243x_map_common_io(void); | 271 | extern void omap243x_map_common_io(void); |
272 | #else | 272 | #else |
273 | static inline void omap243x_map_common_io(void) | 273 | static 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 |
diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index e26e50487d60..aedcb3be4e66 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c | |||
@@ -312,7 +312,7 @@ u32 omap2_set_prcm(u32 dpll_ctrl_val, u32 sdrc_rfr_val, int bypass) | |||
312 | } | 312 | } |
313 | #endif | 313 | #endif |
314 | 314 | ||
315 | #ifdef CONFIG_ARCH_OMAP2420 | 315 | #ifdef CONFIG_SOC_OMAP2420 |
316 | static int __init omap242x_sram_init(void) | 316 | static int __init omap242x_sram_init(void) |
317 | { | 317 | { |
318 | _omap2_sram_ddr_init = omap_sram_push(omap242x_sram_ddr_init, | 318 | _omap2_sram_ddr_init = omap_sram_push(omap242x_sram_ddr_init, |
@@ -333,7 +333,7 @@ static inline int omap242x_sram_init(void) | |||
333 | } | 333 | } |
334 | #endif | 334 | #endif |
335 | 335 | ||
336 | #ifdef CONFIG_ARCH_OMAP2430 | 336 | #ifdef CONFIG_SOC_OMAP2430 |
337 | static int __init omap243x_sram_init(void) | 337 | static int __init omap243x_sram_init(void) |
338 | { | 338 | { |
339 | _omap2_sram_ddr_init = omap_sram_push(omap243x_sram_ddr_init, | 339 | _omap2_sram_ddr_init = omap_sram_push(omap243x_sram_ddr_init, |