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