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