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