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