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