• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1config 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
27config GENERIC_CSUM
28	def_bool y
29
30config NO_IOPORT_MAP
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 GENERIC_HWEIGHT
55	def_bool y
56
57config GENERIC_CALIBRATE_DELAY
58	def_bool y
59
60config ARCH_MAY_HAVE_PC_FDC
61	bool
62
63config ZONE_DMA
64	def_bool y
65
66config NEED_DMA_MAP_STATE
67       def_bool y
68
69source "init/Kconfig"
70
71source "kernel/Kconfig.freezer"
72
73menu "System Type"
74
75config MMU
76	def_bool y
77
78config ARCH_FPGA
79	bool
80
81config 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
90if ARCH_PUV3
91
92choice
93	prompt "Board Selection"
94	default PUV3_DB0913
95
96config PUV3_FPGA_DLX200
97	select ARCH_FPGA
98	bool "FPGA board"
99
100config PUV3_DB0913
101	bool "DEBUG board (0913)"
102
103config PUV3_NB0916
104	bool "NetBook board (0916)"
105	select PWM
106	select PWM_PUV3
107
108config PUV3_SMW0919
109	bool "Security Mini-Workstation board (0919)"
110
111endchoice
112
113config PUV3_PM
114	def_bool y if !ARCH_FPGA
115
116endif
117
118source "arch/unicore32/mm/Kconfig"
119
120comment "Floating poing support"
121
122config UNICORE_FPU_F64
123	def_bool y if !ARCH_FPGA
124
125endmenu
126
127menu "Bus support"
128
129config 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
137source "drivers/pci/Kconfig"
138
139source "drivers/pcmcia/Kconfig"
140
141endmenu
142
143menu "Kernel Features"
144
145source "kernel/Kconfig.preempt"
146
147source "kernel/Kconfig.hz"
148
149source "mm/Kconfig"
150
151config LEDS
152	def_bool y
153	depends on GPIOLIB
154
155config 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
166endmenu
167
168menu "Boot options"
169
170config CMDLINE
171	string "Default kernel command string"
172	default ""
173
174config 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
185endmenu
186
187menu "Userspace binary formats"
188
189source "fs/Kconfig.binfmt"
190
191endmenu
192
193menu "Power management options"
194
195source "kernel/power/Kconfig"
196
197source "drivers/cpufreq/Kconfig"
198
199config ARCH_SUSPEND_POSSIBLE
200	def_bool y if !ARCH_FPGA
201
202config ARCH_HIBERNATION_POSSIBLE
203	def_bool y if !ARCH_FPGA
204
205endmenu
206
207source "net/Kconfig"
208
209if ARCH_PUV3
210
211config PUV3_GPIO
212	bool
213	depends on !ARCH_FPGA
214	select GPIO_SYSFS
215	default y
216
217if PUV3_NB0916
218
219menu "PKUnity NetBook-0916 Features"
220
221config I2C_BATTERY_BQ27200
222	tristate "I2C Battery BQ27200 Support"
223	select I2C_PUV3
224	select POWER_SUPPLY
225	select BATTERY_BQ27XXX
226
227config I2C_EEPROM_AT24
228	tristate "I2C EEPROMs AT24 support"
229	select I2C_PUV3
230	select EEPROM_AT24
231
232config LCD_BACKLIGHT
233	tristate "LCD Backlight support"
234	select BACKLIGHT_LCD_SUPPORT
235	select BACKLIGHT_PWM
236
237endmenu
238
239endif
240
241endif
242
243source "drivers/Kconfig"
244
245source "fs/Kconfig"
246
247source "arch/unicore32/Kconfig.debug"
248
249source "security/Kconfig"
250
251source "crypto/Kconfig"
252
253source "lib/Kconfig"
254