Merge tag 'for-3.7-rc1' of git://gitorious.org/linux-pwm/linux-pwm
[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 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         help
19           UniCore-32 is 32-bit Instruction Set Architecture,
20           including a series of low-power-consumption RISC chip
21           designs licensed by PKUnity Ltd.
22           Please see web page at <http://www.pkunity.com/>.
23
24 config GENERIC_GPIO
25         def_bool y
26
27 config GENERIC_CSUM
28         def_bool y
29
30 config NO_IOPORT
31         bool
32
33 config STACKTRACE_SUPPORT
34         def_bool y
35
36 config HAVE_LATENCYTOP_SUPPORT
37         def_bool y
38
39 config LOCKDEP_SUPPORT
40         def_bool y
41
42 config RWSEM_GENERIC_SPINLOCK
43         def_bool y
44
45 config RWSEM_XCHGADD_ALGORITHM
46         bool
47
48 config ARCH_HAS_ILOG2_U32
49         bool
50
51 config ARCH_HAS_ILOG2_U64
52         bool
53
54 config ARCH_HAS_CPUFREQ
55         bool
56
57 config GENERIC_HWEIGHT
58         def_bool y
59
60 config GENERIC_CALIBRATE_DELAY
61         def_bool y
62
63 config ARCH_MAY_HAVE_PC_FDC
64         bool
65
66 config NEED_DMA_MAP_STATE
67        def_bool y
68
69 source "init/Kconfig"
70
71 source "kernel/Kconfig.freezer"
72
73 menu "System Type"
74
75 config MMU
76         def_bool y
77
78 config ARCH_FPGA
79         bool
80
81 config ARCH_PUV3
82         def_bool y
83         select CPU_UCV2
84         select GENERIC_CLOCKEVENTS
85         select HAVE_CLK
86         select ARCH_REQUIRE_GPIOLIB
87         select ARCH_HAS_CPUFREQ
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)"
106         select PWM
107         select PWM_PUV3
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
146 source "kernel/Kconfig.preempt"
147
148 source "kernel/Kconfig.hz"
149
150 source "mm/Kconfig"
151
152 config LEDS
153         def_bool y
154         depends on GENERIC_GPIO
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
198 if ARCH_HAS_CPUFREQ
199 source "drivers/cpufreq/Kconfig"
200 endif
201
202 config ARCH_SUSPEND_POSSIBLE
203         def_bool y if !ARCH_FPGA
204
205 config ARCH_HIBERNATION_POSSIBLE
206         def_bool y if !ARCH_FPGA
207
208 endmenu
209
210 source "net/Kconfig"
211
212 if ARCH_PUV3
213
214 config PUV3_GPIO
215         bool
216         depends on !ARCH_FPGA
217         select GENERIC_GPIO
218         select GPIO_SYSFS if EXPERIMENTAL
219         default y
220
221 if PUV3_NB0916
222
223 menu "PKUnity NetBook-0916 Features"
224
225 config I2C_BATTERY_BQ27200
226         tristate "I2C Battery BQ27200 Support"
227         select I2C_PUV3
228         select POWER_SUPPLY
229         select BATTERY_BQ27x00
230
231 config I2C_EEPROM_AT24
232         tristate "I2C EEPROMs AT24 support"
233         select I2C_PUV3
234         select EEPROM_AT24
235
236 config LCD_BACKLIGHT
237         tristate "LCD Backlight support"
238         select BACKLIGHT_LCD_SUPPORT
239         select BACKLIGHT_PWM
240
241 endmenu
242
243 endif
244
245 endif
246
247 source "drivers/Kconfig"
248
249 source "fs/Kconfig"
250
251 source "arch/unicore32/Kconfig.debug"
252
253 source "security/Kconfig"
254
255 source "crypto/Kconfig"
256
257 source "lib/Kconfig"