3 select ARCH_32BIT_OFF_T
4 select ARCH_HAS_DMA_PREP_COHERENT
5 select ARCH_HAS_SYNC_DMA_FOR_CPU
6 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
7 select ARCH_USE_BUILTIN_BSWAP
8 select ARCH_USE_QUEUED_RWLOCKS if NR_CPUS>2
12 select DMA_DIRECT_REMAP
14 select HANDLE_DOMAIN_IRQ
15 select DW_APB_TIMER_OF
16 select GENERIC_LIB_ASHLDI3
17 select GENERIC_LIB_ASHRDI3
18 select GENERIC_LIB_LSHRDI3
19 select GENERIC_LIB_MULDI3
20 select GENERIC_LIB_CMPDI2
21 select GENERIC_LIB_UCMPDI2
22 select GENERIC_ALLOCATOR
23 select GENERIC_ATOMIC64
24 select GENERIC_CLOCKEVENTS
25 select GENERIC_CPU_DEVICES
26 select GENERIC_IRQ_CHIP
27 select GENERIC_IRQ_PROBE
28 select GENERIC_IRQ_SHOW
29 select GENERIC_IRQ_MULTI_HANDLER
30 select GENERIC_SCHED_CLOCK
31 select GENERIC_SMP_IDLE_THREAD
32 select HAVE_ARCH_TRACEHOOK
33 select HAVE_ARCH_AUDITSYSCALL
34 select HAVE_DYNAMIC_FTRACE
35 select HAVE_FUNCTION_TRACER
36 select HAVE_FUNCTION_GRAPH_TRACER
37 select HAVE_FTRACE_MCOUNT_RECORD
38 select HAVE_KERNEL_GZIP
39 select HAVE_KERNEL_LZO
40 select HAVE_KERNEL_LZMA
41 select HAVE_PERF_EVENTS
43 select HAVE_PERF_USER_STACK_DUMP
44 select HAVE_DMA_API_DEBUG
45 select HAVE_DMA_CONTIGUOUS
46 select HAVE_SYSCALL_TRACEPOINTS
47 select MAY_HAVE_SPARSE_IRQ
48 select MODULES_USE_ELF_RELA if MODULES
50 select OF_EARLY_FLATTREE
51 select PERF_USE_VMALLOC if CPU_CK610
54 select USB_ARCH_HAS_EHCI
55 select USB_ARCH_HAS_OHCI
57 config CPU_HAS_CACHEV2
72 For SMP, CPU needs "ldex&stex" instrcutions to atomic operations.
74 config CPU_NEED_TLBSYNC
77 config CPU_NEED_SOFTALIGN
80 config CPU_NO_USER_BKPT
83 For abiv2 we couldn't use "trap 1" as user space bkpt in gdbserver, because
84 abiv2 is 16/32bit instruction set and "trap 1" is 32bit.
85 So we need a 16bit instruction as user space bkpt, and it will cause an illegal
86 instruction exception.
87 In kernel we parse the *regs->pc to determine whether to send SIGTRAP or not.
89 config GENERIC_CALIBRATE_DELAY
95 config GENERIC_HWEIGHT
101 config STACKTRACE_SUPPORT
107 config TRACE_IRQFLAGS_SUPPORT
112 default "128" if (CPU_CK610 || CPU_CK807 || CPU_CK810)
113 default "1024" if (CPU_CK860)
117 default "8" if (CPU_CK610 || CPU_CK807 || CPU_CK810)
118 default "12" if (CPU_CK860)
120 config L1_CACHE_SHIFT
122 default "4" if (CPU_CK610)
123 default "5" if (CPU_CK807 || CPU_CK810)
124 default "6" if (CPU_CK860)
126 menu "Processor type and features"
133 bool "CSKY CPU ck610"
134 select CPU_NEED_TLBSYNC
135 select CPU_NEED_SOFTALIGN
136 select CPU_NO_USER_BKPT
139 bool "CSKY CPU ck810"
141 select CPU_NEED_TLBSYNC
144 bool "CSKY CPU ck807"
148 bool "CSKY CPU ck860"
150 select CPU_HAS_CACHEV2
151 select CPU_HAS_LDSTEX
156 prompt "C-SKY PMU type"
157 depends on PERF_EVENTS
158 depends on CPU_CK807 || CPU_CK810 || CPU_CK860
164 bool "Performance Monitoring Unit Ver.1"
169 prompt "Power Manager Instruction (wait/doze/stop)"
186 bool "CPU has VDSP coprocessor"
187 depends on CPU_HAS_FPU && CPU_HAS_FPUV2
190 bool "CPU has FPU coprocessor"
191 depends on CPU_CK807 || CPU_CK810 || CPU_CK860
194 bool "CPU has Trusted Execution Environment"
198 bool "Symmetric Multi-Processing (SMP) support for C-SKY"
203 int "Maximum number of CPUs (2-32)"
209 bool "High Memory Support"
210 depends on !CPU_CK610
213 config FORCE_MAX_ZONEORDER
214 int "Maximum zone order"
218 hex "DRAM start addr (the same with memory-section in dts)"
222 bool "Support for hot-pluggable CPUs"
223 select GENERIC_IRQ_MIGRATION
226 Say Y here to allow turning CPUs off and on. CPUs can be
227 controlled through /sys/devices/system/cpu/cpu1/hotplug/target.
229 Say N if you want to disable CPU hotplug.
232 source "kernel/Kconfig.hz"