xref: /openbmc/linux/arch/microblaze/Kconfig (revision 2fd7c761)
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
10afc26cb3SJulie Zhu	select USB_ARCH_HAS_EHCI
116fa612b5SMichal Simek	select ARCH_WANT_OPTIONAL_GPIOLIB
12575ca288SMichal Simek
13575ca288SMichal Simekconfig SWAP
14575ca288SMichal Simek	def_bool n
15575ca288SMichal Simek
16575ca288SMichal Simekconfig RWSEM_GENERIC_SPINLOCK
17575ca288SMichal Simek	def_bool y
18575ca288SMichal Simek
19575ca288SMichal Simekconfig RWSEM_XCHGADD_ALGORITHM
20575ca288SMichal Simek	bool
21575ca288SMichal Simek
22575ca288SMichal Simekconfig ARCH_HAS_ILOG2_U32
23575ca288SMichal Simek	def_bool n
24575ca288SMichal Simek
25575ca288SMichal Simekconfig ARCH_HAS_ILOG2_U64
26575ca288SMichal Simek	def_bool n
27575ca288SMichal Simek
28575ca288SMichal Simekconfig GENERIC_FIND_NEXT_BIT
29575ca288SMichal Simek	def_bool y
30575ca288SMichal Simek
31575ca288SMichal Simekconfig GENERIC_HWEIGHT
32575ca288SMichal Simek	def_bool y
33575ca288SMichal Simek
34575ca288SMichal Simekconfig GENERIC_HARDIRQS
35575ca288SMichal Simek	def_bool y
36575ca288SMichal Simek
37575ca288SMichal Simekconfig GENERIC_IRQ_PROBE
38575ca288SMichal Simek	def_bool y
39575ca288SMichal Simek
40575ca288SMichal Simekconfig GENERIC_CALIBRATE_DELAY
41575ca288SMichal Simek	def_bool y
42575ca288SMichal Simek
43575ca288SMichal Simekconfig GENERIC_TIME
44575ca288SMichal Simek	def_bool y
45575ca288SMichal Simek
46575ca288SMichal Simekconfig GENERIC_TIME_VSYSCALL
47575ca288SMichal Simek	def_bool n
48575ca288SMichal Simek
49575ca288SMichal Simekconfig GENERIC_CLOCKEVENTS
50575ca288SMichal Simek	def_bool y
51575ca288SMichal Simek
52575ca288SMichal Simekconfig GENERIC_HARDIRQS_NO__DO_IRQ
53575ca288SMichal Simek	def_bool y
54575ca288SMichal Simek
556fa612b5SMichal Simekconfig GENERIC_GPIO
566fa612b5SMichal Simek	def_bool y
576fa612b5SMichal Simek
5814f87389SRemis Lima Baimaconfig GENERIC_CSUM
5914f87389SRemis Lima Baima	def_bool y
6014f87389SRemis Lima Baima
6124b45a12SMichal Simekconfig STACKTRACE_SUPPORT
6224b45a12SMichal Simek	def_bool y
6324b45a12SMichal Simek
64bf2d8096SMichal Simekconfig LOCKDEP_SUPPORT
65bf2d8096SMichal Simek	def_bool y
66bf2d8096SMichal Simek
67fb5a32dcSMichal Simekconfig HAVE_LATENCYTOP_SUPPORT
68fb5a32dcSMichal Simek	def_bool y
69fb5a32dcSMichal Simek
70575ca288SMichal Simekconfig PCI
71575ca288SMichal Simek	def_bool n
72575ca288SMichal Simek
73575ca288SMichal Simekconfig NO_DMA
74f2224ff0SArnd Bergmann	def_bool y
75575ca288SMichal Simek
76575ca288SMichal Simeksource "init/Kconfig"
77575ca288SMichal Simek
78575ca288SMichal Simeksource "kernel/Kconfig.freezer"
79575ca288SMichal Simek
80575ca288SMichal Simeksource "arch/microblaze/platform/Kconfig.platform"
81575ca288SMichal Simek
82575ca288SMichal Simekmenu "Processor type and features"
83575ca288SMichal Simek
84575ca288SMichal Simeksource kernel/time/Kconfig
85575ca288SMichal Simek
86575ca288SMichal Simeksource "kernel/Kconfig.preempt"
87575ca288SMichal Simek
88575ca288SMichal Simeksource "kernel/Kconfig.hz"
89575ca288SMichal Simek
90575ca288SMichal Simekconfig MMU
91a116f6d5SMichal Simek	bool "MMU support"
92a116f6d5SMichal Simek	default n
93575ca288SMichal Simek
94575ca288SMichal Simekconfig NO_MMU
95575ca288SMichal Simek	bool
96575ca288SMichal Simek	depends on !MMU
97575ca288SMichal Simek	default y
98575ca288SMichal Simek
99575ca288SMichal Simekcomment "Boot options"
100575ca288SMichal Simek
101575ca288SMichal Simekconfig CMDLINE_BOOL
102575ca288SMichal Simek	bool "Default bootloader kernel arguments"
103575ca288SMichal Simek
104575ca288SMichal Simekconfig CMDLINE
105575ca288SMichal Simek	string "Default kernel command string"
106575ca288SMichal Simek	depends on CMDLINE_BOOL
107575ca288SMichal Simek	default "console=ttyUL0,115200"
108575ca288SMichal Simek	help
109575ca288SMichal Simek	  On some architectures there is currently no way for the boot loader
110575ca288SMichal Simek	  to pass arguments to the kernel. For these architectures, you should
111575ca288SMichal Simek	  supply some command-line options at build time by entering them
112575ca288SMichal Simek	  here.
113575ca288SMichal Simek
114575ca288SMichal Simekconfig CMDLINE_FORCE
115575ca288SMichal Simek	bool "Force default kernel command string"
116575ca288SMichal Simek	depends on CMDLINE_BOOL
117575ca288SMichal Simek	default n
118575ca288SMichal Simek	help
119575ca288SMichal Simek	  Set this to have arguments from the default kernel command string
120575ca288SMichal Simek	  override those passed by the boot loader.
121575ca288SMichal Simek
122575ca288SMichal Simekconfig OF
123575ca288SMichal Simek	def_bool y
124575ca288SMichal Simek
125575ca288SMichal Simekconfig PROC_DEVICETREE
126575ca288SMichal Simek	bool "Support for device tree in /proc"
127575ca288SMichal Simek	depends on PROC_FS
128575ca288SMichal Simek	help
129575ca288SMichal Simek	  This option adds a device-tree directory under /proc which contains
130575ca288SMichal Simek	  an image of the device tree that the kernel copies from Open
131575ca288SMichal Simek	  Firmware or other boot firmware. If unsure, say Y here.
132575ca288SMichal Simek
133575ca288SMichal Simekendmenu
134575ca288SMichal Simek
135a116f6d5SMichal Simekmenu "Advanced setup"
136a116f6d5SMichal Simek
137a116f6d5SMichal Simekconfig ADVANCED_OPTIONS
138a116f6d5SMichal Simek	bool "Prompt for advanced kernel configuration options"
139a116f6d5SMichal Simek	depends on MMU
140a116f6d5SMichal Simek	help
141a116f6d5SMichal Simek	  This option will enable prompting for a variety of advanced kernel
142a116f6d5SMichal Simek	  configuration options.  These options can cause the kernel to not
143a116f6d5SMichal Simek	  work if they are set incorrectly, but can be used to optimize certain
144a116f6d5SMichal Simek	  aspects of kernel memory management.
145a116f6d5SMichal Simek
146a116f6d5SMichal Simek	  Unless you know what you are doing, say N here.
147a116f6d5SMichal Simek
148a116f6d5SMichal Simekcomment "Default settings for advanced configuration options are used"
149a116f6d5SMichal Simek	depends on !ADVANCED_OPTIONS
150a116f6d5SMichal Simek
151a116f6d5SMichal Simekconfig HIGHMEM_START_BOOL
152a116f6d5SMichal Simek	bool "Set high memory pool address"
153a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS && HIGHMEM
154a116f6d5SMichal Simek	help
155a116f6d5SMichal Simek	  This option allows you to set the base address of the kernel virtual
156a116f6d5SMichal Simek	  area used to map high memory pages.  This can be useful in
157a116f6d5SMichal Simek	  optimizing the layout of kernel virtual memory.
158a116f6d5SMichal Simek
159a116f6d5SMichal Simek	  Say N here unless you know what you are doing.
160a116f6d5SMichal Simek
161a116f6d5SMichal Simekconfig HIGHMEM_START
162a116f6d5SMichal Simek	hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
163a116f6d5SMichal Simek	depends on MMU
164a116f6d5SMichal Simek	default "0xfe000000"
165a116f6d5SMichal Simek
166a116f6d5SMichal Simekconfig LOWMEM_SIZE_BOOL
167a116f6d5SMichal Simek	bool "Set maximum low memory"
168a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS
169a116f6d5SMichal Simek	help
170a116f6d5SMichal Simek	  This option allows you to set the maximum amount of memory which
171a116f6d5SMichal Simek	  will be used as "low memory", that is, memory which the kernel can
172a116f6d5SMichal Simek	  access directly, without having to set up a kernel virtual mapping.
173a116f6d5SMichal Simek	  This can be useful in optimizing the layout of kernel virtual
174a116f6d5SMichal Simek	  memory.
175a116f6d5SMichal Simek
176a116f6d5SMichal Simek	  Say N here unless you know what you are doing.
177a116f6d5SMichal Simek
178a116f6d5SMichal Simekconfig LOWMEM_SIZE
179a116f6d5SMichal Simek	hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
180a116f6d5SMichal Simek	depends on MMU
181a116f6d5SMichal Simek	default "0x30000000"
182a116f6d5SMichal Simek
183a116f6d5SMichal Simekconfig KERNEL_START_BOOL
184a116f6d5SMichal Simek	bool "Set custom kernel base address"
185a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS
186a116f6d5SMichal Simek	help
187a116f6d5SMichal Simek	  This option allows you to set the kernel virtual address at which
188a116f6d5SMichal Simek	  the kernel will map low memory (the kernel image will be linked at
189a116f6d5SMichal Simek	  this address).  This can be useful in optimizing the virtual memory
190a116f6d5SMichal Simek	  layout of the system.
191a116f6d5SMichal Simek
192a116f6d5SMichal Simek	  Say N here unless you know what you are doing.
193a116f6d5SMichal Simek
194a116f6d5SMichal Simekconfig KERNEL_START
195a116f6d5SMichal Simek	hex "Virtual address of kernel base" if KERNEL_START_BOOL
196a116f6d5SMichal Simek	default "0xc0000000" if MMU
197a116f6d5SMichal Simek	default KERNEL_BASE_ADDR if !MMU
198a116f6d5SMichal Simek
199a116f6d5SMichal Simekconfig TASK_SIZE_BOOL
200a116f6d5SMichal Simek	bool "Set custom user task size"
201a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS
202a116f6d5SMichal Simek	help
203a116f6d5SMichal Simek	  This option allows you to set the amount of virtual address space
204a116f6d5SMichal Simek	  allocated to user tasks.  This can be useful in optimizing the
205a116f6d5SMichal Simek	  virtual memory layout of the system.
206a116f6d5SMichal Simek
207a116f6d5SMichal Simek	  Say N here unless you know what you are doing.
208a116f6d5SMichal Simek
209a116f6d5SMichal Simekconfig TASK_SIZE
210a116f6d5SMichal Simek	hex "Size of user task space" if TASK_SIZE_BOOL
211a116f6d5SMichal Simek	depends on MMU
212a116f6d5SMichal Simek	default "0x80000000"
213a116f6d5SMichal Simek
214a116f6d5SMichal Simekconfig CONSISTENT_START_BOOL
215a116f6d5SMichal Simek	bool "Set custom consistent memory pool address"
216a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
217a116f6d5SMichal Simek	help
218a116f6d5SMichal Simek	  This option allows you to set the base virtual address
219a116f6d5SMichal Simek	  of the the consistent memory pool.  This pool of virtual
220a116f6d5SMichal Simek	  memory is used to make consistent memory allocations.
221a116f6d5SMichal Simek
222a116f6d5SMichal Simekconfig CONSISTENT_START
223a116f6d5SMichal Simek	hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
224a116f6d5SMichal Simek	depends on MMU
225a116f6d5SMichal Simek	default "0xff100000" if NOT_COHERENT_CACHE
226a116f6d5SMichal Simek
227a116f6d5SMichal Simekconfig CONSISTENT_SIZE_BOOL
228a116f6d5SMichal Simek	bool "Set custom consistent memory pool size"
229a116f6d5SMichal Simek	depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
230a116f6d5SMichal Simek	help
231a116f6d5SMichal Simek	  This option allows you to set the size of the the
232a116f6d5SMichal Simek	  consistent memory pool.  This pool of virtual memory
233a116f6d5SMichal Simek	  is used to make consistent memory allocations.
234a116f6d5SMichal Simek
235a116f6d5SMichal Simekconfig CONSISTENT_SIZE
236a116f6d5SMichal Simek	hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
237a116f6d5SMichal Simek	depends on MMU
238a116f6d5SMichal Simek	default "0x00200000" if NOT_COHERENT_CACHE
239a116f6d5SMichal Simek
240a116f6d5SMichal Simekendmenu
241a116f6d5SMichal Simek
242575ca288SMichal Simeksource "mm/Kconfig"
243575ca288SMichal Simek
244575ca288SMichal Simekmenu "Exectuable file formats"
245575ca288SMichal Simek
246575ca288SMichal Simeksource "fs/Kconfig.binfmt"
247575ca288SMichal Simek
248575ca288SMichal Simekendmenu
249575ca288SMichal Simek
250575ca288SMichal Simeksource "net/Kconfig"
251575ca288SMichal Simek
252575ca288SMichal Simeksource "drivers/Kconfig"
253575ca288SMichal Simek
254575ca288SMichal Simeksource "fs/Kconfig"
255575ca288SMichal Simek
256575ca288SMichal Simeksource "arch/microblaze/Kconfig.debug"
257575ca288SMichal Simek
258575ca288SMichal Simeksource "security/Kconfig"
259575ca288SMichal Simek
260575ca288SMichal Simeksource "crypto/Kconfig"
261575ca288SMichal Simek
262575ca288SMichal Simeksource "lib/Kconfig"
263