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