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 21

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

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

54
config SOC_AM33XX
55
	bool "TI AM33XX"
56 57 58 59 60 61 62 63 64 65
	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
66
	select MIGHT_HAVE_CACHE_L2X0
67
	select HAVE_ARM_SCU
68
	select GENERIC_CLOCKEVENTS_BROADCAST
69
	select HAVE_ARM_TWD
70

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

86 87 88 89 90 91 92 93
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
94
	select MACH_OMAP_GENERIC
95
	select MEMORY
96
	select MFD_SYSCON
97
	select OMAP_DM_TIMER
98
	select OMAP_GPMC
99 100
	select PINCTRL
	select SOC_BUS
101
	select OMAP_IRQCHIP
102
	select CLKSRC_TI_32K
103 104 105
	help
	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5

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

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
123
	select NEON if CPU_V7
124
	select PM
125
	select REGULATOR
126
	select REGULATOR_FIXED_VOLTAGE
127 128 129 130 131 132 133 134 135 136 137
	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"
138
	depends on SOC_OMAP5 || SOC_DRA7XX
139 140
	default y

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

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

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

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

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

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

config OMAP_PACKAGE_CBB
       bool

config OMAP_PACKAGE_CUS
       bool

177 178 179
config OMAP_PACKAGE_CBP
       bool

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

config MACH_OMAP_GENERIC
184
	bool
185

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

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

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

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

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

config MACH_NOKIA_N810_WIMAX
       bool

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

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

227 228
config OMAP3_SDRC_AC_TIMING
	bool "Enable SDRC AC timing register changes"
229
	depends on ARCH_OMAP3
230 231 232 233 234 235 236 237 238
	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;

239 240 241
endmenu

endif
242 243

endmenu