aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-02-12 15:26:47 -0500
committerTony Lindgren <tony@atomide.com>2010-02-15 12:27:01 -0500
commit088ef950dc0dd58d2f339e1616c9092fea923f06 (patch)
tree4901dd1855d101f2d4c84c1d297edb4e9404ffcd /arch/arm/mach-omap2
parentd10f2b6e745f1232ff6517b335faf3bfd7005bec (diff)
omap2: Convert ARCH_OMAP24XX to ARCH_OMAP2
Convert ARCH_OMAP24XX to ARCH_OMAP2 Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/Kconfig16
-rw-r--r--arch/arm/mach-omap2/Makefile2
-rw-r--r--arch/arm/mach-omap2/clock.h2
-rw-r--r--arch/arm/mach-omap2/clockdomains.h2
-rw-r--r--arch/arm/mach-omap2/io.c2
-rw-r--r--arch/arm/mach-omap2/mux.c2
-rw-r--r--arch/arm/mach-omap2/powerdomains24xx.h4
7 files changed, 13 insertions, 17 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 606bf04f51b6..69a6b2baabfe 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -1,19 +1,15 @@
1comment "OMAP Core Type" 1comment "OMAP Core Type"
2 depends on ARCH_OMAP2 2 depends on ARCH_OMAP2
3 3
4config ARCH_OMAP24XX
5 bool "OMAP24xx Based System"
6 depends on ARCH_OMAP2
7
8config ARCH_OMAP2420 4config ARCH_OMAP2420
9 bool "OMAP2420 support" 5 bool "OMAP2420 support"
10 depends on ARCH_OMAP24XX 6 depends on ARCH_OMAP2
11 select OMAP_DM_TIMER 7 select OMAP_DM_TIMER
12 select ARCH_OMAP_OTG 8 select ARCH_OMAP_OTG
13 9
14config ARCH_OMAP2430 10config ARCH_OMAP2430
15 bool "OMAP2430 support" 11 bool "OMAP2430 support"
16 depends on ARCH_OMAP24XX 12 depends on ARCH_OMAP2
17 13
18config ARCH_OMAP34XX 14config ARCH_OMAP34XX
19 bool "OMAP34xx Based System" 15 bool "OMAP34xx Based System"
@@ -42,7 +38,7 @@ comment "OMAP Board Type"
42 38
43config MACH_OMAP_GENERIC 39config MACH_OMAP_GENERIC
44 bool "Generic OMAP board" 40 bool "Generic OMAP board"
45 depends on ARCH_OMAP2 && ARCH_OMAP24XX 41 depends on ARCH_OMAP2
46 42
47config MACH_OMAP2_TUSB6010 43config MACH_OMAP2_TUSB6010
48 bool 44 bool
@@ -51,16 +47,16 @@ config MACH_OMAP2_TUSB6010
51 47
52config MACH_OMAP_H4 48config MACH_OMAP_H4
53 bool "OMAP 2420 H4 board" 49 bool "OMAP 2420 H4 board"
54 depends on ARCH_OMAP2 && ARCH_OMAP24XX 50 depends on ARCH_OMAP2
55 select OMAP_DEBUG_DEVICES 51 select OMAP_DEBUG_DEVICES
56 52
57config MACH_OMAP_APOLLON 53config MACH_OMAP_APOLLON
58 bool "OMAP 2420 Apollon board" 54 bool "OMAP 2420 Apollon board"
59 depends on ARCH_OMAP2 && ARCH_OMAP24XX 55 depends on ARCH_OMAP2
60 56
61config MACH_OMAP_2430SDP 57config MACH_OMAP_2430SDP
62 bool "OMAP 2430 SDP board" 58 bool "OMAP 2430 SDP board"
63 depends on ARCH_OMAP2 && ARCH_OMAP24XX 59 depends on ARCH_OMAP2
64 60
65config MACH_OMAP3_BEAGLE 61config MACH_OMAP3_BEAGLE
66 bool "OMAP3 BEAGLE board" 62 bool "OMAP3 BEAGLE board"
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index f6f151c4f089..492cf164e000 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -48,7 +48,7 @@ obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
48# Power Management 48# Power Management
49ifeq ($(CONFIG_PM),y) 49ifeq ($(CONFIG_PM),y)
50obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o 50obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
51obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o 51obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
52obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o 52obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o
53obj-$(CONFIG_PM_DEBUG) += pm-debug.o 53obj-$(CONFIG_PM_DEBUG) += pm-debug.o
54 54
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h
index a6e85f46a65c..fcb99cce5fc8 100644
--- a/arch/arm/mach-omap2/clock.h
+++ b/arch/arm/mach-omap2/clock.h
@@ -129,7 +129,7 @@ extern const struct clksel_rate gpt_32k_rates[];
129extern const struct clksel_rate gpt_sys_rates[]; 129extern const struct clksel_rate gpt_sys_rates[];
130extern const struct clksel_rate gfx_l3_rates[]; 130extern const struct clksel_rate gfx_l3_rates[];
131 131
132#if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_CPU_FREQ) 132#if defined(CONFIG_ARCH_OMAP2) && defined(CONFIG_CPU_FREQ)
133extern void omap2_clk_init_cpufreq_table(struct cpufreq_frequency_table **table); 133extern void omap2_clk_init_cpufreq_table(struct cpufreq_frequency_table **table);
134extern void omap2_clk_exit_cpufreq_table(struct cpufreq_frequency_table **table); 134extern void omap2_clk_exit_cpufreq_table(struct cpufreq_frequency_table **table);
135#else 135#else
diff --git a/arch/arm/mach-omap2/clockdomains.h b/arch/arm/mach-omap2/clockdomains.h
index 7db6298493fd..8fc19ff2cd89 100644
--- a/arch/arm/mach-omap2/clockdomains.h
+++ b/arch/arm/mach-omap2/clockdomains.h
@@ -84,7 +84,7 @@ static struct clkdm_dep gfx_sgx_wkdeps[] = {
84 84
85/* 24XX-specific possible dependencies */ 85/* 24XX-specific possible dependencies */
86 86
87#ifdef CONFIG_ARCH_OMAP24XX 87#ifdef CONFIG_ARCH_OMAP2
88 88
89/* Wakeup dependency source arrays */ 89/* Wakeup dependency source arrays */
90 90
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index 31296cbecb0b..103fc0915fb9 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
@@ -55,7 +55,7 @@
55 * default mapping provided here. 55 * default mapping provided here.
56 */ 56 */
57 57
58#ifdef CONFIG_ARCH_OMAP24XX 58#ifdef CONFIG_ARCH_OMAP2
59static struct map_desc omap24xx_io_desc[] __initdata = { 59static struct map_desc omap24xx_io_desc[] __initdata = {
60 { 60 {
61 .virtual = L3_24XX_VIRT, 61 .virtual = L3_24XX_VIRT,
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c
index 5fedc50c58e4..fa7c8dad35ef 100644
--- a/arch/arm/mach-omap2/mux.c
+++ b/arch/arm/mach-omap2/mux.c
@@ -75,7 +75,7 @@ void omap_mux_write_array(struct omap_board_mux *board_mux)
75 } 75 }
76} 76}
77 77
78#if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_OMAP_MUX) 78#if defined(CONFIG_ARCH_OMAP2) && defined(CONFIG_OMAP_MUX)
79 79
80static struct omap_mux_cfg arch_mux_cfg; 80static struct omap_mux_cfg arch_mux_cfg;
81 81
diff --git a/arch/arm/mach-omap2/powerdomains24xx.h b/arch/arm/mach-omap2/powerdomains24xx.h
index 652a01b729e9..775093add9b6 100644
--- a/arch/arm/mach-omap2/powerdomains24xx.h
+++ b/arch/arm/mach-omap2/powerdomains24xx.h
@@ -30,7 +30,7 @@
30 30
31/* 24XX powerdomains and dependencies */ 31/* 24XX powerdomains and dependencies */
32 32
33#ifdef CONFIG_ARCH_OMAP24XX 33#ifdef CONFIG_ARCH_OMAP2
34 34
35/* Powerdomains */ 35/* Powerdomains */
36 36
@@ -82,7 +82,7 @@ static struct powerdomain core_24xx_pwrdm = {
82 }, 82 },
83}; 83};
84 84
85#endif /* CONFIG_ARCH_OMAP24XX */ 85#endif /* CONFIG_ARCH_OMAP2 */
86 86
87 87
88 88