]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/unicore32/Kconfig
60651df5f95241bb063798df83e0af2545023e76
[karo-tx-linux.git] / arch / unicore32 / Kconfig
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 GENERIC_ATOMIC64
10         select HAVE_KERNEL_LZO
11         select HAVE_KERNEL_LZMA
12         select ARCH_HAVE_CUSTOM_GPIO_H
13         select GENERIC_FIND_FIRST_BIT
14         select GENERIC_IRQ_PROBE
15         select GENERIC_IRQ_SHOW
16         select ARCH_WANT_FRAME_POINTERS
17         select GENERIC_IOMAP
18         select MODULES_USE_ELF_REL
19         help
20           UniCore-32 is 32-bit Instruction Set Architecture,
21           including a series of low-power-consumption RISC chip
22           designs licensed by PKUnity Ltd.
23           Please see web page at <http://www.pkunity.com/>.
24
25 config GENERIC_GPIO
26         def_bool y
27
28 config GENERIC_CSUM
29         def_bool y
30
31 config NO_IOPORT
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
55 config ARCH_HAS_CPUFREQ
56         bool
57
58 config GENERIC_HWEIGHT
59         def_bool y
60
61 config GENERIC_CALIBRATE_DELAY
62         def_bool y
63
64 config ARCH_MAY_HAVE_PC_FDC
65         bool
66
67 config ZONE_DMA
68         def_bool y
69
70 config NEED_DMA_MAP_STATE
71        def_bool y
72
73 source "init/Kconfig"
74
75 source "kernel/Kconfig.freezer"
76
77 menu "System Type"
78
79 config MMU
80         def_bool y
81
82 config ARCH_FPGA
83         bool
84
85 config ARCH_PUV3
86         def_bool y
87         select CPU_UCV2
88         select GENERIC_CLOCKEVENTS
89         select HAVE_CLK
90         select ARCH_REQUIRE_GPIOLIB
91         select ARCH_HAS_CPUFREQ
92
93 # CONFIGs for ARCH_PUV3
94
95 if ARCH_PUV3
96
97 choice
98         prompt "Board Selection"
99         default PUV3_DB0913
100
101 config PUV3_FPGA_DLX200
102         select ARCH_FPGA
103         bool "FPGA board"
104
105 config PUV3_DB0913
106         bool "DEBUG board (0913)"
107
108 config PUV3_NB0916
109         bool "NetBook board (0916)"
110         select PWM
111         select PWM_PUV3
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/Kconfig.preempt"
151
152 source "kernel/Kconfig.hz"
153
154 source "mm/Kconfig"
155
156 config LEDS
157         def_bool y
158         depends on GENERIC_GPIO
159
160 config ALIGNMENT_TRAP
161         def_bool y
162         help
163           Unicore processors can not fetch/store information which is not
164           naturally aligned on the bus, i.e., a 4 byte fetch must start at an
165           address divisible by 4. On 32-bit Unicore processors, these non-aligned
166           fetch/store instructions will be emulated in software if you say
167           here, which has a severe performance impact. This is necessary for
168           correct operation of some network protocols. With an IP-only
169           configuration it is safe to say N, otherwise say Y.
170
171 endmenu
172
173 menu "Boot options"
174
175 config CMDLINE
176         string "Default kernel command string"
177         default ""
178
179 config CMDLINE_FORCE
180         bool "Always use the default kernel command string"
181         depends on CMDLINE != ""
182         help
183           Always use the default kernel command string, even if the boot
184           loader passes other arguments to the kernel.
185           This is useful if you cannot or don't want to change the
186           command-line options your boot loader passes to the kernel.
187
188           If unsure, say N.
189
190 endmenu
191
192 menu "Userspace binary formats"
193
194 source "fs/Kconfig.binfmt"
195
196 endmenu
197
198 menu "Power management options"
199
200 source "kernel/power/Kconfig"
201
202 if ARCH_HAS_CPUFREQ
203 source "drivers/cpufreq/Kconfig"
204 endif
205
206 config ARCH_SUSPEND_POSSIBLE
207         def_bool y if !ARCH_FPGA
208
209 config ARCH_HIBERNATION_POSSIBLE
210         def_bool y if !ARCH_FPGA
211
212 endmenu
213
214 source "net/Kconfig"
215
216 if ARCH_PUV3
217
218 config PUV3_GPIO
219         bool
220         depends on !ARCH_FPGA
221         select GENERIC_GPIO
222         select GPIO_SYSFS
223         default y
224
225 if PUV3_NB0916
226
227 menu "PKUnity NetBook-0916 Features"
228
229 config I2C_BATTERY_BQ27200
230         tristate "I2C Battery BQ27200 Support"
231         select I2C_PUV3
232         select POWER_SUPPLY
233         select BATTERY_BQ27x00
234
235 config I2C_EEPROM_AT24
236         tristate "I2C EEPROMs AT24 support"
237         select I2C_PUV3
238         select EEPROM_AT24
239
240 config LCD_BACKLIGHT
241         tristate "LCD Backlight support"
242         select BACKLIGHT_LCD_SUPPORT
243         select BACKLIGHT_PWM
244
245 endmenu
246
247 endif
248
249 endif
250
251 source "drivers/Kconfig"
252
253 source "fs/Kconfig"
254
255 source "arch/unicore32/Kconfig.debug"
256
257 source "security/Kconfig"
258
259 source "crypto/Kconfig"
260
261 source "lib/Kconfig"