Blame view

arch/microblaze/Kconfig 7.33 KB
575ca2883   Michal Simek   microblaze_v8: Kc...
1
2
  config MICROBLAZE
  	def_bool y
957e3facd   Riku Voipio   gcov: enable GCOV...
3
  	select ARCH_HAS_GCOV_PROFILE_ALL
355f65a39   Mark Salter   microblaze: selec...
4
  	select ARCH_MIGHT_HAVE_PC_PARPORT
c1d7e01d7   Will Deacon   ipc: use Kconfig ...
5
  	select ARCH_WANT_IPC_PARSE_VERSION
252133887   Michal Simek   microblaze: Sort ...
6
7
8
9
10
11
12
13
  	select BUILDTIME_EXTABLE_SORT
  	select CLKSRC_OF
  	select CLONE_BACKWARDS3
  	select COMMON_CLK
  	select GENERIC_ATOMIC64
  	select GENERIC_CLOCKEVENTS
  	select GENERIC_CPU_DEVICES
  	select GENERIC_IDLE_POLL_SETUP
b6e31629e   Thomas Gleixner   microblaze: Use g...
14
  	select GENERIC_IRQ_PROBE
9d61c18b2   Thomas Gleixner   microblaze: Use g...
15
  	select GENERIC_IRQ_SHOW
1b34d1607   Michael S. Tsirkin   microblaze: switc...
16
  	select GENERIC_PCI_IOMAP
839396ab8   Michal Simek   microblaze: timer...
17
  	select GENERIC_SCHED_CLOCK
7b13277b6   George Spelvin   microblaze: Add <...
18
  	select HAVE_ARCH_HASH
252133887   Michal Simek   microblaze: Sort ...
19
20
21
  	select HAVE_ARCH_KGDB
  	select HAVE_DEBUG_KMEMLEAK
  	select HAVE_DMA_API_DEBUG
252133887   Michal Simek   microblaze: Sort ...
22
23
24
  	select HAVE_DYNAMIC_FTRACE
  	select HAVE_FTRACE_MCOUNT_RECORD
  	select HAVE_FUNCTION_GRAPH_TRACER
252133887   Michal Simek   microblaze: Sort ...
25
26
27
28
29
  	select HAVE_FUNCTION_TRACER
  	select HAVE_MEMBLOCK
  	select HAVE_MEMBLOCK_NODE_MAP
  	select HAVE_OPROFILE
  	select IRQ_DOMAIN
786d35d45   David Howells   Make most arch as...
30
  	select MODULES_USE_ELF_RELA
252133887   Michal Simek   microblaze: Sort ...
31
32
33
34
  	select OF
  	select OF_EARLY_FLATTREE
  	select TRACING_SUPPORT
  	select VIRT_TO_BUS
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
35
  	select CPU_NO_EFFICIENT_FFS
575ca2883   Michal Simek   microblaze_v8: Kc...
36
37
38
39
40
41
  
  config SWAP
  	def_bool n
  
  config RWSEM_GENERIC_SPINLOCK
  	def_bool y
4e2e4124b   Michal Simek   microblaze: mm: U...
42
43
  config ZONE_DMA
  	def_bool y
575ca2883   Michal Simek   microblaze_v8: Kc...
44
45
46
47
48
49
50
51
  config RWSEM_XCHGADD_ALGORITHM
  	bool
  
  config ARCH_HAS_ILOG2_U32
  	def_bool n
  
  config ARCH_HAS_ILOG2_U64
  	def_bool n
575ca2883   Michal Simek   microblaze_v8: Kc...
52
53
  config GENERIC_HWEIGHT
  	def_bool y
575ca2883   Michal Simek   microblaze_v8: Kc...
54
55
  config GENERIC_CALIBRATE_DELAY
  	def_bool y
14f873897   Remis Lima Baima   microblaze: use t...
56
57
  config GENERIC_CSUM
  	def_bool y
24b45a12c   Michal Simek   microblaze: Stack...
58
59
  config STACKTRACE_SUPPORT
  	def_bool y
bf2d80966   Michal Simek   microblaze: Lockd...
60
61
  config LOCKDEP_SUPPORT
  	def_bool y
575ca2883   Michal Simek   microblaze_v8: Kc...
62
63
64
  source "init/Kconfig"
  
  source "kernel/Kconfig.freezer"
c24cf712a   Michal Simek   microblaze: Remov...
65
  source "arch/microblaze/Kconfig.platform"
575ca2883   Michal Simek   microblaze_v8: Kc...
66
67
  
  menu "Processor type and features"
575ca2883   Michal Simek   microblaze_v8: Kc...
68
69
70
71
72
  source "kernel/Kconfig.preempt"
  
  source "kernel/Kconfig.hz"
  
  config MMU
a116f6d5d   Michal Simek   microblaze_mmu_v2...
73
74
  	bool "MMU support"
  	default n
