xref: /linux/arch/csky/Kconfig (revision 7f8030cea33001d08cdaf2ee5a24385b2c3f723e)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2c32e64e8SGuo Renconfig CSKY
3c32e64e8SGuo Ren	def_bool y
4942fa985SYury Norov	select ARCH_32BIT_OFF_T
513bf5cedSChristoph Hellwig	select ARCH_HAS_DMA_PREP_COHERENT
6de863678SMa Jun	select ARCH_HAS_GCOV_PROFILE_ALL
7c32e64e8SGuo Ren	select ARCH_HAS_SYNC_DMA_FOR_CPU
8c32e64e8SGuo Ren	select ARCH_HAS_SYNC_DMA_FOR_DEVICE
9c32e64e8SGuo Ren	select ARCH_USE_BUILTIN_BSWAP
108e35ac73SGuo Ren	select ARCH_USE_QUEUED_RWLOCKS
1145e15c1aSGuo Ren	select ARCH_USE_QUEUED_SPINLOCKS
12*7f8030ceSGuo Ren	select ARCH_INLINE_READ_LOCK if !PREEMPTION
13*7f8030ceSGuo Ren	select ARCH_INLINE_READ_LOCK_BH if !PREEMPTION
14*7f8030ceSGuo Ren	select ARCH_INLINE_READ_LOCK_IRQ if !PREEMPTION
15*7f8030ceSGuo Ren	select ARCH_INLINE_READ_LOCK_IRQSAVE if !PREEMPTION
16*7f8030ceSGuo Ren	select ARCH_INLINE_READ_UNLOCK if !PREEMPTION
17*7f8030ceSGuo Ren	select ARCH_INLINE_READ_UNLOCK_BH if !PREEMPTION
18*7f8030ceSGuo Ren	select ARCH_INLINE_READ_UNLOCK_IRQ if !PREEMPTION
19*7f8030ceSGuo Ren	select ARCH_INLINE_READ_UNLOCK_IRQRESTORE if !PREEMPTION
20*7f8030ceSGuo Ren	select ARCH_INLINE_WRITE_LOCK if !PREEMPTION
21*7f8030ceSGuo Ren	select ARCH_INLINE_WRITE_LOCK_BH if !PREEMPTION
22*7f8030ceSGuo Ren	select ARCH_INLINE_WRITE_LOCK_IRQ if !PREEMPTION
23*7f8030ceSGuo Ren	select ARCH_INLINE_WRITE_LOCK_IRQSAVE if !PREEMPTION
24*7f8030ceSGuo Ren	select ARCH_INLINE_WRITE_UNLOCK if !PREEMPTION
25*7f8030ceSGuo Ren	select ARCH_INLINE_WRITE_UNLOCK_BH if !PREEMPTION
26*7f8030ceSGuo Ren	select ARCH_INLINE_WRITE_UNLOCK_IRQ if !PREEMPTION
27*7f8030ceSGuo Ren	select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE if !PREEMPTION
28*7f8030ceSGuo Ren	select ARCH_INLINE_SPIN_TRYLOCK if !PREEMPTION
29*7f8030ceSGuo Ren	select ARCH_INLINE_SPIN_TRYLOCK_BH if !PREEMPTION
30*7f8030ceSGuo Ren	select ARCH_INLINE_SPIN_LOCK if !PREEMPTION
31*7f8030ceSGuo Ren	select ARCH_INLINE_SPIN_LOCK_BH if !PREEMPTION
32*7f8030ceSGuo Ren	select ARCH_INLINE_SPIN_LOCK_IRQ if !PREEMPTION
33*7f8030ceSGuo Ren	select ARCH_INLINE_SPIN_LOCK_IRQSAVE if !PREEMPTION
34*7f8030ceSGuo Ren	select ARCH_INLINE_SPIN_UNLOCK if !PREEMPTION
35*7f8030ceSGuo Ren	select ARCH_INLINE_SPIN_UNLOCK_BH if !PREEMPTION
36*7f8030ceSGuo Ren	select ARCH_INLINE_SPIN_UNLOCK_IRQ if !PREEMPTION
37*7f8030ceSGuo Ren	select ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE if !PREEMPTION
38aeba0b84SGuenter Roeck	select ARCH_WANT_FRAME_POINTERS if !CPU_CK610 && $(cc-option,-mbacktrace)
39953131e5SGuo Ren	select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT
40c32e64e8SGuo Ren	select COMMON_CLK
41c32e64e8SGuo Ren	select CLKSRC_MMIO
421994cc49SGuo Ren	select CSKY_MPINTC if CPU_CK860
431994cc49SGuo Ren	select CSKY_MP_TIMER if CPU_CK860
441994cc49SGuo Ren	select CSKY_APB_INTC
45f04b951fSChristoph Hellwig	select DMA_DIRECT_REMAP
46c32e64e8SGuo Ren	select IRQ_DOMAIN
47c32e64e8SGuo Ren	select DW_APB_TIMER_OF
480055f67bSChristoph Hellwig	select GENERIC_IOREMAP
49c32e64e8SGuo Ren	select GENERIC_LIB_ASHLDI3
50c32e64e8SGuo Ren	select GENERIC_LIB_ASHRDI3
51c32e64e8SGuo Ren	select GENERIC_LIB_LSHRDI3
52c32e64e8SGuo Ren	select GENERIC_LIB_MULDI3
53c32e64e8SGuo Ren	select GENERIC_LIB_CMPDI2
54c32e64e8SGuo Ren	select GENERIC_LIB_UCMPDI2
55c32e64e8SGuo Ren	select GENERIC_ALLOCATOR
56c32e64e8SGuo Ren	select GENERIC_ATOMIC64
57c32e64e8SGuo Ren	select GENERIC_CPU_DEVICES
58c32e64e8SGuo Ren	select GENERIC_IRQ_CHIP
59c32e64e8SGuo Ren	select GENERIC_IRQ_PROBE
60c32e64e8SGuo Ren	select GENERIC_IRQ_SHOW
61c32e64e8SGuo Ren	select GENERIC_IRQ_MULTI_HANDLER
62c32e64e8SGuo Ren	select GENERIC_SCHED_CLOCK
63c32e64e8SGuo Ren	select GENERIC_SMP_IDLE_THREAD
640d3b051aSGuo Ren	select GENERIC_TIME_VSYSCALL
650d3b051aSGuo Ren	select GENERIC_VDSO_32
660d3b051aSGuo Ren	select GENERIC_GETTIMEOFDAY
671994cc49SGuo Ren	select GX6605S_TIMER if CPU_CK610
68c32e64e8SGuo Ren	select HAVE_ARCH_TRACEHOOK
692f7932b0SGuo Ren	select HAVE_ARCH_AUDITSYSCALL
704e8bb4baSGuo Ren	select HAVE_ARCH_JUMP_LABEL if !CPU_CK610
714e8bb4baSGuo Ren	select HAVE_ARCH_JUMP_LABEL_RELATIVE
72953131e5SGuo Ren	select HAVE_ARCH_MMAP_RND_BITS
73e95a4f8cSGuo Ren	select HAVE_ARCH_SECCOMP_FILTER
74bdcd93efSGuo Ren	select HAVE_CONTEXT_TRACKING
75bdcd93efSGuo Ren	select HAVE_VIRT_CPU_ACCOUNTING_GEN
7618c07d23SGuo Ren	select HAVE_DEBUG_BUGVERBOSE
77c109f424SGuo Ren	select HAVE_DEBUG_KMEMLEAK
7828bb030fSGuo Ren	select HAVE_DYNAMIC_FTRACE
7989a3927aSGuo Ren	select HAVE_DYNAMIC_FTRACE_WITH_REGS
800d3b051aSGuo Ren	select HAVE_GENERIC_VDSO
81230c77a5SGuo Ren	select HAVE_FUNCTION_TRACER
82d7950be1SGuo Ren	select HAVE_FUNCTION_GRAPH_TRACER
8371e193d7SGuo Ren	select HAVE_FUNCTION_ERROR_INJECTION
8428bb030fSGuo Ren	select HAVE_FTRACE_MCOUNT_RECORD
85c32e64e8SGuo Ren	select HAVE_KERNEL_GZIP
86c32e64e8SGuo Ren	select HAVE_KERNEL_LZO
87c32e64e8SGuo Ren	select HAVE_KERNEL_LZMA
8833e53ae1SGuo Ren	select HAVE_KPROBES if !CPU_CK610
8933e53ae1SGuo Ren	select HAVE_KPROBES_ON_FTRACE if !CPU_CK610
9033e53ae1SGuo Ren	select HAVE_KRETPROBES if !CPU_CK610
91f50fd2d8SGuo Ren	select HAVE_PERF_EVENTS
92daac95e7SMao Han	select HAVE_PERF_REGS
93daac95e7SMao Han	select HAVE_PERF_USER_STACK_DUMP
94c32e64e8SGuo Ren	select HAVE_DMA_CONTIGUOUS
95bfe47f35SGuo Ren	select HAVE_REGS_AND_STACK_ACCESS_API
969866d141SGuo Ren	select HAVE_RSEQ
972f78c73fSMao Han	select HAVE_STACKPROTECTOR
982f7932b0SGuo Ren	select HAVE_SYSCALL_TRACEPOINTS
99c32e64e8SGuo Ren	select MAY_HAVE_SPARSE_IRQ
100c32e64e8SGuo Ren	select MODULES_USE_ELF_RELA if MODULES
101c32e64e8SGuo Ren	select OF
102c32e64e8SGuo Ren	select OF_EARLY_FLATTREE
103f50fd2d8SGuo Ren	select PERF_USE_VMALLOC if CPU_CK610
104c32e64e8SGuo Ren	select RTC_LIB
105c32e64e8SGuo Ren	select TIMER_OF
1065b49c82dSMaJun	select GENERIC_PCI_IOMAP
1075b49c82dSMaJun	select HAVE_PCI
1085b49c82dSMaJun	select PCI_DOMAINS_GENERIC if PCI
1095b49c82dSMaJun	select PCI_SYSCALL if PCI
1105b49c82dSMaJun	select PCI_MSI if PCI
1114aae683fSMasahiro Yamada	select TRACE_IRQFLAGS_SUPPORT
112c32e64e8SGuo Ren
113000591f1SGuo Renconfig LOCKDEP_SUPPORT
114000591f1SGuo Ren	def_bool y
115000591f1SGuo Ren
1168f6bb793SGuo Renconfig ARCH_SUPPORTS_UPROBES
1178f6bb793SGuo Ren	def_bool y if !CPU_CK610
1188f6bb793SGuo Ren
119c32e64e8SGuo Renconfig CPU_HAS_CACHEV2
120c32e64e8SGuo Ren	bool
121c32e64e8SGuo Ren
122c32e64e8SGuo Renconfig CPU_HAS_FPUV2
123c32e64e8SGuo Ren	bool
124c32e64e8SGuo Ren
125c32e64e8SGuo Renconfig CPU_HAS_HILO
126c32e64e8SGuo Ren	bool
127c32e64e8SGuo Ren
128c32e64e8SGuo Renconfig CPU_HAS_TLBI
129c32e64e8SGuo Ren	bool
130c32e64e8SGuo Ren
131c32e64e8SGuo Renconfig CPU_HAS_LDSTEX
132c32e64e8SGuo Ren	bool
133c32e64e8SGuo Ren	help
134bebd26abSRandy Dunlap	  For SMP, CPU needs "ldex&stex" instructions for atomic operations.
135c32e64e8SGuo Ren
136c32e64e8SGuo Renconfig CPU_NEED_TLBSYNC
137c32e64e8SGuo Ren	bool
138c32e64e8SGuo Ren
139c32e64e8SGuo Renconfig CPU_NEED_SOFTALIGN
140c32e64e8SGuo Ren	bool
141c32e64e8SGuo Ren
142c32e64e8SGuo Renconfig CPU_NO_USER_BKPT
143c32e64e8SGuo Ren	bool
144c32e64e8SGuo Ren	help
145c32e64e8SGuo Ren	  For abiv2 we couldn't use "trap 1" as user space bkpt in gdbserver, because
146c32e64e8SGuo Ren	  abiv2 is 16/32bit instruction set and "trap 1" is 32bit.
147c32e64e8SGuo Ren	  So we need a 16bit instruction as user space bkpt, and it will cause an illegal
148c32e64e8SGuo Ren	  instruction exception.
149c32e64e8SGuo Ren	  In kernel we parse the *regs->pc to determine whether to send SIGTRAP or not.
150c32e64e8SGuo Ren
151c32e64e8SGuo Renconfig GENERIC_CALIBRATE_DELAY
152c32e64e8SGuo Ren	def_bool y
153c32e64e8SGuo Ren
154c32e64e8SGuo Renconfig GENERIC_CSUM
155c32e64e8SGuo Ren	def_bool y
156c32e64e8SGuo Ren
157c32e64e8SGuo Renconfig GENERIC_HWEIGHT
158c32e64e8SGuo Ren	def_bool y
159c32e64e8SGuo Ren
160c32e64e8SGuo Renconfig MMU
161c32e64e8SGuo Ren	def_bool y
162c32e64e8SGuo Ren
1630ea2dc7cSGuo Renconfig STACKTRACE_SUPPORT
1640ea2dc7cSGuo Ren	def_bool y
1650ea2dc7cSGuo Ren
166c32e64e8SGuo Renconfig TIME_LOW_RES
167c32e64e8SGuo Ren	def_bool y
168c32e64e8SGuo Ren
169c32e64e8SGuo Renconfig CPU_TLB_SIZE
170c32e64e8SGuo Ren	int
171c32e64e8SGuo Ren	default "128"	if (CPU_CK610 || CPU_CK807 || CPU_CK810)
172c32e64e8SGuo Ren	default "1024"	if (CPU_CK860)
173c32e64e8SGuo Ren
174c32e64e8SGuo Renconfig CPU_ASID_BITS
175c32e64e8SGuo Ren	int
176c32e64e8SGuo Ren	default "8"	if (CPU_CK610 || CPU_CK807 || CPU_CK810)
177c32e64e8SGuo Ren	default "12"	if (CPU_CK860)
178c32e64e8SGuo Ren
179c32e64e8SGuo Renconfig L1_CACHE_SHIFT
180c32e64e8SGuo Ren	int
181c32e64e8SGuo Ren	default "4"	if (CPU_CK610)
182c32e64e8SGuo Ren	default "5"	if (CPU_CK807 || CPU_CK810)
183c32e64e8SGuo Ren	default "6"	if (CPU_CK860)
184c32e64e8SGuo Ren
185953131e5SGuo Renconfig ARCH_MMAP_RND_BITS_MIN
186953131e5SGuo Ren	default 8
187953131e5SGuo Ren
188953131e5SGuo Ren# max bits determined by the following formula:
189953131e5SGuo Ren#  VA_BITS - PAGE_SHIFT - 3
190953131e5SGuo Renconfig ARCH_MMAP_RND_BITS_MAX
191953131e5SGuo Ren	default 17
192953131e5SGuo Ren
193c32e64e8SGuo Renmenu "Processor type and features"
194c32e64e8SGuo Ren
195c32e64e8SGuo Renchoice
196c32e64e8SGuo Ren	prompt "CPU MODEL"
197c32e64e8SGuo Ren	default CPU_CK807
198c32e64e8SGuo Ren
199c32e64e8SGuo Renconfig CPU_CK610
200c32e64e8SGuo Ren	bool "CSKY CPU ck610"
201c32e64e8SGuo Ren	select CPU_NEED_TLBSYNC
202c32e64e8SGuo Ren	select CPU_NEED_SOFTALIGN
203c32e64e8SGuo Ren	select CPU_NO_USER_BKPT
204c32e64e8SGuo Ren
205c32e64e8SGuo Renconfig CPU_CK810
206c32e64e8SGuo Ren	bool "CSKY CPU ck810"
207c32e64e8SGuo Ren	select CPU_HAS_HILO
208c32e64e8SGuo Ren	select CPU_NEED_TLBSYNC
209c32e64e8SGuo Ren
210c32e64e8SGuo Renconfig CPU_CK807
211c32e64e8SGuo Ren	bool "CSKY CPU ck807"
212c32e64e8SGuo Ren	select CPU_HAS_HILO
213c32e64e8SGuo Ren
214c32e64e8SGuo Renconfig CPU_CK860
215c32e64e8SGuo Ren	bool "CSKY CPU ck860"
216c32e64e8SGuo Ren	select CPU_HAS_TLBI
217c32e64e8SGuo Ren	select CPU_HAS_CACHEV2
218c32e64e8SGuo Ren	select CPU_HAS_LDSTEX
219c32e64e8SGuo Ren	select CPU_HAS_FPUV2
220c32e64e8SGuo Renendchoice
221c32e64e8SGuo Ren
222c32e64e8SGuo Renchoice
2230c8a32eeSGuo Ren	prompt "PAGE OFFSET"
2240c8a32eeSGuo Ren	default PAGE_OFFSET_80000000
2250c8a32eeSGuo Ren
2260c8a32eeSGuo Renconfig PAGE_OFFSET_80000000
2270c8a32eeSGuo Ren	bool "PAGE OFFSET 2G (user:kernel = 2:2)"
2280c8a32eeSGuo Ren
2290c8a32eeSGuo Renconfig PAGE_OFFSET_A0000000
2300c8a32eeSGuo Ren	bool "PAGE OFFSET 2.5G (user:kernel = 2.5:1.5)"
2310c8a32eeSGuo Renendchoice
2320c8a32eeSGuo Ren
2330c8a32eeSGuo Renconfig PAGE_OFFSET
2340c8a32eeSGuo Ren	hex
2350c8a32eeSGuo Ren	default 0x80000000 if PAGE_OFFSET_80000000
2360c8a32eeSGuo Ren	default 0xa0000000 if PAGE_OFFSET_A0000000
2370c8a32eeSGuo Renchoice
2380c8a32eeSGuo Ren
239f50fd2d8SGuo Ren	prompt "C-SKY PMU type"
240f50fd2d8SGuo Ren	depends on PERF_EVENTS
241f50fd2d8SGuo Ren	depends on CPU_CK807 || CPU_CK810 || CPU_CK860
242f50fd2d8SGuo Ren
243f50fd2d8SGuo Renconfig CPU_PMU_NONE
244f50fd2d8SGuo Ren	bool "None"
245f50fd2d8SGuo Ren
246f50fd2d8SGuo Renconfig CSKY_PMU_V1
247f50fd2d8SGuo Ren	bool "Performance Monitoring Unit Ver.1"
248f50fd2d8SGuo Ren
249f50fd2d8SGuo Renendchoice
250f50fd2d8SGuo Ren
251f50fd2d8SGuo Renchoice
252c32e64e8SGuo Ren	prompt "Power Manager Instruction (wait/doze/stop)"
253c32e64e8SGuo Ren	default CPU_PM_NONE
254c32e64e8SGuo Ren
255c32e64e8SGuo Renconfig CPU_PM_NONE
256c32e64e8SGuo Ren	bool "None"
257c32e64e8SGuo Ren
258c32e64e8SGuo Renconfig CPU_PM_WAIT
259c32e64e8SGuo Ren	bool "wait"
260c32e64e8SGuo Ren
261c32e64e8SGuo Renconfig CPU_PM_DOZE
262c32e64e8SGuo Ren	bool "doze"
263c32e64e8SGuo Ren
264c32e64e8SGuo Renconfig CPU_PM_STOP
265c32e64e8SGuo Ren	bool "stop"
266c32e64e8SGuo Renendchoice
267c32e64e8SGuo Ren
268f525bb2cSGuo Renmenuconfig HAVE_TCM
269f525bb2cSGuo Ren	bool "Tightly-Coupled/Sram Memory"
270e21e52adSGuenter Roeck	depends on !COMPILE_TEST
271f525bb2cSGuo Ren	help
272f525bb2cSGuo Ren	  The implementation are not only used by TCM (Tightly-Coupled Meory)
273f525bb2cSGuo Ren	  but also used by sram on SOC bus. It follow existed linux tcm
274f525bb2cSGuo Ren	  software interface, so that old tcm application codes could be
275f525bb2cSGuo Ren	  re-used directly.
276f525bb2cSGuo Ren
277f525bb2cSGuo Renif HAVE_TCM
278f525bb2cSGuo Renconfig ITCM_RAM_BASE
279f525bb2cSGuo Ren	hex "ITCM ram base"
280f525bb2cSGuo Ren	default 0xffffffff
281f525bb2cSGuo Ren
282f525bb2cSGuo Renconfig ITCM_NR_PAGES
283f525bb2cSGuo Ren	int "Page count of ITCM size: NR*4KB"
284f525bb2cSGuo Ren	range 1 256
285f525bb2cSGuo Ren	default 32
286f525bb2cSGuo Ren
287f525bb2cSGuo Renconfig HAVE_DTCM
288f525bb2cSGuo Ren	bool "DTCM Support"
289f525bb2cSGuo Ren
290f525bb2cSGuo Renconfig DTCM_RAM_BASE
291f525bb2cSGuo Ren	hex "DTCM ram base"
292f525bb2cSGuo Ren	depends on HAVE_DTCM
293f525bb2cSGuo Ren	default 0xffffffff
294f525bb2cSGuo Ren
295f525bb2cSGuo Renconfig DTCM_NR_PAGES
296f525bb2cSGuo Ren	int "Page count of DTCM size: NR*4KB"
297f525bb2cSGuo Ren	depends on HAVE_DTCM
298f525bb2cSGuo Ren	range 1 256
299f525bb2cSGuo Ren	default 32
300f525bb2cSGuo Renendif
301f525bb2cSGuo Ren
302c32e64e8SGuo Renconfig CPU_HAS_VDSP
303c32e64e8SGuo Ren	bool "CPU has VDSP coprocessor"
304c32e64e8SGuo Ren	depends on CPU_HAS_FPU && CPU_HAS_FPUV2
305c32e64e8SGuo Ren
306c32e64e8SGuo Renconfig CPU_HAS_FPU
307c32e64e8SGuo Ren	bool "CPU has FPU coprocessor"
308c32e64e8SGuo Ren	depends on CPU_CK807 || CPU_CK810 || CPU_CK860
309c32e64e8SGuo Ren
310761b4f69SGuo Renconfig CPU_HAS_ICACHE_INS
311761b4f69SGuo Ren	bool "CPU has Icache invalidate instructions"
312761b4f69SGuo Ren	depends on CPU_HAS_CACHEV2
313761b4f69SGuo Ren
314c32e64e8SGuo Renconfig CPU_HAS_TEE
315c32e64e8SGuo Ren	bool "CPU has Trusted Execution Environment"
316c32e64e8SGuo Ren	depends on CPU_CK810
317c32e64e8SGuo Ren
318c32e64e8SGuo Renconfig SMP
319c32e64e8SGuo Ren	bool "Symmetric Multi-Processing (SMP) support for C-SKY"
320c32e64e8SGuo Ren	depends on CPU_CK860
321c32e64e8SGuo Ren	default n
322c32e64e8SGuo Ren
323c32e64e8SGuo Renconfig NR_CPUS
324c32e64e8SGuo Ren	int "Maximum number of CPUs (2-32)"
325c32e64e8SGuo Ren	range 2 32
326c32e64e8SGuo Ren	depends on SMP
32750d23a1cSGuo Ren	default "4"
328c32e64e8SGuo Ren
329c32e64e8SGuo Renconfig HIGHMEM
330c32e64e8SGuo Ren	bool "High Memory Support"
331c32e64e8SGuo Ren	depends on !CPU_CK610
3325af627a0SThomas Gleixner	select KMAP_LOCAL
333c32e64e8SGuo Ren	default y
334c32e64e8SGuo Ren
335c32e64e8SGuo Renconfig FORCE_MAX_ZONEORDER
336c32e64e8SGuo Ren	int "Maximum zone order"
337c32e64e8SGuo Ren	default "11"
338c32e64e8SGuo Ren
339d1991616SRandy Dunlapconfig DRAM_BASE
340c32e64e8SGuo Ren	hex "DRAM start addr (the same with memory-section in dts)"
341c32e64e8SGuo Ren	default 0x0
342c32e64e8SGuo Ren
343859e5f45SGuo Renconfig HOTPLUG_CPU
344859e5f45SGuo Ren	bool "Support for hot-pluggable CPUs"
345859e5f45SGuo Ren	select GENERIC_IRQ_MIGRATION
346859e5f45SGuo Ren	depends on SMP
347859e5f45SGuo Ren	help
348859e5f45SGuo Ren	  Say Y here to allow turning CPUs off and on. CPUs can be
349859e5f45SGuo Ren	  controlled through /sys/devices/system/cpu/cpu1/hotplug/target.
350859e5f45SGuo Ren
351859e5f45SGuo Ren	  Say N if you want to disable CPU hotplug.
352e4df2d5eSMatteo Croce
353e4df2d5eSMatteo Croceconfig HAVE_EFFICIENT_UNALIGNED_STRING_OPS
354e4df2d5eSMatteo Croce	bool "Enable EFFICIENT_UNALIGNED_STRING_OPS for abiv2"
355e4df2d5eSMatteo Croce	depends on CPU_CK807 || CPU_CK810 || CPU_CK860
356e4df2d5eSMatteo Croce	help
357e4df2d5eSMatteo Croce	  Say Y here to enable EFFICIENT_UNALIGNED_STRING_OPS. Some CPU models could
358e4df2d5eSMatteo Croce	  deal with unaligned access by hardware.
359e4df2d5eSMatteo Croce
360c32e64e8SGuo Renendmenu
361c32e64e8SGuo Ren
362a736fa1eSGuo Rensource "arch/csky/Kconfig.platforms"
363a736fa1eSGuo Ren
364c32e64e8SGuo Rensource "kernel/Kconfig.hz"
365