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