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 | |
82e54a6a | 9 | select GENERIC_ATOMIC64 |
790edb61 G |
10 | select HAVE_KERNEL_LZO |
11 | select HAVE_KERNEL_LZMA | |
7563bbf8 | 12 | select ARCH_HAVE_CUSTOM_GPIO_H |
790edb61 G |
13 | select GENERIC_FIND_FIRST_BIT |
14 | select GENERIC_IRQ_PROBE | |
37daf322 | 15 | select GENERIC_IRQ_SHOW |
790edb61 | 16 | select ARCH_WANT_FRAME_POINTERS |
4673ca8e | 17 | select GENERIC_IOMAP |
786d35d4 | 18 | select MODULES_USE_ELF_REL |
38e99353 AV |
19 | select GENERIC_KERNEL_THREAD |
20 | select GENERIC_KERNEL_EXECVE | |
790edb61 G |
21 | help |
22 | UniCore-32 is 32-bit Instruction Set Architecture, | |
23 | including a series of low-power-consumption RISC chip | |
24 | designs licensed by PKUnity Ltd. | |
25 | Please see web page at <http://www.pkunity.com/>. | |
26 | ||
790edb61 G |
27 | config GENERIC_GPIO |
28 | def_bool y | |
29 | ||
790edb61 G |
30 | config GENERIC_CSUM |
31 | def_bool y | |
32 | ||
33 | config NO_IOPORT | |
34 | bool | |
35 | ||
36 | config STACKTRACE_SUPPORT | |
37 | def_bool y | |
38 | ||
39 | config HAVE_LATENCYTOP_SUPPORT | |
40 | def_bool y | |
41 | ||
42 | config LOCKDEP_SUPPORT | |
43 | def_bool y | |
44 | ||
45 | config RWSEM_GENERIC_SPINLOCK | |
46 | def_bool y | |
47 | ||
48 | config RWSEM_XCHGADD_ALGORITHM | |
49 | bool | |
50 | ||
51 | config ARCH_HAS_ILOG2_U32 | |
52 | bool | |
53 | ||
54 | config ARCH_HAS_ILOG2_U64 | |
55 | bool | |
56 | ||
57 | config ARCH_HAS_CPUFREQ | |
58 | bool | |
59 | ||
60 | config GENERIC_HWEIGHT | |
61 | def_bool y | |
62 | ||
63 | config GENERIC_CALIBRATE_DELAY | |
64 | def_bool y | |
65 | ||
66 | config ARCH_MAY_HAVE_PC_FDC | |
67 | bool | |
68 | ||
446d141e GX |
69 | config ZONE_DMA |
70 | def_bool y | |
71 | ||
790edb61 G |
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)" | |
79c11b6f TR |
112 | select PWM |
113 | select PWM_PUV3 | |
790edb61 G |
114 | |
115 | config PUV3_SMW0919 | |
116 | bool "Security Mini-Workstation board (0919)" | |
117 | ||
118 | endchoice | |
119 | ||
120 | config PUV3_PM | |
121 | def_bool y if !ARCH_FPGA | |
122 | ||
123 | endif | |
124 | ||
125 | source "arch/unicore32/mm/Kconfig" | |
126 | ||
127 | comment "Floating poing support" | |
128 | ||
129 | config UNICORE_FPU_F64 | |
130 | def_bool y if !ARCH_FPGA | |
131 | ||
132 | endmenu | |
133 | ||
134 | menu "Bus support" | |
135 | ||
136 | config PCI | |
137 | bool "PCI Support" | |
138 | help | |
139 | Find out whether you have a PCI motherboard. PCI is the name of a | |
140 | bus system, i.e. the way the CPU talks to the other stuff inside | |
141 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or | |
142 | VESA. If you have PCI, say Y, otherwise N. | |
143 | ||
144 | source "drivers/pci/Kconfig" | |
145 | ||
146 | source "drivers/pcmcia/Kconfig" | |
147 | ||
148 | endmenu | |
149 | ||
150 | menu "Kernel Features" | |
151 | ||
790edb61 G |
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 | ||
fa7499ef G |
227 | if PUV3_NB0916 |
228 | ||
229 | menu "PKUnity NetBook-0916 Features" | |
230 | ||
231 | config I2C_BATTERY_BQ27200 | |
232 | tristate "I2C Battery BQ27200 Support" | |
8889023a | 233 | select I2C_PUV3 |
fa7499ef G |
234 | select POWER_SUPPLY |
235 | select BATTERY_BQ27x00 | |
236 | ||
237 | config I2C_EEPROM_AT24 | |
238 | tristate "I2C EEPROMs AT24 support" | |
8889023a | 239 | select I2C_PUV3 |
fa7499ef G |
240 | select EEPROM_AT24 |
241 | ||
242 | config LCD_BACKLIGHT | |
243 | tristate "LCD Backlight support" | |
244 | select BACKLIGHT_LCD_SUPPORT | |
245 | select BACKLIGHT_PWM | |
246 | ||
247 | endmenu | |
248 | ||
249 | endif | |
250 | ||
790edb61 G |
251 | endif |
252 | ||
253 | source "drivers/Kconfig" | |
254 | ||
255 | source "fs/Kconfig" | |
256 | ||
257 | source "arch/unicore32/Kconfig.debug" | |
258 | ||
259 | source "security/Kconfig" | |
260 | ||
261 | source "crypto/Kconfig" | |
262 | ||
263 | source "lib/Kconfig" |