Blame view

arch/unicore32/Kconfig 4.41 KB
790edb61c   GuanXuetao   unicore32 core ar...
1
2
  config UNICORE32
  	def_bool y
e00ca5152   Mark Salter   unicore32: select...
3
  	select ARCH_MIGHT_HAVE_PC_PARPORT
d444b03bf   Mark Salter   Input: i8042 - se...
4
  	select ARCH_MIGHT_HAVE_PC_SERIO
790edb61c   GuanXuetao   unicore32 core ar...
5
6
  	select HAVE_MEMBLOCK
  	select HAVE_GENERIC_DMA_COHERENT
790edb61c   GuanXuetao   unicore32 core ar...
7
8
9
  	select HAVE_DMA_ATTRS
  	select HAVE_KERNEL_GZIP
  	select HAVE_KERNEL_BZIP2
82e54a6aa   Fengguang Wu   unicore32: select...
10
  	select GENERIC_ATOMIC64
790edb61c   GuanXuetao   unicore32 core ar...
11
12
  	select HAVE_KERNEL_LZO
  	select HAVE_KERNEL_LZMA
4febd95a8   Stephen Rothwell   Select VIRT_TO_BU...
13
  	select VIRT_TO_BUS
7563bbf89   Mark Brown   gpiolib/arches: C...
14
  	select ARCH_HAVE_CUSTOM_GPIO_H
790edb61c   GuanXuetao   unicore32 core ar...
15
16
  	select GENERIC_FIND_FIRST_BIT
  	select GENERIC_IRQ_PROBE
37daf3223   Thomas Gleixner   unicore32: Use ge...
17
  	select GENERIC_IRQ_SHOW
790edb61c   GuanXuetao   unicore32 core ar...
18
  	select ARCH_WANT_FRAME_POINTERS
4673ca8eb   Michael S. Tsirkin   lib: move GENERIC...
19
  	select GENERIC_IOMAP
786d35d45   David Howells   Make most arch as...
20
  	select MODULES_USE_ELF_REL
790edb61c   GuanXuetao   unicore32 core ar...
21
22
23
24
25
  	help
  	  UniCore-32 is 32-bit Instruction Set Architecture,
  	  including a series of low-power-consumption RISC chip
  	  designs licensed by PKUnity Ltd.
  	  Please see web page at <http://www.pkunity.com/>.
790edb61c   GuanXuetao   unicore32 core ar...
26
27
  config GENERIC_CSUM
  	def_bool y
ce816fa88   Uwe Kleine-König   Kconfig: rename H...
28
  config NO_IOPORT_MAP
790edb61c   GuanXuetao   unicore32 core ar...
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
  	bool
  
  config STACKTRACE_SUPPORT
  	def_bool y
  
  config HAVE_LATENCYTOP_SUPPORT
  	def_bool y
  
  config LOCKDEP_SUPPORT
  	def_bool y
  
  config RWSEM_GENERIC_SPINLOCK
  	def_bool y
  
  config RWSEM_XCHGADD_ALGORITHM
  	bool
  
  config ARCH_HAS_ILOG2_U32
  	bool
  
  config ARCH_HAS_ILOG2_U64
  	bool
790edb61c   GuanXuetao   unicore32 core ar...
51
52
53
54
55
56
57
58
  config GENERIC_HWEIGHT
  	def_bool y
  
  config GENERIC_CALIBRATE_DELAY
  	def_bool y
  
  config ARCH_MAY_HAVE_PC_FDC
  	bool
446d141e1   Guan Xuetao   UniCore32 bugfix:...
59
60
  config ZONE_DMA
  	def_bool y
790edb61c   GuanXuetao   unicore32 core ar...
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
  config NEED_DMA_MAP_STATE
         def_bool y
  
  source "init/Kconfig"
  
  source "kernel/Kconfig.freezer"
  
  menu "System Type"
  
  config MMU
  	def_bool y
  
  config ARCH_FPGA
  	bool
  
  config ARCH_PUV3
  	def_bool y
  	select CPU_UCV2
  	select GENERIC_CLOCKEVENTS
  	select HAVE_CLK
  	select ARCH_REQUIRE_GPIOLIB
790edb61c   GuanXuetao   unicore32 core ar...
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
  
  # CONFIGs for ARCH_PUV3
  
  if ARCH_PUV3
  
  choice
  	prompt "Board Selection"
  	default PUV3_DB0913
  
  config PUV3_FPGA_DLX200
  	select ARCH_FPGA
  	bool "FPGA board"
  
  config PUV3_DB0913
  	bool "DEBUG board (0913)"
  
  config PUV3_NB0916
  	bool "NetBook board (0916)"
79c11b6fa   Thierry Reding   pwm: Move PUV3 PW...
100
101
  	select PWM
  	select PWM_PUV3
