xref: /openbmc/linux/arch/microblaze/Kconfig (revision 3c5e5672)
1575ca288SMichal Simek# For a description of the syntax of this configuration file,
2575ca288SMichal Simek# see Documentation/kbuild/kconfig-language.txt.
3575ca288SMichal Simek
4575ca288SMichal Simekmainmenu "Linux/Microblaze Kernel Configuration"
5575ca288SMichal Simek
6575ca288SMichal Simekconfig MICROBLAZE
7575ca288SMichal Simek	def_bool y
8575ca288SMichal Simek	select HAVE_LMB
92fd7c761SMichal Simek	select HAVE_FUNCTION_TRACER
106d9e60ceSMichal Simek	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
11a0d3e665SMichal Simek	select HAVE_FUNCTION_GRAPH_TRACER
127d241ff0SMichal Simek	select HAVE_DYNAMIC_FTRACE
137d241ff0SMichal Simek	select HAVE_FTRACE_MCOUNT_RECORD
14afc26cb3SJulie Zhu	select USB_ARCH_HAS_EHCI
156fa612b5SMichal Simek	select ARCH_WANT_OPTIONAL_GPIOLIB
163540ce82SJohn Williams	select HAVE_OPROFILE
173540ce82SJohn Williams	select TRACING_SUPPORT
18575ca288SMichal Simek
19575ca288SMichal Simekconfig SWAP
20575ca288SMichal Simek	def_bool n
21575ca288SMichal Simek
22575ca288SMichal Simekconfig RWSEM_GENERIC_SPINLOCK
23575ca288SMichal Simek	def_bool y
24575ca288SMichal Simek
25575ca288SMichal Simekconfig RWSEM_XCHGADD_ALGORITHM
26575ca288SMichal Simek	bool
27575ca288SMichal Simek
28575ca288SMichal Simekconfig ARCH_HAS_ILOG2_U32
29575ca288SMichal Simek	def_bool n
30575ca288SMichal Simek
31575ca288SMichal Simekconfig ARCH_HAS_ILOG2_U64
32575ca288SMichal Simek	def_bool n
33575ca288SMichal Simek
34575ca288SMichal Simekconfig GENERIC_FIND_NEXT_BIT
35575ca288SMichal Simek	def_bool y
36575ca288SMichal Simek
37575ca288SMichal Simekconfig GENERIC_HWEIGHT
38575ca288SMichal Simek	def_bool y
39575ca288SMichal Simek
40575ca288SMichal Simekconfig GENERIC_HARDIRQS
41575ca288SMichal Simek	def_bool y
42575ca288SMichal Simek
43575ca288SMichal Simekconfig GENERIC_IRQ_PROBE
44575ca288SMichal Simek	def_bool y
45575ca288SMichal Simek
46575ca288SMichal Simekconfig GENERIC_CALIBRATE_DELAY
47575ca288SMichal Simek	def_bool y
48575ca288SMichal Simek
49575ca288SMichal Simekconfig GENERIC_TIME
50575ca288SMichal Simek	def_bool y
51575ca288SMichal Simek
52575ca288SMichal Simekconfig GENERIC_TIME_VSYSCALL
53575ca288SMichal Simek	def_bool n
54575ca288SMichal Simek
55575ca288SMichal Simekconfig GENERIC_CLOCKEVENTS
56575ca288SMichal Simek	def_bool y
57575ca288SMichal Simek
58575ca288SMichal Simekconfig GENERIC_HARDIRQS_NO__DO_IRQ
59575ca288SMichal Simek	def_bool y
60575ca288SMichal Simek
616fa612b5SMichal Simekconfig GENERIC_GPIO
626fa612b5SMichal Simek	def_bool y
636fa612b5SMichal Simek
6414f87389SRemis Lima Baimaconfig GENERIC_CSUM
6514f87389SRemis Lima Baima	def_bool y
6614f87389SRemis Lima Baima
6724b45a12SMichal Simekconfig STACKTRACE_SUPPORT
6824b45a12SMichal Simek	def_bool y
6924b45a12SMichal Simek
70bf2d8096SMichal Simekconfig LOCKDEP_SUPPORT
71bf2d8096SMichal Simek	def_bool y
72bf2d8096SMichal Simek
73fb5a32dcSMichal Simekconfig HAVE_LATENCYTOP_SUPPORT
74fb5a32dcSMichal Simek	def_bool y
75fb5a32dcSMichal Simek
76575ca288SMichal Simekconfig PCI
77575ca288SMichal Simek	def_bool n
78575ca288SMichal Simek
79575ca288SMichal Simekconfig NO_DMA
80f2224ff0SArnd Bergmann	def_bool y
81575ca288SMichal Simek
823c5e5672SMichal Simekconfig DTC
833c5e5672SMichal Simek	def_bool y
843c5e5672SMichal Simek
85575ca288SMichal Simeksource "init/Kconfig"
86575ca288SMichal Simek
87575ca288SMichal Simeksource "kernel/Kconfig.freezer"
88575ca288SMichal Simek
89575ca288SMichal Simeksource "arch/microblaze/platform/Kconfig.platform"
90575ca288SMichal Simek
91575ca288SMichal Simekmenu "Processor type and features"
92575ca288SMichal Simek
93575ca288SMichal Simeksource kernel/time/Kconfig
94575ca288SMichal Simek
95575ca288SMichal Simeksource "kernel/Kconfig.preempt"
96575ca288SMichal Simek
97575ca288SMichal Simeksource "kernel/Kconfig.hz"
98575ca288SMichal Simek
99575ca288SMichal Simekconfig MMU
100a116f6d5SMichal Simek	bool "MMU support"
101a116f6d5SMichal Simek	default n
102575ca288SMichal Simek
103575ca288SMichal Simekconfig NO_MMU
104575ca288SMichal Simek	bool
105575ca288SMichal Simek	depends on !MMU
106575ca288SMichal Simek	default y
107575ca288SMichal Simek
108575ca288SMichal Simekcomment "Boot options"
109575ca288SMichal Simek
110575ca288SMichal Simekconfig CMDLINE_BOOL
111575ca288SMichal Simek	bool "Default bootloader kernel arguments"
112575ca288SMichal Simek
113575ca288SMichal Simekconfig CMDLINE
114575ca288SMichal Simek	string "Default kernel command string"
115575ca288SMichal Simek	depends on CMDLINE_BOOL
116575ca288SMichal Simek	default "console=ttyUL0,115200"
117575ca288SMichal Simek	help
118575ca288SMichal Simek	  On some architectures there is currently no way for the boot loader
119575ca288SMichal Simek	  to pass arguments to the kernel. For these architectures, you should
120575ca288SMichal Simek	  supply some command-line options at build time by entering them
121575ca288SMichal Simek	  here.
122575ca288SMichal Simek
123575ca288SMichal Simekconfig CMDLINE_FORCE
124575ca288SMichal Simek	bool "Force default kernel command string"
125575ca288SMichal Simek	depends on CMDLINE_BOOL
126575ca288SMichal Simek	default n
127575ca288SMichal Simek	help
128575ca288SMichal Simek	  Set this to have arguments from the default kernel command string
129575ca288SMichal Simek	  override those passed by the boot loader.
130575ca288SMichal Simek
131575ca288SMichal Simekconfig OF
132575ca288SMichal Simek	def_bool y
133575ca288SMichal Simek
134575ca288SMichal Simekconfig PROC_DEVICETREE
135575ca288SMichal Simek	bool "Support for device tree in /proc"
136575ca288SMichal Simek	depends on PROC_FS
137575ca288SMichal Simek	help
138575ca288SMichal Simek	  This option adds a device-tree directory under /proc which contains
139575ca288SMichal Simek	  an image of the device tree that the kernel copies from Open
140575ca288SMichal Simek	  Firmware or other boot firmware. If unsure, say Y here.
141575ca288SMichal Simek
142575ca288SMichal Simekendmenu
143575ca288SMichal Simek
144a116f6d5SMichal Simekmenu "Advanced setup"
145a116f6d5SMichal Simek
146a116f6d5SMichal Simekconfig ADVANCED_OPTIONS
147a116f6d5SMichal Simek	bool "Prompt for advanced kernel configuration options"
148a116f6d5SMichal Simek	depends on MMU
149a116f6d5SMichal Simek	help
150a116f6d5SMichal Simek	  This option will enable prompting for a variety of advanced kernel
151a116f6d5SMichal Simek	  configuration options.  These options can cause the kernel to not
152a116f6d5SMichal Simek	  work if they are set incorrectly, but can be used to optimize certain
153a116f6d5SMichal Simek	  aspects of kernel memory management.
154a116f6d5SMichal Simek
155a116f6d5SMichal Simek	  Unless you know what you are doing, say N here.
156a116f6d5SMichal Simek
157a116f6d5SMichal Simekcomment "Default settings for advanced configuration options are used"
158a116f6d5SMichal Simek	depends on !ADVANCED_OPTIONS
159a116f6d5SMichal Simek
160a116f6d5SMichal Simekconfig HIGHMEM_START_BOOL
161a116f6d5SMichal Simek	bool "Set high memory pool address"
162a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS && HIGHMEM
163a116f6d5SMichal Simek	help
164a116f6d5SMichal Simek	  This option allows you to set the base address of the kernel virtual
165a116f6d5SMichal Simek	  area used to map high memory pages.  This can be useful in
166a116f6d5SMichal Simek	  optimizing the layout of kernel virtual memory.
167a116f6d5SMichal Simek
168a116f6d5SMichal Simek	  Say N here unless you know what you are doing.
169a116f6d5SMichal Simek
170a116f6d5SMichal Simekconfig HIGHMEM_START
171a116f6d5SMichal Simek	hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
172a116f6d5SMichal Simek	depends on MMU
173a116f6d5SMichal Simek	default "0xfe000000"
174a116f6d5SMichal Simek
175a116f6d5SMichal Simekconfig LOWMEM_SIZE_BOOL
176a116f6d5SMichal Simek	bool "Set maximum low memory"
177a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS
178a116f6d5SMichal Simek	help
179a116f6d5SMichal Simek	  This option allows you to set the maximum amount of memory which
180a116f6d5SMichal Simek	  will be used as "low memory", that is, memory which the kernel can
181a116f6d5SMichal Simek	  access directly, without having to set up a kernel virtual mapping.
182a116f6d5SMichal Simek	  This can be useful in optimizing the layout of kernel virtual
183a116f6d5SMichal Simek	  memory.
184a116f6d5SMichal Simek
185a116f6d5SMichal Simek	  Say N here unless you know what you are doing.
186a116f6d5SMichal Simek
187a116f6d5SMichal Simekconfig LOWMEM_SIZE
188a116f6d5SMichal Simek	hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
189a116f6d5SMichal Simek	depends on MMU
190a116f6d5SMichal Simek	default "0x30000000"
191a116f6d5SMichal Simek
192a116f6d5SMichal Simekconfig KERNEL_START_BOOL
193a116f6d5SMichal Simek	bool "Set custom kernel base address"
194a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS
195a116f6d5SMichal Simek	help
196a116f6d5SMichal Simek	  This option allows you to set the kernel virtual address at which
197a116f6d5SMichal Simek	  the kernel will map low memory (the kernel image will be linked at
198a116f6d5SMichal Simek	  this address).  This can be useful in optimizing the virtual memory
199a116f6d5SMichal Simek	  layout of the system.
200a116f6d5SMichal Simek
201a116f6d5SMichal Simek	  Say N here unless you know what you are doing.
202a116f6d5SMichal Simek
203a116f6d5SMichal Simekconfig KERNEL_START
204a116f6d5SMichal Simek	hex "Virtual address of kernel base" if KERNEL_START_BOOL
205a116f6d5SMichal Simek	default "0xc0000000" if MMU
206a116f6d5SMichal Simek	default KERNEL_BASE_ADDR if !MMU
207a116f6d5SMichal Simek
208a116f6d5SMichal Simekconfig TASK_SIZE_BOOL
209a116f6d5SMichal Simek	bool "Set custom user task size"
210a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS
211a116f6d5SMichal Simek	help
212a116f6d5SMichal Simek	  This option allows you to set the amount of virtual address space
213a116f6d5SMichal Simek	  allocated to user tasks.  This can be useful in optimizing the
214a116f6d5SMichal Simek	  virtual memory layout of the system.
215a116f6d5SMichal Simek
216a116f6d5SMichal Simek	  Say N here unless you know what you are doing.
217a116f6d5SMichal Simek
218a116f6d5SMichal Simekconfig TASK_SIZE
219a116f6d5SMichal Simek	hex "Size of user task space" if TASK_SIZE_BOOL
220a116f6d5SMichal Simek	depends on MMU
221a116f6d5SMichal Simek	default "0x80000000"
222a116f6d5SMichal Simek
223a116f6d5SMichal Simekconfig CONSISTENT_START_BOOL
224a116f6d5SMichal Simek	bool "Set custom consistent memory pool address"
225a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
226a116f6d5SMichal Simek	help
227a116f6d5SMichal Simek	  This option allows you to set the base virtual address
228a116f6d5SMichal Simek	  of the the consistent memory pool.  This pool of virtual
229a116f6d5SMichal Simek	  memory is used to make consistent memory allocations.
230a116f6d5SMichal Simek
231a116f6d5SMichal Simekconfig CONSISTENT_START
232a116f6d5SMichal Simek	hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
233a116f6d5SMichal Simek	depends on MMU
234a116f6d5SMichal Simek	default "0xff100000" if NOT_COHERENT_CACHE
235a116f6d5SMichal Simek
236a116f6d5SMichal Simekconfig CONSISTENT_SIZE_BOOL
237a116f6d5SMichal Simek	bool "Set custom consistent memory pool size"
238a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
239a116f6d5SMichal Simek	help
240a116f6d5SMichal Simek	  This option allows you to set the size of the the
241a116f6d5SMichal Simek	  consistent memory pool.  This pool of virtual memory
242a116f6d5SMichal Simek	  is used to make consistent memory allocations.
243a116f6d5SMichal Simek
244a116f6d5SMichal Simekconfig CONSISTENT_SIZE
245a116f6d5SMichal Simek	hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
246a116f6d5SMichal Simek	depends on MMU
247a116f6d5SMichal Simek	default "0x00200000" if NOT_COHERENT_CACHE
248a116f6d5SMichal Simek
249a116f6d5SMichal Simekendmenu
250a116f6d5SMichal Simek
251575ca288SMichal Simeksource "mm/Kconfig"
252575ca288SMichal Simek
253575ca288SMichal Simekmenu "Exectuable file formats"
254575ca288SMichal Simek
255575ca288SMichal Simeksource "fs/Kconfig.binfmt"
256575ca288SMichal Simek
257575ca288SMichal Simekendmenu
258575ca288SMichal Simek
259575ca288SMichal Simeksource "net/Kconfig"
260575ca288SMichal Simek
261575ca288SMichal Simeksource "drivers/Kconfig"
262575ca288SMichal Simek
263575ca288SMichal Simeksource "fs/Kconfig"
264575ca288SMichal Simek
265575ca288SMichal Simeksource "arch/microblaze/Kconfig.debug"
266575ca288SMichal Simek
267575ca288SMichal Simeksource "security/Kconfig"
268575ca288SMichal Simek
269575ca288SMichal Simeksource "crypto/Kconfig"
270575ca288SMichal Simek
271575ca288SMichal Simeksource "lib/Kconfig"
272