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