790edb61c   GuanXuetao   unicore32 core ar...
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
  
  config PUV3_SMW0919
  	bool "Security Mini-Workstation board (0919)"
  
  endchoice
  
  config PUV3_PM
  	def_bool y if !ARCH_FPGA
  
  endif
  
  source "arch/unicore32/mm/Kconfig"
  
  comment "Floating poing support"
  
  config UNICORE_FPU_F64
  	def_bool y if !ARCH_FPGA
  
  endmenu
  
  menu "Bus support"
  
  config PCI
  	bool "PCI Support"
  	help
  	  Find out whether you have a PCI motherboard. PCI is the name of a
  	  bus system, i.e. the way the CPU talks to the other stuff inside
  	  your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  	  VESA. If you have PCI, say Y, otherwise N.
  
  source "drivers/pci/Kconfig"
  
  source "drivers/pcmcia/Kconfig"
  
  endmenu
  
  menu "Kernel Features"
790edb61c   GuanXuetao   unicore32 core ar...
139
140
141
142
143
144
145
146
  source "kernel/Kconfig.preempt"
  
  source "kernel/Kconfig.hz"
  
  source "mm/Kconfig"
  
  config LEDS
  	def_bool y
76ec9d18b   Alexandre Courbot   Convert selectors...
147
  	depends on GPIOLIB
790edb61c   GuanXuetao   unicore32 core ar...
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
  
  config ALIGNMENT_TRAP
  	def_bool y
  	help
  	  Unicore processors can not fetch/store information which is not
  	  naturally aligned on the bus, i.e., a 4 byte fetch must start at an
  	  address divisible by 4. On 32-bit Unicore processors, these non-aligned
  	  fetch/store instructions will be emulated in software if you say
  	  here, which has a severe performance impact. This is necessary for
  	  correct operation of some network protocols. With an IP-only
  	  configuration it is safe to say N, otherwise say Y.
  
  endmenu
  
  menu "Boot options"
  
  config CMDLINE
  	string "Default kernel command string"
  	default ""
  
  config CMDLINE_FORCE
  	bool "Always use the default kernel command string"
  	depends on CMDLINE != ""
  	help
  	  Always use the default kernel command string, even if the boot
  	  loader passes other arguments to the kernel.
  	  This is useful if you cannot or don't want to change the
  	  command-line options your boot loader passes to the kernel.
  
  	  If unsure, say N.
  
  endmenu
  
  menu "Userspace binary formats"
  
  source "fs/Kconfig.binfmt"
  
  endmenu
  
  menu "Power management options"
  
  source "kernel/power/Kconfig"
790edb61c   GuanXuetao   unicore32 core ar...
190
  source "drivers/cpufreq/Kconfig"
790edb61c   GuanXuetao   unicore32 core ar...
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
  
  config ARCH_SUSPEND_POSSIBLE
  	def_bool y if !ARCH_FPGA
  
  config ARCH_HIBERNATION_POSSIBLE
  	def_bool y if !ARCH_FPGA
  
  endmenu
  
  source "net/Kconfig"
  
  if ARCH_PUV3
  
  config PUV3_GPIO
  	bool
  	depends on !ARCH_FPGA
c28446465   Kees Cook   arch/unicore32: r...
207
  	select GPIO_SYSFS
790edb61c   GuanXuetao   unicore32 core ar...
208
  	default y
fa7499ef7   GuanXuetao   unicore32 machine...
209
210
211
212
213
214
  if PUV3_NB0916
  
  menu "PKUnity NetBook-0916 Features"
  
  config I2C_BATTERY_BQ27200
  	tristate "I2C Battery BQ27200 Support"
8889023a4   Paul Bolle   unicore32: Fix ty...
215
  	select I2C_PUV3
fa7499ef7   GuanXuetao   unicore32 machine...
216
217
218
219
220
  	select POWER_SUPPLY
  	select BATTERY_BQ27x00
  
  config I2C_EEPROM_AT24
  	tristate "I2C EEPROMs AT24 support"
8889023a4   Paul Bolle   unicore32: Fix ty...
221
  	select I2C_PUV3
fa7499ef7   GuanXuetao   unicore32 machine...
222
223
224
225
226
227
228
229
230
231
  	select EEPROM_AT24
  
  config LCD_BACKLIGHT
  	tristate "LCD Backlight support"
  	select BACKLIGHT_LCD_SUPPORT
  	select BACKLIGHT_PWM
  
  endmenu
  
  endif
790edb61c   GuanXuetao   unicore32 core ar...
232
233
234
235
236
237
238
239
240
241
242
243
244
  endif
  
  source "drivers/Kconfig"
  
  source "fs/Kconfig"
  
  source "arch/unicore32/Kconfig.debug"
  
  source "security/Kconfig"
  
  source "crypto/Kconfig"
  
  source "lib/Kconfig"