575ca2883   Michal Simek   microblaze_v8: Kc...
75

575ca2883   Michal Simek   microblaze_v8: Kc...
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
  comment "Boot options"
  
  config CMDLINE_BOOL
  	bool "Default bootloader kernel arguments"
  
  config CMDLINE
  	string "Default kernel command string"
  	depends on CMDLINE_BOOL
  	default "console=ttyUL0,115200"
  	help
  	  On some architectures there is currently no way for the boot loader
  	  to pass arguments to the kernel. For these architectures, you should
  	  supply some command-line options at build time by entering them
  	  here.
  
  config CMDLINE_FORCE
  	bool "Force default kernel command string"
  	depends on CMDLINE_BOOL
  	default n
  	help
  	  Set this to have arguments from the default kernel command string
  	  override those passed by the boot loader.
68c6ac336   Michal Simek   microblaze: Add s...
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
  config SECCOMP
  	bool "Enable seccomp to safely compute untrusted bytecode"
  	depends on PROC_FS
  	default y
  	help
  	  This kernel feature is useful for number crunching applications
  	  that may need to compute untrusted bytecode during their
  	  execution. By using pipes or other transports made available to
  	  the process as file descriptors supporting the read/write
  	  syscalls, it's possible to isolate those applications in
  	  their own address space using seccomp. Once seccomp is
  	  enabled via /proc/<pid>/seccomp, it cannot be disabled
  	  and the task is only allowed to execute a few safe syscalls
  	  defined by each seccomp mode.
  
  	  If unsure, say Y. Only embedded should say N here.
575ca2883   Michal Simek   microblaze_v8: Kc...
114
  endmenu
b408e2c20   Michal Simek   microblaze: Renam...
115
  menu "Kernel features"
a116f6d5d   Michal Simek   microblaze_mmu_v2...
116

4cbbbb43d   Michal Simek   microblaze: Fix m...
117
118
119
  config NR_CPUS
  	int
  	default "1"
a116f6d5d   Michal Simek   microblaze_mmu_v2...
120
121
  config ADVANCED_OPTIONS
  	bool "Prompt for advanced kernel configuration options"
a116f6d5d   Michal Simek   microblaze_mmu_v2...
122
123
124
125
126
127
128
129
130
131
  	help
  	  This option will enable prompting for a variety of advanced kernel
  	  configuration options.  These options can cause the kernel to not
  	  work if they are set incorrectly, but can be used to optimize certain
  	  aspects of kernel memory management.
  
  	  Unless you know what you are doing, say N here.
  
  comment "Default settings for advanced configuration options are used"
  	depends on !ADVANCED_OPTIONS
3a0d7a4dd   Michal Simek   microblaze: Add c...
132
133
134
135
136
137
138
139
  config XILINX_UNCACHED_SHADOW
  	bool "Are you using uncached shadow for RAM ?"
  	depends on ADVANCED_OPTIONS && !MMU
  	default n
  	help
  	  This is needed to be able to allocate uncachable memory regions.
  	  The feature requires the design to define the RAM memory controller
  	  window to be twice as large as the actual physical memory.
2f2f371f8   Michal Simek   microblaze: Highm...
140
141
  config HIGHMEM
  	bool "High memory support"
a116f6d5d   Michal Simek   microblaze_mmu_v2...
142
  	depends on MMU
a116f6d5d   Michal Simek   microblaze_mmu_v2...
143
  	help
2f2f371f8   Michal Simek   microblaze: Highm...
144
145
146
147
148
149
  	  The address space of Microblaze processors is only 4 Gigabytes large
  	  and it has to accommodate user address space, kernel address
  	  space as well as some memory mapped IO. That means that, if you
  	  have a large amount of physical memory and/or IO, not all of the
  	  memory can be "permanently mapped" by the kernel. The physical
  	  memory that is not permanently mapped is called "high memory".
a116f6d5d   Michal Simek   microblaze_mmu_v2...
150

2f2f371f8   Michal Simek   microblaze: Highm...
151
  	  If unsure, say n.
a116f6d5d   Michal Simek   microblaze_mmu_v2...
152
153
154
  
  config LOWMEM_SIZE_BOOL
  	bool "Set maximum low memory"
b8a84059b   Michal Simek   microblaze: Remov...
155
  	depends on ADVANCED_OPTIONS && MMU
a116f6d5d   Michal Simek   microblaze_mmu_v2...
156
157
158
159
160
161
162
163
164
165
166
  	help
  	  This option allows you to set the maximum amount of memory which
  	  will be used as "low memory", that is, memory which the kernel can
  	  access directly, without having to set up a kernel virtual mapping.
  	  This can be useful in optimizing the layout of kernel virtual
  	  memory.
  
  	  Say N here unless you know what you are doing.
  
  config LOWMEM_SIZE
  	hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
a116f6d5d   Michal Simek   microblaze_mmu_v2...
167
  	default "0x30000000"
