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