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