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