]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/unicore32/Kconfig
next-20150925/battery
[karo-tx-linux.git] / arch / unicore32 / Kconfig
1 config UNICORE32
2         def_bool y
3         select ARCH_MIGHT_HAVE_PC_PARPORT
4         select ARCH_MIGHT_HAVE_PC_SERIO
5         select HAVE_MEMBLOCK
6         select HAVE_GENERIC_DMA_COHERENT
7         select HAVE_DMA_ATTRS
8         select HAVE_KERNEL_GZIP
9         select HAVE_KERNEL_BZIP2
10         select GENERIC_ATOMIC64
11         select HAVE_KERNEL_LZO
12         select HAVE_KERNEL_LZMA
13         select VIRT_TO_BUS
14         select ARCH_HAVE_CUSTOM_GPIO_H
15         select GENERIC_FIND_FIRST_BIT
16         select GENERIC_IRQ_PROBE
17         select GENERIC_IRQ_SHOW
18         select ARCH_WANT_FRAME_POINTERS
19         select GENERIC_IOMAP
20         select MODULES_USE_ELF_REL
21         help
22           UniCore-32 is 32-bit Instruction Set Architecture,
23           including a series of low-power-consumption RISC chip
24           designs licensed by PKUnity Ltd.
25           Please see web page at <http://www.pkunity.com/>.
26
27 config GENERIC_CSUM
28         def_bool y
29
30 config NO_IOPORT_MAP
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 GENERIC_HWEIGHT
55         def_bool y
56
57 config GENERIC_CALIBRATE_DELAY
58         def_bool y
59
60 config ARCH_MAY_HAVE_PC_FDC
61         bool
62
63 config ZONE_DMA
64         def_bool y
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
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 GPIOLIB
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 source "drivers/cpufreq/Kconfig"
198
199 config ARCH_SUSPEND_POSSIBLE
200         def_bool y if !ARCH_FPGA
201
202 config ARCH_HIBERNATION_POSSIBLE
203         def_bool y if !ARCH_FPGA
204
205 endmenu
206
207 source "net/Kconfig"
208
209 if ARCH_PUV3
210
211 config PUV3_GPIO
212         bool
213         depends on !ARCH_FPGA
214         select GPIO_SYSFS
215         default y
216
217 if PUV3_NB0916
218
219 menu "PKUnity NetBook-0916 Features"
220
221 config I2C_BATTERY_BQ27200
222         tristate "I2C Battery BQ27200 Support"
223         select I2C_PUV3
224         select POWER_SUPPLY
225         select BATTERY_BQ27XXX
226
227 config I2C_EEPROM_AT24
228         tristate "I2C EEPROMs AT24 support"
229         select I2C_PUV3
230         select EEPROM_AT24
231
232 config LCD_BACKLIGHT
233         tristate "LCD Backlight support"
234         select BACKLIGHT_LCD_SUPPORT
235         select BACKLIGHT_PWM
236
237 endmenu
238
239 endif
240
241 endif
242
243 source "drivers/Kconfig"
244
245 source "fs/Kconfig"
246
247 source "arch/unicore32/Kconfig.debug"
248
249 source "security/Kconfig"
250
251 source "crypto/Kconfig"
252
253 source "lib/Kconfig"