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 | |
| 82 | source "init/Kconfig" |
| 83 | |
| 84 | source "kernel/Kconfig.freezer" |
| 85 | |
| 86 | source "arch/microblaze/platform/Kconfig.platform" |
| 87 | |
| 88 | menu "Processor type and features" |
| 89 | |
| 90 | source kernel/time/Kconfig |
| 91 | |
| 92 | source "kernel/Kconfig.preempt" |
| 93 | |
| 94 | source "kernel/Kconfig.hz" |
| 95 | |
| 96 | config MMU |
Michal Simek | a116f6d | 2009-05-26 16:30:31 +0200 | [diff] [blame] | 97 | bool "MMU support" |
| 98 | default n |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 99 | |
| 100 | config NO_MMU |
| 101 | bool |
| 102 | depends on !MMU |
| 103 | default y |
| 104 | |
| 105 | comment "Boot options" |
| 106 | |
| 107 | config CMDLINE_BOOL |
| 108 | bool "Default bootloader kernel arguments" |
| 109 | |
| 110 | config 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 | |
| 120 | config 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 | |
| 128 | config OF |
| 129 | def_bool y |
| 130 | |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 131 | config 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 | |
| 139 | endmenu |
| 140 | |
Michal Simek | a116f6d | 2009-05-26 16:30:31 +0200 | [diff] [blame] | 141 | menu "Advanced setup" |
| 142 | |
| 143 | config 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 | |
| 154 | comment "Default settings for advanced configuration options are used" |
| 155 | depends on !ADVANCED_OPTIONS |
| 156 | |
| 157 | config 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 | |
| 167 | config HIGHMEM_START |
| 168 | hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL |
| 169 | depends on MMU |
| 170 | default "0xfe000000" |
| 171 | |
| 172 | config 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 | |
| 184 | config LOWMEM_SIZE |
| 185 | hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL |
| 186 | depends on MMU |
| 187 | default "0x30000000" |
| 188 | |
| 189 | config 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 | |
| 200 | config 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 | |
| 205 | config 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 | |
| 215 | config TASK_SIZE |
| 216 | hex "Size of user task space" if TASK_SIZE_BOOL |
| 217 | depends on MMU |
| 218 | default "0x80000000" |
| 219 | |
| 220 | config 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 | |
| 228 | config 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 | |
| 233 | config 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 | |
| 241 | config 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 | |
| 246 | endmenu |
| 247 | |
Michal Simek | 575ca28 | 2009-03-27 14:25:50 +0100 | [diff] [blame] | 248 | source "mm/Kconfig" |
| 249 | |
| 250 | menu "Exectuable file formats" |
| 251 | |
| 252 | source "fs/Kconfig.binfmt" |
| 253 | |
| 254 | endmenu |
| 255 | |
| 256 | source "net/Kconfig" |
| 257 | |
| 258 | source "drivers/Kconfig" |
| 259 | |
| 260 | source "fs/Kconfig" |
| 261 | |
| 262 | source "arch/microblaze/Kconfig.debug" |
| 263 | |
| 264 | source "security/Kconfig" |
| 265 | |
| 266 | source "crypto/Kconfig" |
| 267 | |
| 268 | source "lib/Kconfig" |