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