xref: /linux/arch/arm/mach-omap2/Kconfig (revision c2b8d9200fc61298cd74b258a453b526ffa74d17)
1menu "TI OMAP/AM/DM/DRA Family"
2	depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
3
4config 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
11config 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
21config ARCH_OMAP4
22	bool "TI OMAP4"
23	depends on ARCH_MULTI_V7
24	select ARCH_OMAP2PLUS
25	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
26	select ARM_CPU_SUSPEND if PM
27	select ARM_ERRATA_720789
28	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	select PL310_ERRATA_588369 if CACHE_L2X0
34	select PL310_ERRATA_727915 if CACHE_L2X0
35	select PM_OPP if PM
36	select PM if CPU_IDLE
37	select ARM_ERRATA_754322
38	select ARM_ERRATA_775420
39
40config SOC_OMAP5
41	bool "TI OMAP5"
42	depends on ARCH_MULTI_V7
43	select ARCH_OMAP2PLUS
44	select ARM_CPU_SUSPEND if PM
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
53
54config SOC_AM33XX
55	bool "TI AM33XX"
56	depends on ARCH_MULTI_V7
57	select ARCH_OMAP2PLUS
58	select ARM_CPU_SUSPEND if PM
59
60config SOC_AM43XX
61	bool "TI AM43x"
62	depends on ARCH_MULTI_V7
63	select ARCH_OMAP2PLUS
64	select ARM_GIC
65	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	select ARM_ERRATA_754322
71	select ARM_ERRATA_775420
72
73config SOC_DRA7XX
74	bool "TI DRA7XX"
75	depends on ARCH_MULTI_V7
76	select ARCH_OMAP2PLUS
77	select ARM_CPU_SUSPEND if PM
78	select ARM_GIC
79	select HAVE_ARM_SCU if SMP
80	select HAVE_ARM_ARCH_TIMER
81	select IRQ_CROSSBAR
82	select ARM_ERRATA_798181 if SMP
83	select OMAP_INTERCONNECT
84	select OMAP_INTERCONNECT_BARRIER
85	select PM_OPP if PM
86	select ZONE_DMA if ARM_LPAE
87
88config ARCH_OMAP2PLUS
89	bool
90	select ARCH_HAS_BANDGAP
91	select ARCH_HAS_HOLES_MEMORYMODEL
92	select ARCH_OMAP
93	select ARCH_REQUIRE_GPIOLIB
94	select CLKSRC_MMIO
95	select GENERIC_IRQ_CHIP
96	select MACH_OMAP_GENERIC
97	select MEMORY
98	select MFD_SYSCON
99	select OMAP_DM_TIMER
100	select OMAP_GPMC
101	select PINCTRL
102	select SOC_BUS
103	select OMAP_IRQCHIP
104	select CLKSRC_TI_32K
105	help
106	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
107
108config OMAP_INTERCONNECT_BARRIER
109	bool
110	select ARM_HEAVY_MB
111
112
113if ARCH_OMAP2PLUS
114
115menu "TI OMAP2/3/4 Specific Features"
116
117config ARCH_OMAP2PLUS_TYPICAL
118	bool "Typical OMAP configuration"
119	default y
120	select AEABI
121	select HIGHMEM
122	select I2C
123	select I2C_OMAP
124	select MENELAUS if ARCH_OMAP2
125	select NEON if CPU_V7
126	select PM
127	select REGULATOR
128	select REGULATOR_FIXED_VOLTAGE
129	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
130	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
131	select VFP
132	help
133	  Compile a kernel suitable for booting most boards
134
135config SOC_HAS_OMAP2_SDRC
136	bool "OMAP2 SDRAM Controller support"
137
138config SOC_HAS_REALTIME_COUNTER
139	bool "Real time free running counter"
140	depends on SOC_OMAP5 || SOC_DRA7XX
141	default y
142
143comment "OMAP Core Type"
144	depends on ARCH_OMAP2
145
146config SOC_OMAP2420
147	bool "OMAP2420 support"
148	depends on ARCH_OMAP2
149	default y
150	select OMAP_DM_TIMER
151	select SOC_HAS_OMAP2_SDRC
152
153config SOC_OMAP2430
154	bool "OMAP2430 support"
155	depends on ARCH_OMAP2
156	default y
157	select SOC_HAS_OMAP2_SDRC
158
159config SOC_OMAP3430
160	bool "OMAP3430 support"
161	depends on ARCH_OMAP3
162	default y
163	select SOC_HAS_OMAP2_SDRC
164
165config SOC_TI81XX
166	bool "TI81XX support"
167	depends on ARCH_OMAP3
168	default y
169
170config OMAP_PACKAGE_CBC
171       bool
172
173config OMAP_PACKAGE_CBB
174       bool
175
176config OMAP_PACKAGE_CUS
177       bool
178
179config OMAP_PACKAGE_CBP
180       bool
181
182comment "OMAP Legacy Platform Data Board Type"
183	depends on ARCH_OMAP2PLUS
184
185config MACH_OMAP_GENERIC
186	bool
187
188config MACH_OMAP2_TUSB6010
189	bool
190	depends on ARCH_OMAP2 && SOC_OMAP2420
191	default y if MACH_NOKIA_N8X0
192
193config MACH_OMAP_LDP
194	bool "OMAP3 LDP board"
195	depends on ARCH_OMAP3
196	default y
197	select OMAP_PACKAGE_CBB
198
199config MACH_OMAP3517EVM
200	bool "OMAP3517/ AM3517 EVM board"
201	depends on ARCH_OMAP3
202	default y
203
204config MACH_OMAP3_PANDORA
205	bool "OMAP3 Pandora"
206	depends on ARCH_OMAP3
207	default y
208	select OMAP_PACKAGE_CBB
209
210config MACH_NOKIA_N810
211       bool
212
213config MACH_NOKIA_N810_WIMAX
214       bool
215
216config MACH_NOKIA_N8X0
217	bool "Nokia N800/N810"
218	depends on SOC_OMAP2420
219	default y
220	select MACH_NOKIA_N810
221	select MACH_NOKIA_N810_WIMAX
222
223config MACH_NOKIA_RX51
224	bool "Nokia N900 (RX-51) phone"
225	depends on ARCH_OMAP3
226	default y
227	select OMAP_PACKAGE_CBB
228
229config OMAP3_SDRC_AC_TIMING
230	bool "Enable SDRC AC timing register changes"
231	depends on ARCH_OMAP3
232	default n
233	help
234	  If you know that none of your system initiators will attempt to
235	  access SDRAM during CORE DVFS, select Y here.  This should boost
236	  SDRAM performance at lower CORE OPPs.  There are relatively few
237	  users who will wish to say yes at this point - almost everyone will
238	  wish to say no.  Selecting yes without understanding what is
239	  going on could result in system crashes;
240
241endmenu
242
243endif
244
245config OMAP5_ERRATA_801819
246	bool "Errata 801819: An eviction from L1 data cache might stall indefinitely"
247	depends on SOC_OMAP5 || SOC_DRA7XX
248	help
249	  A livelock can occur in the L2 cache arbitration that might prevent
250	  a snoop from completing. Under certain conditions this can cause the
251	  system to deadlock.
252
253endmenu
254