1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "TI OMAP/AM/DM/DRA Family"
3 depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
10 depends on ARCH_MULTI_V6
14 select SOC_HAS_OMAP2_SDRC
18 depends on ARCH_MULTI_V7
20 select ARM_CPU_SUSPEND if PM
22 select OMAP_INTERCONNECT
25 select SOC_HAS_OMAP2_SDRC
26 select ARM_ERRATA_430973
30 depends on ARCH_MULTI_V7
32 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
33 select ARM_CPU_SUSPEND if PM
34 select ARM_ERRATA_720789
36 select HAVE_ARM_SCU if SMP
37 select HAVE_ARM_TWD if SMP
39 select OMAP_INTERCONNECT
40 select OMAP_INTERCONNECT_BARRIER
41 select PL310_ERRATA_588369 if CACHE_L2X0
42 select PL310_ERRATA_727915 if CACHE_L2X0
45 select ARM_ERRATA_754322
46 select ARM_ERRATA_775420
47 select OMAP_INTERCONNECT
51 depends on ARCH_MULTI_V7
53 select ARM_CPU_SUSPEND if PM
55 select HAVE_ARM_SCU if SMP
56 select HAVE_ARM_ARCH_TIMER
57 select ARM_ERRATA_798181 if SMP
59 select OMAP_INTERCONNECT
60 select OMAP_INTERCONNECT_BARRIER
62 select ZONE_DMA if ARM_LPAE
66 depends on ARCH_MULTI_V7
68 select ARM_CPU_SUSPEND if PM
72 depends on ARCH_MULTI_V7
75 select MACH_OMAP_GENERIC
77 select GENERIC_CLOCKEVENTS_BROADCAST
79 select ARM_ERRATA_754322
80 select ARM_ERRATA_775420
81 select OMAP_INTERCONNECT
82 select ARM_CPU_SUSPEND if PM
86 depends on ARCH_MULTI_V7
88 select ARM_CPU_SUSPEND if PM
90 select HAVE_ARM_SCU if SMP
91 select HAVE_ARM_ARCH_TIMER
93 select ARM_ERRATA_798181 if SMP
95 select OMAP_INTERCONNECT
96 select OMAP_INTERCONNECT_BARRIER
98 select ZONE_DMA if ARM_LPAE
99 select PINCTRL_TI_IODELAY if OF && PINCTRL
101 config ARCH_OMAP2PLUS
103 select ARCH_HAS_BANDGAP
104 select ARCH_HAS_RESET_CONTROLLER
107 select GENERIC_IRQ_CHIP
109 select MACH_OMAP_GENERIC
115 select PM_GENERIC_DOMAINS if PM
116 select PM_GENERIC_DOMAINS_OF if PM
117 select RESET_CONTROLLER
123 Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
125 config OMAP_INTERCONNECT_BARRIER
132 menu "TI OMAP2/3/4 Specific Features"
134 config ARCH_OMAP2PLUS_TYPICAL
135 bool "Typical OMAP configuration"
141 select MENELAUS if ARCH_OMAP2
142 select NEON if CPU_V7
145 select REGULATOR_FIXED_VOLTAGE
146 select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
147 select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
150 Compile a kernel suitable for booting most boards
152 config SOC_HAS_OMAP2_SDRC
153 bool "OMAP2 SDRAM Controller support"
155 config SOC_HAS_REALTIME_COUNTER
156 bool "Real time free running counter"
157 depends on SOC_OMAP5 || SOC_DRA7XX
160 comment "OMAP Core Type"
161 depends on ARCH_OMAP2
164 bool "OMAP2420 support"
165 depends on ARCH_OMAP2
168 select SOC_HAS_OMAP2_SDRC
171 bool "OMAP2430 support"
172 depends on ARCH_OMAP2
174 select SOC_HAS_OMAP2_SDRC
177 bool "OMAP3430 support"
178 depends on ARCH_OMAP3
180 select SOC_HAS_OMAP2_SDRC
183 bool "TI81XX support"
184 depends on ARCH_OMAP3
187 config OMAP_PACKAGE_CBC
190 config OMAP_PACKAGE_CBB
193 config OMAP_PACKAGE_CUS
196 config OMAP_PACKAGE_CBP
199 comment "OMAP Legacy Platform Data Board Type"
200 depends on ARCH_OMAP2PLUS
202 config MACH_OMAP_GENERIC
205 config MACH_OMAP2_TUSB6010
207 depends on ARCH_OMAP2 && SOC_OMAP2420
208 default y if MACH_NOKIA_N8X0
210 config MACH_OMAP3517EVM
211 bool "OMAP3517/ AM3517 EVM board"
212 depends on ARCH_OMAP3
215 config MACH_OMAP3_PANDORA
217 depends on ARCH_OMAP3
219 select OMAP_PACKAGE_CBB
221 config MACH_NOKIA_N810
224 config MACH_NOKIA_N810_WIMAX
227 config MACH_NOKIA_N8X0
228 bool "Nokia N800/N810"
229 depends on SOC_OMAP2420
231 select MACH_NOKIA_N810
232 select MACH_NOKIA_N810_WIMAX
234 config OMAP3_SDRC_AC_TIMING
235 bool "Enable SDRC AC timing register changes"
236 depends on ARCH_OMAP3
238 If you know that none of your system initiators will attempt to
239 access SDRAM during CORE DVFS, select Y here. This should boost
240 SDRAM performance at lower CORE OPPs. There are relatively few
241 users who will wish to say yes at this point - almost everyone will
242 wish to say no. Selecting yes without understanding what is
243 going on could result in system crashes;
249 config OMAP5_ERRATA_801819
250 bool "Errata 801819: An eviction from L1 data cache might stall indefinitely"
251 depends on SOC_OMAP5 || SOC_DRA7XX
253 A livelock can occur in the L2 cache arbitration that might prevent
254 a snoop from completing. Under certain conditions this can cause the