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