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