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