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