0b9b0200b   Michal Simek   microblaze: Do no...
168
169
170
171
172
173
174
175
176
177
  config MANUAL_RESET_VECTOR
  	hex "Microblaze reset vector address setup"
  	default "0x0"
  	help
  	  Set this option to have the kernel override the CPU Reset vector.
  	  If zero, no change will be made to the MicroBlaze reset vector at
  	  address 0x0.
  	  If non-zero, a jump instruction to this address, will be written
  	  to the reset vector at address 0x0.
  	  If you are unsure, set it to default value 0x0.
a116f6d5d   Michal Simek   microblaze_mmu_v2...
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
  config KERNEL_START_BOOL
  	bool "Set custom kernel base address"
  	depends on ADVANCED_OPTIONS
  	help
  	  This option allows you to set the kernel virtual address at which
  	  the kernel will map low memory (the kernel image will be linked at
  	  this address).  This can be useful in optimizing the virtual memory
  	  layout of the system.
  
  	  Say N here unless you know what you are doing.
  
  config KERNEL_START
  	hex "Virtual address of kernel base" if KERNEL_START_BOOL
  	default "0xc0000000" if MMU
  	default KERNEL_BASE_ADDR if !MMU
  
  config TASK_SIZE_BOOL
  	bool "Set custom user task size"
b8a84059b   Michal Simek   microblaze: Remov...
196
  	depends on ADVANCED_OPTIONS && MMU
a116f6d5d   Michal Simek   microblaze_mmu_v2...
197
198
199
200
201
202
203
204
205
  	help
  	  This option allows you to set the amount of virtual address space
  	  allocated to user tasks.  This can be useful in optimizing the
  	  virtual memory layout of the system.
  
  	  Say N here unless you know what you are doing.
  
  config TASK_SIZE
  	hex "Size of user task space" if TASK_SIZE_BOOL
a116f6d5d   Michal Simek   microblaze_mmu_v2...
206
  	default "0x80000000"
ba9c4f88d   Steven J. Magnani   microblaze: Allow...
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
  choice
  	prompt "Page size"
  	default MICROBLAZE_4K_PAGES
  	depends on ADVANCED_OPTIONS && !MMU
  	help
  	  Select the kernel logical page size. Increasing the page size
  	  will reduce software overhead at each page boundary, allow
  	  hardware prefetch mechanisms to be more effective, and allow
  	  larger dma transfers increasing IO efficiency and reducing
  	  overhead. However the utilization of memory will increase.
  	  For example, each cached file will using a multiple of the
  	  page size to hold its contents and the difference between the
  	  end of file and the end of page is wasted.
  
  	  If unsure, choose 4K_PAGES.
  
  config MICROBLAZE_4K_PAGES
  	bool "4k page size"
ba9c4f88d   Steven J. Magnani   microblaze: Allow...
225
226
  config MICROBLAZE_16K_PAGES
  	bool "16k page size"
6e80cff54   Michal Simek   microblaze: Suppo...
227
228
  config MICROBLAZE_64K_PAGES
  	bool "64k page size"
ba9c4f88d   Steven J. Magnani   microblaze: Allow...
229
230
  
  endchoice
575ca2883   Michal Simek   microblaze_v8: Kc...
231
  source "mm/Kconfig"
7acdc1cf7   Michal Simek   microblaze: Add m...
232
  endmenu
910672dee   Tobias Klauser   microblaze: Fix t...
233
  menu "Executable file formats"
575ca2883   Michal Simek   microblaze_v8: Kc...
234
235
236
237
  
  source "fs/Kconfig.binfmt"
  
  endmenu
a6475c132   Michal Simek   microblaze: Enabl...
238
239
240
241
242
243
244
  menu "Bus Options"
  
  config PCI
  	bool "PCI support"
  
  config PCI_DOMAINS
  	def_bool PCI
01cf9d524   Bharat Kumar Gogada   microblaze/PCI: S...
245
246
  config PCI_DOMAINS_GENERIC
  	def_bool PCI_DOMAINS
a6475c132   Michal Simek   microblaze: Enabl...
247
248
  config PCI_SYSCALL
  	def_bool PCI
733cc2183   Michal Simek   microblaze: Add s...
249
250
251
  config PCI_XILINX
  	bool "Xilinx PCI host bridge support"
  	depends on PCI
a6475c132   Michal Simek   microblaze: Enabl...
252
253
254
  source "drivers/pci/Kconfig"
  
  endmenu
575ca2883   Michal Simek   microblaze_v8: Kc...
255
256
257
258
259
260
261
262
263
264
265
266
267
  source "net/Kconfig"
  
  source "drivers/Kconfig"
  
  source "fs/Kconfig"
  
  source "arch/microblaze/Kconfig.debug"
  
  source "security/Kconfig"
  
  source "crypto/Kconfig"
  
  source "lib/Kconfig"