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