diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2013-09-06 22:53:35 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-09-06 22:53:35 -0400 |
commit | eeca9fad52fc4bfdf42c38bfcf383e932eb3e9d6 (patch) | |
tree | cc51c880459d41c0e8d7576405bef4c987bc7aa0 /arch/arm/mach-omap2/Kconfig | |
parent | ff6f83fc9d44db09997937c3475d525a6866fbb4 (diff) | |
parent | b48a97be8e6c2afdba2f3b61fd88c3c7743fbd73 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
Merge upstream tree in order to reinstate crct10dif.
Diffstat (limited to 'arch/arm/mach-omap2/Kconfig')
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 153 |
1 files changed, 78 insertions, 75 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index c7b32a966f67..627fa7e41fba 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -1,63 +1,10 @@ | |||
1 | config ARCH_OMAP | 1 | config ARCH_OMAP |
2 | bool | 2 | bool |
3 | 3 | ||
4 | config ARCH_OMAP2PLUS | ||
5 | bool "TI OMAP2/3/4/5 SoCs with device tree support" if (ARCH_MULTI_V6 || ARCH_MULTI_V7) | ||
6 | select ARCH_HAS_CPUFREQ | ||
7 | select ARCH_HAS_BANDGAP | ||
8 | select ARCH_HAS_HOLES_MEMORYMODEL | ||
9 | select ARCH_OMAP | ||
10 | select ARCH_REQUIRE_GPIOLIB | ||
11 | select CLKDEV_LOOKUP | ||
12 | select CLKSRC_MMIO | ||
13 | select GENERIC_CLOCKEVENTS | ||
14 | select GENERIC_IRQ_CHIP | ||
15 | select HAVE_CLK | ||
16 | select OMAP_DM_TIMER | ||
17 | select PINCTRL | ||
18 | select PROC_DEVICETREE if PROC_FS | ||
19 | select SOC_BUS | ||
20 | select SPARSE_IRQ | ||
21 | select TI_PRIV_EDMA | ||
22 | select USE_OF | ||
23 | help | ||
24 | Systems based on OMAP2, OMAP3, OMAP4 or OMAP5 | ||
25 | |||
26 | |||
27 | if ARCH_OMAP2PLUS | ||
28 | |||
29 | menu "TI OMAP2/3/4 Specific Features" | ||
30 | |||
31 | config ARCH_OMAP2PLUS_TYPICAL | ||
32 | bool "Typical OMAP configuration" | ||
33 | default y | ||
34 | select AEABI | ||
35 | select HIGHMEM | ||
36 | select I2C | ||
37 | select I2C_OMAP | ||
38 | select MENELAUS if ARCH_OMAP2 | ||
39 | select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5 | ||
40 | select PM_RUNTIME | ||
41 | select REGULATOR | ||
42 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 | ||
43 | select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 | ||
44 | select VFP | ||
45 | help | ||
46 | Compile a kernel suitable for booting most boards | ||
47 | |||
48 | config SOC_HAS_OMAP2_SDRC | ||
49 | bool "OMAP2 SDRAM Controller support" | ||
50 | |||
51 | config SOC_HAS_REALTIME_COUNTER | ||
52 | bool "Real time free running counter" | ||
53 | depends on SOC_OMAP5 | ||
54 | default y | ||
55 | |||
56 | config ARCH_OMAP2 | 4 | config ARCH_OMAP2 |
57 | bool "TI OMAP2" | 5 | bool "TI OMAP2" |
58 | depends on ARCH_OMAP2PLUS | ||
59 | depends on ARCH_MULTI_V6 | 6 | depends on ARCH_MULTI_V6 |
60 | default y | 7 | select ARCH_OMAP2PLUS |
61 | select CPU_V6 | 8 | select CPU_V6 |
62 | select MULTI_IRQ_HANDLER | 9 | select MULTI_IRQ_HANDLER |
63 | select SOC_HAS_OMAP2_SDRC | 10 | select SOC_HAS_OMAP2_SDRC |
@@ -65,9 +12,8 @@ config ARCH_OMAP2 | |||
65 | 12 | ||
66 | config ARCH_OMAP3 | 13 | config ARCH_OMAP3 |
67 | bool "TI OMAP3" | 14 | bool "TI OMAP3" |
68 | depends on ARCH_OMAP2PLUS | ||
69 | depends on ARCH_MULTI_V7 | 15 | depends on ARCH_MULTI_V7 |
70 | default y | 16 | select ARCH_OMAP2PLUS |
71 | select ARCH_HAS_OPP | 17 | select ARCH_HAS_OPP |
72 | select ARM_CPU_SUSPEND if PM | 18 | select ARM_CPU_SUSPEND if PM |
73 | select CPU_V7 | 19 | select CPU_V7 |
@@ -81,9 +27,8 @@ config ARCH_OMAP3 | |||
81 | 27 | ||
82 | config ARCH_OMAP4 | 28 | config ARCH_OMAP4 |
83 | bool "TI OMAP4" | 29 | bool "TI OMAP4" |
84 | default y | ||
85 | depends on ARCH_OMAP2PLUS | ||
86 | depends on ARCH_MULTI_V7 | 30 | depends on ARCH_MULTI_V7 |
31 | select ARCH_OMAP2PLUS | ||
87 | select ARCH_HAS_OPP | 32 | select ARCH_HAS_OPP |
88 | select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP | 33 | select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP |
89 | select ARM_CPU_SUSPEND if PM | 34 | select ARM_CPU_SUSPEND if PM |
@@ -108,12 +53,87 @@ config ARCH_OMAP4 | |||
108 | config SOC_OMAP5 | 53 | config SOC_OMAP5 |
109 | bool "TI OMAP5" | 54 | bool "TI OMAP5" |
110 | depends on ARCH_MULTI_V7 | 55 | depends on ARCH_MULTI_V7 |
56 | select ARCH_OMAP2PLUS | ||
111 | select ARM_CPU_SUSPEND if PM | 57 | select ARM_CPU_SUSPEND if PM |
112 | select ARM_GIC | 58 | select ARM_GIC |
113 | select CPU_V7 | 59 | select CPU_V7 |
60 | select HAVE_ARM_SCU if SMP | ||
61 | select HAVE_ARM_TWD if LOCAL_TIMERS | ||
114 | select HAVE_SMP | 62 | select HAVE_SMP |
115 | select COMMON_CLK | 63 | select COMMON_CLK |
116 | select HAVE_ARM_ARCH_TIMER | 64 | select HAVE_ARM_ARCH_TIMER |
65 | select ARM_ERRATA_798181 | ||
66 | |||
67 | config SOC_AM33XX | ||
68 | bool "AM33XX support" | ||
69 | depends on ARCH_MULTI_V7 | ||
70 | select ARCH_OMAP2PLUS | ||
71 | select ARM_CPU_SUSPEND if PM | ||
72 | select CPU_V7 | ||
73 | select MULTI_IRQ_HANDLER | ||
74 | select COMMON_CLK | ||
75 | |||
76 | config SOC_AM43XX | ||
77 | bool "TI AM43x" | ||
78 | depends on ARCH_MULTI_V7 | ||
79 | select CPU_V7 | ||
80 | select ARCH_OMAP2PLUS | ||
81 | select MULTI_IRQ_HANDLER | ||
82 | select ARM_GIC | ||
83 | select COMMON_CLK | ||
84 | select MACH_OMAP_GENERIC | ||
85 | |||
86 | config ARCH_OMAP2PLUS | ||
87 | bool | ||
88 | select ARCH_HAS_BANDGAP | ||
89 | select ARCH_HAS_CPUFREQ | ||
90 | select ARCH_HAS_HOLES_MEMORYMODEL | ||
91 | select ARCH_OMAP | ||
92 | select ARCH_REQUIRE_GPIOLIB | ||
93 | select CLKDEV_LOOKUP | ||
94 | select CLKSRC_MMIO | ||
95 | select GENERIC_CLOCKEVENTS | ||
96 | select GENERIC_IRQ_CHIP | ||
97 | select HAVE_CLK | ||
98 | select OMAP_DM_TIMER | ||
99 | select PINCTRL | ||
100 | select PROC_DEVICETREE if PROC_FS | ||
101 | select SOC_BUS | ||
102 | select SPARSE_IRQ | ||
103 | select TI_PRIV_EDMA | ||
104 | select USE_OF | ||
105 | help | ||
106 | Systems based on OMAP2, OMAP3, OMAP4 or OMAP5 | ||
107 | |||
108 | |||
109 | if ARCH_OMAP2PLUS | ||
110 | |||
111 | menu "TI OMAP2/3/4 Specific Features" | ||
112 | |||
113 | config ARCH_OMAP2PLUS_TYPICAL | ||
114 | bool "Typical OMAP configuration" | ||
115 | default y | ||
116 | select AEABI | ||
117 | select HIGHMEM | ||
118 | select I2C | ||
119 | select I2C_OMAP | ||
120 | select MENELAUS if ARCH_OMAP2 | ||
121 | select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5 | ||
122 | select PM_RUNTIME | ||
123 | select REGULATOR | ||
124 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 | ||
125 | select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 | ||
126 | select VFP | ||
127 | help | ||
128 | Compile a kernel suitable for booting most boards | ||
129 | |||
130 | config SOC_HAS_OMAP2_SDRC | ||
131 | bool "OMAP2 SDRAM Controller support" | ||
132 | |||
133 | config SOC_HAS_REALTIME_COUNTER | ||
134 | bool "Real time free running counter" | ||
135 | depends on SOC_OMAP5 | ||
136 | default y | ||
117 | 137 | ||
118 | comment "OMAP Core Type" | 138 | comment "OMAP Core Type" |
119 | depends on ARCH_OMAP2 | 139 | depends on ARCH_OMAP2 |
@@ -142,23 +162,6 @@ config SOC_TI81XX | |||
142 | depends on ARCH_OMAP3 | 162 | depends on ARCH_OMAP3 |
143 | default y | 163 | default y |
144 | 164 | ||
145 | config SOC_AM33XX | ||
146 | bool "AM33XX support" | ||
147 | depends on ARCH_MULTI_V7 | ||
148 | default y | ||
149 | select ARM_CPU_SUSPEND if PM | ||
150 | select CPU_V7 | ||
151 | select MULTI_IRQ_HANDLER | ||
152 | select COMMON_CLK | ||
153 | |||
154 | config SOC_AM43XX | ||
155 | bool "TI AM43x" | ||
156 | select CPU_V7 | ||
157 | select MULTI_IRQ_HANDLER | ||
158 | select ARM_GIC | ||
159 | select COMMON_CLK | ||
160 | select MACH_OMAP_GENERIC | ||
161 | |||
162 | config OMAP_PACKAGE_ZAF | 165 | config OMAP_PACKAGE_ZAF |
163 | bool | 166 | bool |
164 | 167 | ||