diff options
author | Tony Lindgren <tony@atomide.com> | 2010-02-12 15:26:47 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-15 12:27:01 -0500 |
commit | 088ef950dc0dd58d2f339e1616c9092fea923f06 (patch) | |
tree | 4901dd1855d101f2d4c84c1d297edb4e9404ffcd /arch/arm/mach-omap2 | |
parent | d10f2b6e745f1232ff6517b335faf3bfd7005bec (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/Kconfig | 16 | ||||
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clockdomains.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/io.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/mux.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/powerdomains24xx.h | 4 |
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 @@ | |||
1 | comment "OMAP Core Type" | 1 | comment "OMAP Core Type" |
2 | depends on ARCH_OMAP2 | 2 | depends on ARCH_OMAP2 |
3 | 3 | ||
4 | config ARCH_OMAP24XX | ||
5 | bool "OMAP24xx Based System" | ||
6 | depends on ARCH_OMAP2 | ||
7 | |||
8 | config ARCH_OMAP2420 | 4 | config 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 | ||
14 | config ARCH_OMAP2430 | 10 | config ARCH_OMAP2430 |
15 | bool "OMAP2430 support" | 11 | bool "OMAP2430 support" |
16 | depends on ARCH_OMAP24XX | 12 | depends on ARCH_OMAP2 |
17 | 13 | ||
18 | config ARCH_OMAP34XX | 14 | config ARCH_OMAP34XX |
19 | bool "OMAP34xx Based System" | 15 | bool "OMAP34xx Based System" |
@@ -42,7 +38,7 @@ comment "OMAP Board Type" | |||
42 | 38 | ||
43 | config MACH_OMAP_GENERIC | 39 | config 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 | ||
47 | config MACH_OMAP2_TUSB6010 | 43 | config MACH_OMAP2_TUSB6010 |
48 | bool | 44 | bool |
@@ -51,16 +47,16 @@ config MACH_OMAP2_TUSB6010 | |||
51 | 47 | ||
52 | config MACH_OMAP_H4 | 48 | config 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 | ||
57 | config MACH_OMAP_APOLLON | 53 | config 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 | ||
61 | config MACH_OMAP_2430SDP | 57 | config 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 | ||
65 | config MACH_OMAP3_BEAGLE | 61 | config 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 |
49 | ifeq ($(CONFIG_PM),y) | 49 | ifeq ($(CONFIG_PM),y) |
50 | obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o | 50 | obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o |
51 | obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o | 51 | obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o |
52 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o | 52 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o |
53 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o | 53 | obj-$(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[]; | |||
129 | extern const struct clksel_rate gpt_sys_rates[]; | 129 | extern const struct clksel_rate gpt_sys_rates[]; |
130 | extern const struct clksel_rate gfx_l3_rates[]; | 130 | extern 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) |
133 | extern void omap2_clk_init_cpufreq_table(struct cpufreq_frequency_table **table); | 133 | extern void omap2_clk_init_cpufreq_table(struct cpufreq_frequency_table **table); |
134 | extern void omap2_clk_exit_cpufreq_table(struct cpufreq_frequency_table **table); | 134 | extern 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 |
59 | static struct map_desc omap24xx_io_desc[] __initdata = { | 59 | static 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 | ||
80 | static struct omap_mux_cfg arch_mux_cfg; | 80 | static 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 | ||