Commit | Line | Data |
---|---|---|
790edb61 G |
1 | config UNICORE32 |
2 | def_bool y | |
3 | select HAVE_MEMBLOCK | |
4 | select HAVE_GENERIC_DMA_COHERENT | |
5 | select HAVE_GENERIC_HARDIRQS | |
6 | select HAVE_DMA_ATTRS | |
7 | select HAVE_KERNEL_GZIP | |
8 | select HAVE_KERNEL_BZIP2 | |
9 | select HAVE_KERNEL_LZO | |
10 | select HAVE_KERNEL_LZMA | |
11 | select GENERIC_FIND_FIRST_BIT | |
12 | select GENERIC_IRQ_PROBE | |
13 | select ARCH_WANT_FRAME_POINTERS | |
14 | help | |
15 | UniCore-32 is 32-bit Instruction Set Architecture, | |
16 | including a series of low-power-consumption RISC chip | |
17 | designs licensed by PKUnity Ltd. | |
18 | Please see web page at <http://www.pkunity.com/>. | |
19 | ||
20 | config HAVE_PWM | |
21 | bool | |
22 | ||
23 | config GENERIC_GPIO | |
24 | def_bool y | |
25 | ||
26 | config GENERIC_CLOCKEVENTS | |
27 | bool | |
28 | ||
29 | config GENERIC_CSUM | |
30 | def_bool y | |
31 | ||
32 | config NO_IOPORT | |
33 | bool | |
34 | ||
35 | config STACKTRACE_SUPPORT | |
36 | def_bool y | |
37 | ||
38 | config HAVE_LATENCYTOP_SUPPORT | |
39 | def_bool y | |
40 | ||
41 | config LOCKDEP_SUPPORT | |
42 | def_bool y | |
43 | ||
44 | config RWSEM_GENERIC_SPINLOCK | |
45 | def_bool y | |
46 | ||
47 | config RWSEM_XCHGADD_ALGORITHM | |
48 | bool | |
49 | ||
50 | config ARCH_HAS_ILOG2_U32 | |
51 | bool | |
52 | ||
53 | config ARCH_HAS_ILOG2_U64 | |
54 | bool | |
55 | ||
56 | config ARCH_HAS_CPUFREQ | |
57 | bool | |
58 | ||
59 | config GENERIC_HWEIGHT | |
60 | def_bool y | |
61 | ||
62 | config GENERIC_CALIBRATE_DELAY | |
63 | def_bool y | |
64 | ||
65 | config ARCH_MAY_HAVE_PC_FDC | |
66 | bool | |
67 | ||
68 | config NEED_DMA_MAP_STATE | |
69 | def_bool y | |
70 | ||
71 | source "init/Kconfig" | |
72 | ||
73 | source "kernel/Kconfig.freezer" | |
74 | ||
75 | menu "System Type" | |
76 | ||
77 | config MMU | |
78 | def_bool y | |
79 | ||
80 | config ARCH_FPGA | |
81 | bool | |
82 | ||
83 | config ARCH_PUV3 | |
84 | def_bool y | |
85 | select CPU_UCV2 | |
86 | select GENERIC_CLOCKEVENTS | |
87 | select HAVE_CLK | |
88 | select ARCH_REQUIRE_GPIOLIB | |
89 | select ARCH_HAS_CPUFREQ | |
90 | ||
91 | # CONFIGs for ARCH_PUV3 | |
92 | ||
93 | if ARCH_PUV3 | |
94 | ||
95 | choice | |
96 | prompt "Board Selection" | |
97 | default PUV3_DB0913 | |
98 | ||
99 | config PUV3_FPGA_DLX200 | |
100 | select ARCH_FPGA | |
101 | bool "FPGA board" | |
102 | ||
103 | config PUV3_DB0913 | |
104 | bool "DEBUG board (0913)" | |
105 | ||
106 | config PUV3_NB0916 | |
107 | bool "NetBook board (0916)" | |
108 | select HAVE_PWM | |
109 | ||
110 | config PUV3_SMW0919 | |
111 | bool "Security Mini-Workstation board (0919)" | |
112 | ||
113 | endchoice | |
114 | ||
115 | config PUV3_PM | |
116 | def_bool y if !ARCH_FPGA | |
117 | ||
118 | endif | |
119 | ||
120 | source "arch/unicore32/mm/Kconfig" | |
121 | ||
122 | comment "Floating poing support" | |
123 | ||
124 | config UNICORE_FPU_F64 | |
125 | def_bool y if !ARCH_FPGA | |
126 | ||
127 | endmenu | |
128 | ||
129 | menu "Bus support" | |
130 | ||
131 | config PCI | |
132 | bool "PCI Support" | |
133 | help | |
134 | Find out whether you have a PCI motherboard. PCI is the name of a | |
135 | bus system, i.e. the way the CPU talks to the other stuff inside | |
136 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or | |
137 | VESA. If you have PCI, say Y, otherwise N. | |
138 | ||
139 | source "drivers/pci/Kconfig" | |
140 | ||
141 | source "drivers/pcmcia/Kconfig" | |
142 | ||
143 | endmenu | |
144 | ||
145 | menu "Kernel Features" | |
146 | ||
147 | source "kernel/time/Kconfig" | |
148 | ||
149 | source "kernel/Kconfig.preempt" | |
150 | ||
151 | source "kernel/Kconfig.hz" | |
152 | ||
153 | source "mm/Kconfig" | |
154 | ||
155 | config LEDS | |
156 | def_bool y | |
157 | depends on GENERIC_GPIO | |
158 | ||
159 | config ALIGNMENT_TRAP | |
160 | def_bool y | |
161 | help | |
162 | Unicore processors can not fetch/store information which is not | |
163 | naturally aligned on the bus, i.e., a 4 byte fetch must start at an | |
164 | address divisible by 4. On 32-bit Unicore processors, these non-aligned | |
165 | fetch/store instructions will be emulated in software if you say | |
166 | here, which has a severe performance impact. This is necessary for | |
167 | correct operation of some network protocols. With an IP-only | |
168 | configuration it is safe to say N, otherwise say Y. | |
169 | ||
170 | endmenu | |
171 | ||
172 | menu "Boot options" | |
173 | ||
174 | config CMDLINE | |
175 | string "Default kernel command string" | |
176 | default "" | |
177 | ||
178 | config CMDLINE_FORCE | |
179 | bool "Always use the default kernel command string" | |
180 | depends on CMDLINE != "" | |
181 | help | |
182 | Always use the default kernel command string, even if the boot | |
183 | loader passes other arguments to the kernel. | |
184 | This is useful if you cannot or don't want to change the | |
185 | command-line options your boot loader passes to the kernel. | |
186 | ||
187 | If unsure, say N. | |
188 | ||
189 | endmenu | |
190 | ||
191 | menu "Userspace binary formats" | |
192 | ||
193 | source "fs/Kconfig.binfmt" | |
194 | ||
195 | endmenu | |
196 | ||
197 | menu "Power management options" | |
198 | ||
199 | source "kernel/power/Kconfig" | |
200 | ||
201 | if ARCH_HAS_CPUFREQ | |
202 | source "drivers/cpufreq/Kconfig" | |
203 | endif | |
204 | ||
205 | config ARCH_SUSPEND_POSSIBLE | |
206 | def_bool y if !ARCH_FPGA | |
207 | ||
208 | config ARCH_HIBERNATION_POSSIBLE | |
209 | def_bool y if !ARCH_FPGA | |
210 | ||
211 | endmenu | |
212 | ||
213 | source "net/Kconfig" | |
214 | ||
215 | if ARCH_PUV3 | |
216 | ||
217 | config PUV3_GPIO | |
218 | bool | |
219 | depends on !ARCH_FPGA | |
220 | select GENERIC_GPIO | |
221 | select GPIO_SYSFS if EXPERIMENTAL | |
222 | default y | |
223 | ||
224 | config PUV3_PWM | |
225 | tristate | |
226 | default BACKLIGHT_PWM | |
227 | help | |
228 | Enable support for NB0916 PWM controllers | |
229 | ||
230 | config PUV3_RTC | |
231 | tristate "PKUnity v3 RTC Support" | |
232 | depends on !ARCH_FPGA | |
233 | ||
234 | endif | |
235 | ||
236 | source "drivers/Kconfig" | |
237 | ||
238 | source "fs/Kconfig" | |
239 | ||
240 | source "arch/unicore32/Kconfig.debug" | |
241 | ||
242 | source "security/Kconfig" | |
243 | ||
244 | source "crypto/Kconfig" | |
245 | ||
246 | source "lib/Kconfig" |