Kconfig 5.0 KB
Newer Older
1 2 3
menu "TI OMAP/AM/DM/DRA Family"
	depends on ARCH_MULTI_V6 || ARCH_MULTI_V7

4
config ARCH_OMAP2
5
	bool "TI OMAP2"
6
	depends on ARCH_MULTI_V6
7
	select ARCH_OMAP2PLUS
8
	select CPU_V6
9
	select SOC_HAS_OMAP2_SDRC
10 11

config ARCH_OMAP3
12
	bool "TI OMAP3"
13
	depends on ARCH_MULTI_V7
14
	select ARCH_OMAP2PLUS
15
	select ARM_CPU_SUSPEND if PM
16
	select OMAP_INTERCONNECT
17
	select PM_OPP if PM
18
	select PM if CPU_IDLE
19
	select SOC_HAS_OMAP2_SDRC
20
	select ARM_ERRATA_430973
21 22

config ARCH_OMAP4
23
	bool "TI OMAP4"
24
	depends on ARCH_MULTI_V7
25
	select ARCH_OMAP2PLUS
26 27 28 29
	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
	select ARM_CPU_SUSPEND if PM
	select ARM_ERRATA_720789
	select ARM_GIC
30
	select HAVE_ARM_SCU if SMP
31
	select HAVE_ARM_TWD if SMP
32
	select OMAP_INTERCONNECT
33
	select OMAP_INTERCONNECT_BARRIER
34 35
	select PL310_ERRATA_588369 if CACHE_L2X0
	select PL310_ERRATA_727915 if CACHE_L2X0
N
Nishanth Menon 已提交
36
	select PM_OPP if PM
37
	select PM if CPU_IDLE
38 39
	select ARM_ERRATA_754322
	select ARM_ERRATA_775420
40

R
R Sricharan 已提交
41 42
config SOC_OMAP5
	bool "TI OMAP5"
43
	depends on ARCH_MULTI_V7
44
	select ARCH_OMAP2PLUS
45
	select ARM_CPU_SUSPEND if PM
R
R Sricharan 已提交
46
	select ARM_GIC
47
	select HAVE_ARM_SCU if SMP
48
	select HAVE_ARM_ARCH_TIMER
49
	select ARM_ERRATA_798181 if SMP
50
	select OMAP_INTERCONNECT
51
	select OMAP_INTERCONNECT_BARRIER
52
	select PM_OPP if PM
53
	select ZONE_DMA if ARM_LPAE
R
R Sricharan 已提交
54

55
config SOC_AM33XX
56
	bool "TI AM33XX"
57 58 59 60 61 62 63 64 65 66
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS
	select ARM_CPU_SUSPEND if PM

config SOC_AM43XX
	bool "TI AM43x"
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS
	select ARM_GIC
	select MACH_OMAP_GENERIC
67
	select MIGHT_HAVE_CACHE_L2X0
68
	select HAVE_ARM_SCU
69
	select GENERIC_CLOCKEVENTS_BROADCAST
70
	select HAVE_ARM_TWD
71

72 73 74 75 76 77
config SOC_DRA7XX
	bool "TI DRA7XX"
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS
	select ARM_CPU_SUSPEND if PM
	select ARM_GIC
78
	select HAVE_ARM_SCU if SMP
79
	select HAVE_ARM_ARCH_TIMER
80
	select IRQ_CROSSBAR
81
	select ARM_ERRATA_798181 if SMP
82
	select OMAP_INTERCONNECT
83
	select OMAP_INTERCONNECT_BARRIER
84
	select PM_OPP if PM
85
	select ZONE_DMA if ARM_LPAE
86

87 88 89 90 91 92 93 94
config ARCH_OMAP2PLUS
	bool
	select ARCH_HAS_BANDGAP
	select ARCH_HAS_HOLES_MEMORYMODEL
	select ARCH_OMAP
	select ARCH_REQUIRE_GPIOLIB
	select CLKSRC_MMIO
	select GENERIC_IRQ_CHIP
95
	select MACH_OMAP_GENERIC
96
	select MEMORY
97
	select MFD_SYSCON
98
	select OMAP_DM_TIMER
99
	select OMAP_GPMC
100 101
	select PINCTRL
	select SOC_BUS
102
	select OMAP_IRQCHIP
103
	select CLKSRC_TI_32K
104 105 106
	help
	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5

107 108 109 110
config OMAP_INTERCONNECT_BARRIER
	bool
	select ARM_HEAVY_MB
	
