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