pandora: defconfig: update
[pandora-kernel.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 GENERIC_FIND_FIRST_BIT
13         select GENERIC_IRQ_PROBE
14         select GENERIC_IRQ_SHOW
15         select ARCH_WANT_FRAME_POINTERS
16         help
17           UniCore-32 is 32-bit Instruction Set Architecture,
18           including a series of low-power-consumption RISC chip
19           designs licensed by PKUnity Ltd.
20           Please see web page at <http://www.pkunity.com/>.
21
22 config HAVE_PWM
23         bool
24
25 config GENERIC_GPIO
26         def_bool y
27
28 config GENERIC_CLOCKEVENTS
29         bool
30
31 config GENERIC_CSUM
32         def_bool y
33
34 config GENERIC_IOMAP
35         def_bool y
36
37 config NO_IOPORT
38         bool
39
40 config STACKTRACE_SUPPORT
41         def_bool y
42
43 config HAVE_LATENCYTOP_SUPPORT
44         def_bool y
45
46 config LOCKDEP_SUPPORT
47         def_bool y
48
49 config RWSEM_GENERIC_SPINLOCK
50         def_bool y
51
52 config RWSEM_XCHGADD_ALGORITHM
53         bool
54
55 config ARCH_HAS_ILOG2_U32
56         bool
57
58 config ARCH_HAS_ILOG2_U64
59         bool
60
61 config ARCH_HAS_CPUFREQ
62         bool
63
64 config GENERIC_HWEIGHT
65         def_bool y
66
67 config GENERIC_CALIBRATE_DELAY
68         def_bool y
69
70 config ARCH_MAY_HAVE_PC_FDC
71         bool
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/time/Kconfig"
153
154 source "kernel/Kconfig.preempt"
155
156 source "kernel/Kconfig.hz"
157
158 source "mm/Kconfig"
159
160 config LEDS
161         def_bool y
162         depends on GENERIC_GPIO
163
164 config ALIGNMENT_TRAP
165         def_bool y
166         help
167           Unicore processors can not fetch/store information which is not
168           naturally aligned on the bus, i.e., a 4 byte fetch must start at an
169           address divisible by 4. On 32-bit Unicore processors, these non-aligned
170           fetch/store instructions will be emulated in software if you say
171           here, which has a severe performance impact. This is necessary for
172           correct operation of some network protocols. With an IP-only
173           configuration it is safe to say N, otherwise say Y.
174
175 endmenu
176
177 menu "Boot options"
178
179 config CMDLINE
180         string "Default kernel command string"
181         default ""
182
183 config CMDLINE_FORCE
184         bool "Always use the default kernel command string"
185         depends on CMDLINE != ""
186         help
187           Always use the default kernel command string, even if the boot
188           loader passes other arguments to the kernel.
189           This is useful if you cannot or don't want to change the
190           command-line options your boot loader passes to the kernel.
191
192           If unsure, say N.
193
194 endmenu
195
196 menu "Userspace binary formats"
197
198 source "fs/Kconfig.binfmt"
199
200 endmenu
201
202 menu "Power management options"
203
204 source "kernel/power/Kconfig"
205
206 if ARCH_HAS_CPUFREQ
207 source "drivers/cpufreq/Kconfig"
208 endif
209
210 config ARCH_SUSPEND_POSSIBLE
211         def_bool y if !ARCH_FPGA
212
213 config ARCH_HIBERNATION_POSSIBLE
214         def_bool y if !ARCH_FPGA
215
216 endmenu
217
218 source "net/Kconfig"
219
220 if ARCH_PUV3
221
222 config PUV3_GPIO
223         bool
224         depends on !ARCH_FPGA
225         select GENERIC_GPIO
226         select GPIO_SYSFS if EXPERIMENTAL
227         default y
228
229 config PUV3_PWM
230         tristate
231         default BACKLIGHT_PWM
232         help
233           Enable support for NB0916 PWM controllers
234
235 if PUV3_NB0916
236
237 menu "PKUnity NetBook-0916 Features"
238
239 config I2C_BATTERY_BQ27200
240         tristate "I2C Battery BQ27200 Support"
241         select I2C_PUV3
242         select POWER_SUPPLY
243         select BATTERY_BQ27x00
244
245 config I2C_EEPROM_AT24
246         tristate "I2C EEPROMs AT24 support"
247         select I2C_PUV3
248         select MISC_DEVICES
249         select EEPROM_AT24
250
251 config LCD_BACKLIGHT
252         tristate "LCD Backlight support"
253         select BACKLIGHT_LCD_SUPPORT
254         select BACKLIGHT_PWM
255
256 endmenu
257
258 endif
259
260 endif
261
262 source "drivers/Kconfig"
263
264 source "fs/Kconfig"
265
266 source "arch/unicore32/Kconfig.debug"
267
268 source "security/Kconfig"
269
270 source "crypto/Kconfig"
271
272 source "lib/Kconfig"