]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/unicore32/Kconfig
Merge remote-tracking branch 'modules/modules-next'
[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 HAVE_PWM
26         bool
27
28 config GENERIC_GPIO
29         def_bool y
30
31 config GENERIC_CSUM
32         def_bool y
33
34 config NO_IOPORT
35         bool
36
37 config STACKTRACE_SUPPORT
38         def_bool y
39
40 config HAVE_LATENCYTOP_SUPPORT
41         def_bool y
42
43 config LOCKDEP_SUPPORT
44         def_bool y
45
46 config RWSEM_GENERIC_SPINLOCK
47         def_bool y
48
49 config RWSEM_XCHGADD_ALGORITHM
50         bool
51
52 config ARCH_HAS_ILOG2_U32
53         bool
54
55 config ARCH_HAS_ILOG2_U64
56         bool
57
58 config ARCH_HAS_CPUFREQ
59         bool
60
61 config GENERIC_HWEIGHT
62         def_bool y
63
64 config GENERIC_CALIBRATE_DELAY
65         def_bool y
66
67 config ARCH_MAY_HAVE_PC_FDC
68         bool
69
70 config ZONE_DMA
71         def_bool y
72
73 config NEED_DMA_MAP_STATE
74        def_bool y
75
76 source "init/Kconfig"
77
78 source "kernel/Kconfig.freezer"
79
80 menu "System Type"
81
82 config MMU
83         def_bool y
84
85 config ARCH_FPGA
86         bool
87
88 config ARCH_PUV3
89         def_bool y
90         select CPU_UCV2
91         select GENERIC_CLOCKEVENTS
92         select HAVE_CLK
93         select ARCH_REQUIRE_GPIOLIB
94         select ARCH_HAS_CPUFREQ
95
96 # CONFIGs for ARCH_PUV3
97
98 if ARCH_PUV3
99
100 choice
101         prompt "Board Selection"
102         default PUV3_DB0913
103
104 config PUV3_FPGA_DLX200
105         select ARCH_FPGA
106         bool "FPGA board"
107
108 config PUV3_DB0913
109         bool "DEBUG board (0913)"
110
111 config PUV3_NB0916
112         bool "NetBook board (0916)"
113         select HAVE_PWM
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
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
233 if PUV3_NB0916
234
235 menu "PKUnity NetBook-0916 Features"
236
237 config I2C_BATTERY_BQ27200
238         tristate "I2C Battery BQ27200 Support"
239         select I2C_PUV3
240         select POWER_SUPPLY
241         select BATTERY_BQ27x00
242
243 config I2C_EEPROM_AT24
244         tristate "I2C EEPROMs AT24 support"
245         select I2C_PUV3
246         select EEPROM_AT24
247
248 config LCD_BACKLIGHT
249         tristate "LCD Backlight support"
250         select BACKLIGHT_LCD_SUPPORT
251         select BACKLIGHT_PWM
252
253 endmenu
254
255 endif
256
257 endif
258
259 source "drivers/Kconfig"
260
261 source "fs/Kconfig"
262
263 source "arch/unicore32/Kconfig.debug"
264
265 source "security/Kconfig"
266
267 source "crypto/Kconfig"
268
269 source "lib/Kconfig"