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