3 select ARCH_HAS_SYNC_DMA_FOR_CPU
4 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
5 select ARCH_USE_BUILTIN_BSWAP
6 select ARCH_USE_QUEUED_RWLOCKS if NR_CPUS>2
10 select DMA_DIRECT_REMAP
12 select HANDLE_DOMAIN_IRQ
13 select DW_APB_TIMER_OF
14 select GENERIC_LIB_ASHLDI3
15 select GENERIC_LIB_ASHRDI3
16 select GENERIC_LIB_LSHRDI3
17 select GENERIC_LIB_MULDI3
18 select GENERIC_LIB_CMPDI2
19 select GENERIC_LIB_UCMPDI2
20 select GENERIC_ALLOCATOR
21 select GENERIC_ATOMIC64
22 select GENERIC_CLOCKEVENTS
23 select GENERIC_CPU_DEVICES
24 select GENERIC_IRQ_CHIP
25 select GENERIC_IRQ_PROBE
26 select GENERIC_IRQ_SHOW
27 select GENERIC_IRQ_MULTI_HANDLER
28 select GENERIC_SCHED_CLOCK
29 select GENERIC_SMP_IDLE_THREAD
30 select HAVE_ARCH_TRACEHOOK
31 select HAVE_GENERIC_DMA_COHERENT
32 select HAVE_KERNEL_GZIP
33 select HAVE_KERNEL_LZO
34 select HAVE_KERNEL_LZMA
35 select HAVE_C_RECORDMCOUNT
36 select HAVE_DMA_API_DEBUG
37 select HAVE_DMA_CONTIGUOUS
38 select MAY_HAVE_SPARSE_IRQ
39 select MODULES_USE_ELF_RELA if MODULES
41 select OF_EARLY_FLATTREE
42 select OF_RESERVED_MEM
43 select PERF_USE_VMALLOC
46 select USB_ARCH_HAS_EHCI
47 select USB_ARCH_HAS_OHCI
49 config CPU_HAS_CACHEV2
64 For SMP, CPU needs "ldex&stex" instrcutions to atomic operations.
66 config CPU_NEED_TLBSYNC
69 config CPU_NEED_SOFTALIGN
72 config CPU_NO_USER_BKPT
75 For abiv2 we couldn't use "trap 1" as user space bkpt in gdbserver, because
76 abiv2 is 16/32bit instruction set and "trap 1" is 32bit.
77 So we need a 16bit instruction as user space bkpt, and it will cause an illegal
78 instruction exception.
79 In kernel we parse the *regs->pc to determine whether to send SIGTRAP or not.
81 config GENERIC_CALIBRATE_DELAY
87 config GENERIC_HWEIGHT
93 config RWSEM_GENERIC_SPINLOCK
99 config TRACE_IRQFLAGS_SUPPORT
104 default "128" if (CPU_CK610 || CPU_CK807 || CPU_CK810)
105 default "1024" if (CPU_CK860)
109 default "8" if (CPU_CK610 || CPU_CK807 || CPU_CK810)
110 default "12" if (CPU_CK860)
112 config L1_CACHE_SHIFT
114 default "4" if (CPU_CK610)
115 default "5" if (CPU_CK807 || CPU_CK810)
116 default "6" if (CPU_CK860)
118 menu "Processor type and features"
125 bool "CSKY CPU ck610"
126 select CPU_NEED_TLBSYNC
127 select CPU_NEED_SOFTALIGN
128 select CPU_NO_USER_BKPT
131 bool "CSKY CPU ck810"
133 select CPU_NEED_TLBSYNC
136 bool "CSKY CPU ck807"
140 bool "CSKY CPU ck860"
142 select CPU_HAS_CACHEV2
143 select CPU_HAS_LDSTEX
148 prompt "Power Manager Instruction (wait/doze/stop)"
165 bool "CPU has VDSP coprocessor"
166 depends on CPU_HAS_FPU && CPU_HAS_FPUV2
169 bool "CPU has FPU coprocessor"
170 depends on CPU_CK807 || CPU_CK810 || CPU_CK860
173 bool "CPU has Trusted Execution Environment"
177 bool "Symmetric Multi-Processing (SMP) support for C-SKY"
182 int "Maximum number of CPUs (2-32)"
188 bool "High Memory Support"
189 depends on !CPU_CK610
192 config FORCE_MAX_ZONEORDER
193 int "Maximum zone order"
197 hex "DRAM start addr (the same with memory-section in dts)"
202 source "kernel/Kconfig.hz"