Kconfig 5.8 KB
Newer Older
M
Michal Simek 已提交
1 2 3 4 5 6 7 8
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.

mainmenu "Linux/Microblaze Kernel Configuration"

config MICROBLAZE
	def_bool y
	select HAVE_LMB
9
	select HAVE_FUNCTION_TRACER
10
	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
11
	select HAVE_FUNCTION_GRAPH_TRACER
12 13
	select HAVE_DYNAMIC_FTRACE
	select HAVE_FTRACE_MCOUNT_RECORD
14
	select USB_ARCH_HAS_EHCI
15
	select ARCH_WANT_OPTIONAL_GPIOLIB
16
	select HAVE_OPROFILE
M
Michal Simek 已提交
17 18
	select HAVE_DMA_ATTRS
	select HAVE_DMA_API_DEBUG
19
	select TRACING_SUPPORT
M
Michal Simek 已提交
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62

config SWAP
	def_bool n

config RWSEM_GENERIC_SPINLOCK
	def_bool y

config RWSEM_XCHGADD_ALGORITHM
	bool

config ARCH_HAS_ILOG2_U32
	def_bool n

config ARCH_HAS_ILOG2_U64
	def_bool n

config GENERIC_FIND_NEXT_BIT
	def_bool y

config GENERIC_HWEIGHT
	def_bool y

config GENERIC_HARDIRQS
	def_bool y

config GENERIC_IRQ_PROBE
	def_bool y

config GENERIC_CALIBRATE_DELAY
	def_bool y

config GENERIC_TIME
	def_bool y

config GENERIC_TIME_VSYSCALL
	def_bool n

config GENERIC_CLOCKEVENTS
	def_bool y

config GENERIC_HARDIRQS_NO__DO_IRQ
	def_bool y

63 64 65
config GENERIC_GPIO
	def_bool y

66 67 68
config GENERIC_CSUM
	def_bool y

M
Michal Simek 已提交
69 70 71
config STACKTRACE_SUPPORT
	def_bool y

M
Michal Simek 已提交
72 73 74
config LOCKDEP_SUPPORT
	def_bool y

75 76 77
config HAVE_LATENCYTOP_SUPPORT
	def_bool y

M
Michal Simek 已提交
78 79 80
config DTC
	def_bool y

M
Michal Simek 已提交
81 82 83 84 85 86 87 88
source "init/Kconfig"

source "kernel/Kconfig.freezer"

source "arch/microblaze/platform/Kconfig.platform"

menu "Processor type and features"

89
source "kernel/time/Kconfig"
M
Michal Simek 已提交
90 91 92 93 94 95

source "kernel/Kconfig.preempt"

source "kernel/Kconfig.hz"

config MMU
M
Michal Simek 已提交
96 97
	bool "MMU support"
	default n
M
Michal Simek 已提交
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128

config NO_MMU
	bool
	depends on !MMU
	default y

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.

config OF
	def_bool y
129
	select OF_FLATTREE
M
Michal Simek 已提交
130 131 132 133 134 135 136 137 138 139 140

config PROC_DEVICETREE
	bool "Support for device tree in /proc"
	depends on PROC_FS
	help
	  This option adds a device-tree directory under /proc which contains
	  an image of the device tree that the kernel copies from Open
	  Firmware or other boot firmware. If unsure, say Y here.

endmenu

M
Michal Simek 已提交
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
menu "Advanced setup"

config ADVANCED_OPTIONS
	bool "Prompt for advanced kernel configuration options"
	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

M
Michal Simek 已提交
156 157 158 159 160 161 162 163 164
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.

M
Michal Simek 已提交
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
config HIGHMEM_START_BOOL
	bool "Set high memory pool address"
	depends on ADVANCED_OPTIONS && HIGHMEM
	help
	  This option allows you to set the base address of the kernel virtual
	  area used to map high memory pages.  This can be useful in
	  optimizing the layout of kernel virtual memory.

	  Say N here unless you know what you are doing.

config HIGHMEM_START
	hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
	depends on MMU
	default "0xfe000000"

config LOWMEM_SIZE_BOOL
	bool "Set maximum low memory"
182
	depends on ADVANCED_OPTIONS && MMU
M
Michal Simek 已提交
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
	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
	default "0x30000000"

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"
214
	depends on ADVANCED_OPTIONS && MMU
M
Michal Simek 已提交
215 216 217 218 219 220 221 222 223 224 225 226 227
	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
	default "0x80000000"

endmenu

M
Michal Simek 已提交
228 229 230 231 232 233 234 235
source "mm/Kconfig"

menu "Exectuable file formats"

source "fs/Kconfig.binfmt"

endmenu

236 237 238 239 240 241 242 243 244 245 246
menu "Bus Options"

config PCI
	bool "PCI support"

config PCI_DOMAINS
	def_bool PCI

config PCI_SYSCALL
	def_bool PCI

247 248 249 250
config PCI_XILINX
	bool "Xilinx PCI host bridge support"
	depends on PCI

251 252 253 254
source "drivers/pci/Kconfig"

endmenu

M
Michal Simek 已提交
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"