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