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 |
Yinghai Lu | 95f72d1 | 2010-07-12 14:36:09 +1000 | [diff] [blame] | 8 | select HAVE_MEMBLOCK |
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 |
Michal Simek | 2d5973c | 2010-08-03 11:45:08 +0200 | [diff] [blame] | 17 | select HAVE_ARCH_KGDB |
Michal Simek | ccfe27d | 2010-01-14 11:21:02 +0100 | [diff] [blame] | 18 | select HAVE_DMA_ATTRS |
| 19 | select HAVE_DMA_API_DEBUG |
John Williams | 3540ce8 | 2009-11-24 20:27:54 +1000 | [diff] [blame] | 20 | select TRACING_SUPPORT |
Stephen Rothwell | ae5bf63 | 2010-06-29 12:42:00 +1000 | [diff] [blame] | 21 | select OF |
| 22 | select OF_FLATTREE |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 23 | |
| 24 | config SWAP |
| 25 | def_bool n |
| 26 | |
| 27 | config RWSEM_GENERIC_SPINLOCK |
| 28 | def_bool y |
| 29 | |
| 30 | config RWSEM_XCHGADD_ALGORITHM |
| 31 | bool |
| 32 | |
| 33 | config ARCH_HAS_ILOG2_U32 |
| 34 | def_bool n |
| 35 | |
| 36 | config ARCH_HAS_ILOG2_U64 |
| 37 | def_bool n |
| 38 | |
| 39 | config GENERIC_FIND_NEXT_BIT |
| 40 | def_bool y |
| 41 | |
| 42 | config GENERIC_HWEIGHT |
| 43 | def_bool y |
| 44 | |
| 45 | config GENERIC_HARDIRQS |
| 46 | def_bool y |
| 47 | |
| 48 | config GENERIC_IRQ_PROBE |
| 49 | def_bool y |
| 50 | |
| 51 | config GENERIC_CALIBRATE_DELAY |
| 52 | def_bool y |
| 53 | |
| 54 | config GENERIC_TIME |
| 55 | def_bool y |
| 56 | |
| 57 | config GENERIC_TIME_VSYSCALL |
| 58 | def_bool n |
| 59 | |
| 60 | config GENERIC_CLOCKEVENTS |
| 61 | def_bool y |
| 62 | |
| 63 | config GENERIC_HARDIRQS_NO__DO_IRQ |
| 64 | def_bool y |
| 65 | |
Michal Simek | 6fa612b | 2009-05-11 15:49:12 +0200 | [diff] [blame] | 66 | config GENERIC_GPIO |
| 67 | def_bool y |
| 68 | |
Remis Lima Baima | 14f8738 | 2009-06-18 19:55:32 +0200 | [diff] [blame] | 69 | config GENERIC_CSUM |
| 70 | def_bool y |
| 71 | |
Michal Simek | 24b45a1 | 2009-11-10 15:57:01 +0100 | [diff] [blame] | 72 | config STACKTRACE_SUPPORT |
| 73 | def_bool y |
| 74 | |
Michal Simek | bf2d809 | 2009-12-10 12:07:02 +0100 | [diff] [blame] | 75 | config LOCKDEP_SUPPORT |
| 76 | def_bool y |
| 77 | |
Michal Simek | fb5a32d | 2009-11-16 09:09:47 +0100 | [diff] [blame] | 78 | config HAVE_LATENCYTOP_SUPPORT |
| 79 | def_bool y |
| 80 | |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 81 | source "init/Kconfig" |
| 82 | |
| 83 | source "kernel/Kconfig.freezer" |
| 84 | |
| 85 | source "arch/microblaze/platform/Kconfig.platform" |
| 86 | |
| 87 | menu "Processor type and features" |
| 88 | |
Michal Simek | 296e260 | 2010-01-12 11:05:49 +0100 | [diff] [blame] | 89 | source "kernel/time/Kconfig" |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 90 | |
| 91 | source "kernel/Kconfig.preempt" |
| 92 | |
| 93 | source "kernel/Kconfig.hz" |
| 94 | |
| 95 | config MMU |
Michal Simek | a116f6d | 2009-05-26 16:30:31 +0200 | [diff] [blame] | 96 | bool "MMU support" |
| 97 | default n |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 98 | |
| 99 | config NO_MMU |
| 100 | bool |
| 101 | depends on !MMU |
| 102 | default y |
| 103 | |
| 104 | comment "Boot options" |
| 105 | |
| 106 | config CMDLINE_BOOL |
| 107 | bool "Default bootloader kernel arguments" |
| 108 | |
| 109 | config CMDLINE |
| 110 | string "Default kernel command string" |
| 111 | depends on CMDLINE_BOOL |
| 112 | default "console=ttyUL0,115200" |
| 113 | help |
| 114 | On some architectures there is currently no way for the boot loader |
| 115 | to pass arguments to the kernel. For these architectures, you should |
| 116 | supply some command-line options at build time by entering them |
| 117 | here. |
| 118 | |
| 119 | config CMDLINE_FORCE |
| 120 | bool "Force default kernel command string" |
| 121 | depends on CMDLINE_BOOL |
| 122 | default n |
| 123 | help |
| 124 | Set this to have arguments from the default kernel command string |
| 125 | override those passed by the boot loader. |
| 126 | |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 127 | endmenu |
| 128 | |
Michal Simek | a116f6d | 2009-05-26 16:30:31 +0200 | [diff] [blame] | 129 | menu "Advanced setup" |
| 130 | |
| 131 | config ADVANCED_OPTIONS |
| 132 | bool "Prompt for advanced kernel configuration options" |
Michal Simek | a116f6d | 2009-05-26 16:30:31 +0200 | [diff] [blame] | 133 | help |
| 134 | This option will enable prompting for a variety of advanced kernel |
| 135 | configuration options. These options can cause the kernel to not |
| 136 | work if they are set incorrectly, but can be used to optimize certain |
| 137 | aspects of kernel memory management. |
| 138 | |
| 139 | Unless you know what you are doing, say N here. |
| 140 | |
| 141 | comment "Default settings for advanced configuration options are used" |
| 142 | depends on !ADVANCED_OPTIONS |
| 143 | |
Michal Simek | 3a0d7a4 | 2010-02-22 12:16:08 +0100 | [diff] [blame] | 144 | config XILINX_UNCACHED_SHADOW |
| 145 | bool "Are you using uncached shadow for RAM ?" |
| 146 | depends on ADVANCED_OPTIONS && !MMU |
| 147 | default n |
| 148 | help |
| 149 | This is needed to be able to allocate uncachable memory regions. |
| 150 | The feature requires the design to define the RAM memory controller |
| 151 | window to be twice as large as the actual physical memory. |
| 152 | |
Michal Simek | a116f6d | 2009-05-26 16:30:31 +0200 | [diff] [blame] | 153 | config HIGHMEM_START_BOOL |
| 154 | bool "Set high memory pool address" |
| 155 | depends on ADVANCED_OPTIONS && HIGHMEM |
| 156 | help |
| 157 | This option allows you to set the base address of the kernel virtual |
| 158 | area used to map high memory pages. This can be useful in |
| 159 | optimizing the layout of kernel virtual memory. |
| 160 | |
| 161 | Say N here unless you know what you are doing. |
| 162 | |
| 163 | config HIGHMEM_START |
| 164 | hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL |
| 165 | depends on MMU |
| 166 | default "0xfe000000" |
| 167 | |
| 168 | config LOWMEM_SIZE_BOOL |
| 169 | bool "Set maximum low memory" |
Michal Simek | b8a8405 | 2010-02-22 11:33:07 +0100 | [diff] [blame] | 170 | depends on ADVANCED_OPTIONS && MMU |
Michal Simek | a116f6d | 2009-05-26 16:30:31 +0200 | [diff] [blame] | 171 | help |
| 172 | This option allows you to set the maximum amount of memory which |
| 173 | will be used as "low memory", that is, memory which the kernel can |
| 174 | access directly, without having to set up a kernel virtual mapping. |
| 175 | This can be useful in optimizing the layout of kernel virtual |
| 176 | memory. |
| 177 | |
| 178 | Say N here unless you know what you are doing. |
| 179 | |
| 180 | config LOWMEM_SIZE |
| 181 | hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL |
Michal Simek | a116f6d | 2009-05-26 16:30:31 +0200 | [diff] [blame] | 182 | default "0x30000000" |
| 183 | |
| 184 | config KERNEL_START_BOOL |
| 185 | bool "Set custom kernel base address" |
| 186 | depends on ADVANCED_OPTIONS |
| 187 | help |
| 188 | This option allows you to set the kernel virtual address at which |
| 189 | the kernel will map low memory (the kernel image will be linked at |
| 190 | this address). This can be useful in optimizing the virtual memory |
| 191 | layout of the system. |
| 192 | |
| 193 | Say N here unless you know what you are doing. |
| 194 | |
| 195 | config KERNEL_START |
| 196 | hex "Virtual address of kernel base" if KERNEL_START_BOOL |
| 197 | default "0xc0000000" if MMU |
| 198 | default KERNEL_BASE_ADDR if !MMU |
| 199 | |
| 200 | config TASK_SIZE_BOOL |
| 201 | bool "Set custom user task size" |
Michal Simek | b8a8405 | 2010-02-22 11:33:07 +0100 | [diff] [blame] | 202 | depends on ADVANCED_OPTIONS && MMU |
Michal Simek | a116f6d | 2009-05-26 16:30:31 +0200 | [diff] [blame] | 203 | help |
| 204 | This option allows you to set the amount of virtual address space |
| 205 | allocated to user tasks. This can be useful in optimizing the |
| 206 | virtual memory layout of the system. |
| 207 | |
| 208 | Say N here unless you know what you are doing. |
| 209 | |
| 210 | config TASK_SIZE |
| 211 | hex "Size of user task space" if TASK_SIZE_BOOL |
Michal Simek | a116f6d | 2009-05-26 16:30:31 +0200 | [diff] [blame] | 212 | default "0x80000000" |
| 213 | |
Steven J. Magnani | ba9c4f8 | 2010-05-13 10:48:27 -0500 | [diff] [blame] | 214 | choice |
| 215 | prompt "Page size" |
| 216 | default MICROBLAZE_4K_PAGES |
| 217 | depends on ADVANCED_OPTIONS && !MMU |
| 218 | help |
| 219 | Select the kernel logical page size. Increasing the page size |
| 220 | will reduce software overhead at each page boundary, allow |
| 221 | hardware prefetch mechanisms to be more effective, and allow |
| 222 | larger dma transfers increasing IO efficiency and reducing |
| 223 | overhead. However the utilization of memory will increase. |
| 224 | For example, each cached file will using a multiple of the |
| 225 | page size to hold its contents and the difference between the |
| 226 | end of file and the end of page is wasted. |
| 227 | |
| 228 | If unsure, choose 4K_PAGES. |
| 229 | |
| 230 | config MICROBLAZE_4K_PAGES |
| 231 | bool "4k page size" |
| 232 | |
| 233 | config MICROBLAZE_8K_PAGES |
| 234 | bool "8k page size" |
| 235 | |
| 236 | config MICROBLAZE_16K_PAGES |
| 237 | bool "16k page size" |
| 238 | |
| 239 | config MICROBLAZE_32K_PAGES |
| 240 | bool "32k page size" |
| 241 | |
| 242 | endchoice |
| 243 | |
Michal Simek | a116f6d | 2009-05-26 16:30:31 +0200 | [diff] [blame] | 244 | endmenu |
| 245 | |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 246 | source "mm/Kconfig" |
| 247 | |
| 248 | menu "Exectuable file formats" |
| 249 | |
| 250 | source "fs/Kconfig.binfmt" |
| 251 | |
| 252 | endmenu |
| 253 | |
Michal Simek | a6475c1 | 2010-01-18 15:27:10 +0100 | [diff] [blame] | 254 | menu "Bus Options" |
| 255 | |
| 256 | config PCI |
| 257 | bool "PCI support" |
| 258 | |
| 259 | config PCI_DOMAINS |
| 260 | def_bool PCI |
| 261 | |
| 262 | config PCI_SYSCALL |
| 263 | def_bool PCI |
| 264 | |
Michal Simek | 733cc21 | 2010-01-18 15:27:11 +0100 | [diff] [blame] | 265 | config PCI_XILINX |
| 266 | bool "Xilinx PCI host bridge support" |
| 267 | depends on PCI |
| 268 | |
Michal Simek | a6475c1 | 2010-01-18 15:27:10 +0100 | [diff] [blame] | 269 | source "drivers/pci/Kconfig" |
| 270 | |
| 271 | endmenu |
| 272 | |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 273 | source "net/Kconfig" |
| 274 | |
| 275 | source "drivers/Kconfig" |
| 276 | |
| 277 | source "fs/Kconfig" |
| 278 | |
| 279 | source "arch/microblaze/Kconfig.debug" |
| 280 | |
| 281 | source "security/Kconfig" |
| 282 | |
| 283 | source "crypto/Kconfig" |
| 284 | |
| 285 | source "lib/Kconfig" |