xref: /linux/arch/microblaze/Kconfig (revision bcefe12eff5dca6fdfa94ed85e5bee66380d5cd9)
1# For a description of the syntax of this configuration file,
2# see Documentation/kbuild/kconfig-language.txt.
3
4mainmenu "Linux/Microblaze Kernel Configuration"
5
6config MICROBLAZE
7	def_bool y
8	select HAVE_LMB
9	select USB_ARCH_HAS_EHCI
10	select ARCH_WANT_OPTIONAL_GPIOLIB
11
12config SWAP
13	def_bool n
14
15config RWSEM_GENERIC_SPINLOCK
16	def_bool y
17
18config RWSEM_XCHGADD_ALGORITHM
19	bool
20
21config ARCH_HAS_ILOG2_U32
22	def_bool n
23
24config ARCH_HAS_ILOG2_U64
25	def_bool n
26
27config GENERIC_FIND_NEXT_BIT
28	def_bool y
29
30config GENERIC_HWEIGHT
31	def_bool y
32
33config GENERIC_HARDIRQS
34	def_bool y
35
36config GENERIC_IRQ_PROBE
37	def_bool y
38
39config GENERIC_CALIBRATE_DELAY
40	def_bool y
41
42config GENERIC_TIME
43	def_bool y
44
45config GENERIC_TIME_VSYSCALL
46	def_bool n
47
48config GENERIC_CLOCKEVENTS
49	def_bool y
50
51config GENERIC_HARDIRQS_NO__DO_IRQ
52	def_bool y
53
54config GENERIC_GPIO
55	def_bool y
56
57config GENERIC_CSUM
58	def_bool y
59
60config PCI
61	def_bool n
62
63config NO_DMA
64	def_bool y
65
66source "init/Kconfig"
67
68source "kernel/Kconfig.freezer"
69
70source "arch/microblaze/platform/Kconfig.platform"
71
72menu "Processor type and features"
73
74source kernel/time/Kconfig
75
76source "kernel/Kconfig.preempt"
77
78source "kernel/Kconfig.hz"
79
80config MMU
81	bool "MMU support"
82	default n
83
84config NO_MMU
85	bool
86	depends on !MMU
87	default y
88
89comment "Boot options"
90
91config CMDLINE_BOOL
92	bool "Default bootloader kernel arguments"
93
94config CMDLINE
95	string "Default kernel command string"
96	depends on CMDLINE_BOOL
97	default "console=ttyUL0,115200"
98	help
99	  On some architectures there is currently no way for the boot loader
100	  to pass arguments to the kernel. For these architectures, you should
101	  supply some command-line options at build time by entering them
102	  here.
103
104config CMDLINE_FORCE
105	bool "Force default kernel command string"
106	depends on CMDLINE_BOOL
107	default n
108	help
109	  Set this to have arguments from the default kernel command string
110	  override those passed by the boot loader.
111
112config OF
113	def_bool y
114
115config PROC_DEVICETREE
116	bool "Support for device tree in /proc"
117	depends on PROC_FS
118	help
119	  This option adds a device-tree directory under /proc which contains
120	  an image of the device tree that the kernel copies from Open
121	  Firmware or other boot firmware. If unsure, say Y here.
122
123endmenu
124
125menu "Advanced setup"
126
127config ADVANCED_OPTIONS
128	bool "Prompt for advanced kernel configuration options"
129	depends on MMU
130	help
131	  This option will enable prompting for a variety of advanced kernel
132	  configuration options.  These options can cause the kernel to not
133	  work if they are set incorrectly, but can be used to optimize certain
134	  aspects of kernel memory management.
135
136	  Unless you know what you are doing, say N here.
137
138comment "Default settings for advanced configuration options are used"
139	depends on !ADVANCED_OPTIONS
140
141config HIGHMEM_START_BOOL
142	bool "Set high memory pool address"
143	depends on ADVANCED_OPTIONS && HIGHMEM
144	help
145	  This option allows you to set the base address of the kernel virtual
146	  area used to map high memory pages.  This can be useful in
147	  optimizing the layout of kernel virtual memory.
148
149	  Say N here unless you know what you are doing.
150
151config HIGHMEM_START
152	hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
153	depends on MMU
154	default "0xfe000000"
155
156config LOWMEM_SIZE_BOOL
157	bool "Set maximum low memory"
158	depends on ADVANCED_OPTIONS
159	help
160	  This option allows you to set the maximum amount of memory which
161	  will be used as "low memory", that is, memory which the kernel can
162	  access directly, without having to set up a kernel virtual mapping.
163	  This can be useful in optimizing the layout of kernel virtual
164	  memory.
165
166	  Say N here unless you know what you are doing.
167
168config LOWMEM_SIZE
169	hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
170	depends on MMU
171	default "0x30000000"
172
173config KERNEL_START_BOOL
174	bool "Set custom kernel base address"
175	depends on ADVANCED_OPTIONS
176	help
177	  This option allows you to set the kernel virtual address at which
178	  the kernel will map low memory (the kernel image will be linked at
179	  this address).  This can be useful in optimizing the virtual memory
180	  layout of the system.
181
182	  Say N here unless you know what you are doing.
183
184config KERNEL_START
185	hex "Virtual address of kernel base" if KERNEL_START_BOOL
186	default "0xc0000000" if MMU
187	default KERNEL_BASE_ADDR if !MMU
188
189config TASK_SIZE_BOOL
190	bool "Set custom user task size"
191	depends on ADVANCED_OPTIONS
192	help
193	  This option allows you to set the amount of virtual address space
194	  allocated to user tasks.  This can be useful in optimizing the
195	  virtual memory layout of the system.
196
197	  Say N here unless you know what you are doing.
198
199config TASK_SIZE
200	hex "Size of user task space" if TASK_SIZE_BOOL
201	depends on MMU
202	default "0x80000000"
203
204config CONSISTENT_START_BOOL
205	bool "Set custom consistent memory pool address"
206	depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
207	help
208	  This option allows you to set the base virtual address
209	  of the the consistent memory pool.  This pool of virtual
210	  memory is used to make consistent memory allocations.
211
212config CONSISTENT_START
213	hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
214	depends on MMU
215	default "0xff100000" if NOT_COHERENT_CACHE
216
217config CONSISTENT_SIZE_BOOL
218	bool "Set custom consistent memory pool size"
219	depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
220	help
221	  This option allows you to set the size of the the
222	  consistent memory pool.  This pool of virtual memory
223	  is used to make consistent memory allocations.
224
225config CONSISTENT_SIZE
226	hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
227	depends on MMU
228	default "0x00200000" if NOT_COHERENT_CACHE
229
230endmenu
231
232source "mm/Kconfig"
233
234menu "Exectuable file formats"
235
236source "fs/Kconfig.binfmt"
237
238endmenu
239
240source "net/Kconfig"
241
242source "drivers/Kconfig"
243
244source "fs/Kconfig"
245
246source "arch/microblaze/Kconfig.debug"
247
248source "security/Kconfig"
249
250source "crypto/Kconfig"
251
252source "lib/Kconfig"
253