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