111 112 113 114 115 116 117 118 119 120 121 122 123

if ARCH_OMAP2PLUS

menu "TI OMAP2/3/4 Specific Features"

config ARCH_OMAP2PLUS_TYPICAL
	bool "Typical OMAP configuration"
	default y
	select AEABI
	select HIGHMEM
	select I2C
	select I2C_OMAP
	select MENELAUS if ARCH_OMAP2
124
	select NEON if CPU_V7
125
	select PM
126
	select REGULATOR
127
	select REGULATOR_FIXED_VOLTAGE
128 129 130 131 132 133 134 135 136 137 138
	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
	select VFP
	help
	  Compile a kernel suitable for booting most boards

config SOC_HAS_OMAP2_SDRC
	bool "OMAP2 SDRAM Controller support"

config SOC_HAS_REALTIME_COUNTER
	bool "Real time free running counter"
139
	depends on SOC_OMAP5 || SOC_DRA7XX
140 141
	default y

142
comment "OMAP Core Type"
143
	depends on ARCH_OMAP2
144

145
config SOC_OMAP2420
146
	bool "OMAP2420 support"
147
	depends on ARCH_OMAP2
148
	default y
149
	select OMAP_DM_TIMER
150
	select SOC_HAS_OMAP2_SDRC
151

152
config SOC_OMAP2430
153
	bool "OMAP2430 support"
154
	depends on ARCH_OMAP2
155
	default y
156
	select SOC_HAS_OMAP2_SDRC
157

158
config SOC_OMAP3430
159
	bool "OMAP3430 support"
160
	depends on ARCH_OMAP3
161
	default y
162
	select SOC_HAS_OMAP2_SDRC
163

164
config SOC_TI81XX
165
	bool "TI81XX support"
166
	depends on ARCH_OMAP3
167 168
	default y

169 170 171 172 173 174 175 176 177
config OMAP_PACKAGE_CBC
       bool

config OMAP_PACKAGE_CBB
       bool

config OMAP_PACKAGE_CUS
       bool

178 179 180
config OMAP_PACKAGE_CBP
       bool

181
comment "OMAP Legacy Platform Data Board Type"
182
	depends on ARCH_OMAP2PLUS
183 184

config MACH_OMAP_GENERIC
185
	bool
186

K
Kalle Valo 已提交
187 188
config MACH_OMAP2_TUSB6010
	bool
189
	depends on ARCH_OMAP2 && SOC_OMAP2420
K
Kalle Valo 已提交
190 191
	default y if MACH_NOKIA_N8X0

192 193
config MACH_OMAP_LDP
	bool "OMAP3 LDP board"
194
	depends on ARCH_OMAP3
195
	default y
196
	select OMAP_PACKAGE_CBB
197

198 199 200 201 202
config MACH_OMAP3517EVM
	bool "OMAP3517/ AM3517 EVM board"
	depends on ARCH_OMAP3
	default y

203 204
config MACH_OMAP3_PANDORA
	bool "OMAP3 Pandora"
205
	depends on ARCH_OMAP3
206
	default y
207
	select OMAP_PACKAGE_CBB
208

T
Tony Lindgren 已提交
209 210 211 212 213 214
config MACH_NOKIA_N810
       bool

config MACH_NOKIA_N810_WIMAX
       bool

215 216
config MACH_NOKIA_N8X0
	bool "Nokia N800/N810"
217
	depends on SOC_OMAP2420
218
	default y
T
Tony Lindgren 已提交
219 220
	select MACH_NOKIA_N810
	select MACH_NOKIA_N810_WIMAX
221

222
config MACH_NOKIA_RX51
223
	bool "Nokia N900 (RX-51) phone"
224
	depends on ARCH_OMAP3
225
	default y
226
	select OMAP_PACKAGE_CBB
227

228 229
config OMAP3_SDRC_AC_TIMING
	bool "Enable SDRC AC timing register changes"
230
	depends on ARCH_OMAP3
231 232 233 234 235 236 237 238 239
	default n
	help
	  If you know that none of your system initiators will attempt to
	  access SDRAM during CORE DVFS, select Y here.  This should boost
	  SDRAM performance at lower CORE OPPs.  There are relatively few
	  users who will wish to say yes at this point - almost everyone will
	  wish to say no.  Selecting yes without understanding what is
	  going on could result in system crashes;

240 241 242
endmenu

endif
243 244

endmenu