Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see Documentation/kbuild/kconfig-language.txt. |
| 4 | # |
| 5 | |
| 6 | mainmenu "Linux Kernel Configuration" |
| 7 | |
| 8 | config AVR32 |
| 9 | bool |
| 10 | default y |
| 11 | # With EMBEDDED=n, we get lots of stuff automatically selected |
| 12 | # that we usually don't need on AVR32. |
| 13 | select EMBEDDED |
| 14 | help |
| 15 | AVR32 is a high-performance 32-bit RISC microprocessor core, |
| 16 | designed for cost-sensitive embedded applications, with particular |
| 17 | emphasis on low power consumption and high code density. |
| 18 | |
| 19 | There is an AVR32 Linux project with a web page at |
| 20 | http://avr32linux.org/. |
| 21 | |
| 22 | config UID16 |
| 23 | bool |
| 24 | |
David Brownell | 0a938b9 | 2007-03-05 00:30:18 -0800 | [diff] [blame] | 25 | config GENERIC_GPIO |
| 26 | bool |
| 27 | default y |
| 28 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 29 | config GENERIC_HARDIRQS |
| 30 | bool |
| 31 | default y |
| 32 | |
| 33 | config HARDIRQS_SW_RESEND |
| 34 | bool |
| 35 | default y |
| 36 | |
| 37 | config GENERIC_IRQ_PROBE |
| 38 | bool |
| 39 | default y |
| 40 | |
| 41 | config RWSEM_GENERIC_SPINLOCK |
| 42 | bool |
| 43 | default y |
| 44 | |
| 45 | config GENERIC_TIME |
| 46 | bool |
| 47 | default y |
| 48 | |
| 49 | config RWSEM_XCHGADD_ALGORITHM |
| 50 | bool |
| 51 | |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 52 | config ARCH_HAS_ILOG2_U32 |
| 53 | bool |
| 54 | default n |
| 55 | |
| 56 | config ARCH_HAS_ILOG2_U64 |
| 57 | bool |
| 58 | default n |
| 59 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 60 | config GENERIC_HWEIGHT |
| 61 | bool |
| 62 | default y |
| 63 | |
| 64 | config GENERIC_CALIBRATE_DELAY |
| 65 | bool |
| 66 | default y |
| 67 | |
Haavard Skinnemoen | 623b035 | 2007-03-13 17:59:11 +0100 | [diff] [blame] | 68 | config GENERIC_BUG |
| 69 | bool |
| 70 | default y |
| 71 | depends on BUG |
| 72 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 73 | source "init/Kconfig" |
| 74 | |
| 75 | menu "System Type and features" |
| 76 | |
| 77 | config SUBARCH_AVR32B |
| 78 | bool |
| 79 | config MMU |
| 80 | bool |
| 81 | config PERFORMANCE_COUNTERS |
| 82 | bool |
| 83 | |
| 84 | config PLATFORM_AT32AP |
| 85 | bool |
| 86 | select SUBARCH_AVR32B |
| 87 | select MMU |
| 88 | select PERFORMANCE_COUNTERS |
| 89 | |
| 90 | choice |
| 91 | prompt "AVR32 CPU type" |
| 92 | default CPU_AT32AP7000 |
| 93 | |
| 94 | config CPU_AT32AP7000 |
| 95 | bool "AT32AP7000" |
| 96 | select PLATFORM_AT32AP |
| 97 | endchoice |
| 98 | |
| 99 | # |
| 100 | # CPU Daughterboards for ATSTK1000 |
| 101 | config BOARD_ATSTK1002 |
| 102 | bool |
| 103 | |
| 104 | choice |
| 105 | prompt "AVR32 board type" |
| 106 | default BOARD_ATSTK1000 |
| 107 | |
| 108 | config BOARD_ATSTK1000 |
| 109 | bool "ATSTK1000 evaluation board" |
| 110 | select BOARD_ATSTK1002 if CPU_AT32AP7000 |
Haavard Skinnemoen | 9ca20a8 | 2007-04-12 17:26:57 +0200 | [diff] [blame] | 111 | |
| 112 | config BOARD_ATNGW100 |
| 113 | bool "ATNGW100 Network Gateway" |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 114 | endchoice |
| 115 | |
David Brownell | a8e93ed | 2007-06-12 14:34:47 +0200 | [diff] [blame] | 116 | if BOARD_ATSTK1000 |
| 117 | source "arch/avr32/boards/atstk1000/Kconfig" |
| 118 | endif |
| 119 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 120 | choice |
| 121 | prompt "Boot loader type" |
| 122 | default LOADER_U_BOOT |
| 123 | |
| 124 | config LOADER_U_BOOT |
| 125 | bool "U-Boot (or similar) bootloader" |
| 126 | endchoice |
| 127 | |
Haavard Skinnemoen | 228e845 | 2007-03-07 15:24:34 +0100 | [diff] [blame] | 128 | source "arch/avr32/mach-at32ap/Kconfig" |
| 129 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 130 | config LOAD_ADDRESS |
| 131 | hex |
| 132 | default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y |
| 133 | |
| 134 | config ENTRY_ADDRESS |
| 135 | hex |
| 136 | default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y |
| 137 | |
| 138 | config PHYS_OFFSET |
| 139 | hex |
| 140 | default 0x10000000 if CPU_AT32AP7000=y |
| 141 | |
| 142 | source "kernel/Kconfig.preempt" |
| 143 | |
| 144 | config HAVE_ARCH_BOOTMEM_NODE |
| 145 | bool |
| 146 | default n |
| 147 | |
| 148 | config ARCH_HAVE_MEMORY_PRESENT |
| 149 | bool |
| 150 | default n |
| 151 | |
| 152 | config NEED_NODE_MEMMAP_SIZE |
| 153 | bool |
| 154 | default n |
| 155 | |
| 156 | config ARCH_FLATMEM_ENABLE |
| 157 | bool |
| 158 | default y |
| 159 | |
| 160 | config ARCH_DISCONTIGMEM_ENABLE |
| 161 | bool |
| 162 | default n |
| 163 | |
| 164 | config ARCH_SPARSEMEM_ENABLE |
| 165 | bool |
| 166 | default n |
| 167 | |
| 168 | source "mm/Kconfig" |
| 169 | |
| 170 | config OWNERSHIP_TRACE |
| 171 | bool "Ownership trace support" |
| 172 | default y |
| 173 | help |
| 174 | Say Y to generate an Ownership Trace message on every context switch, |
| 175 | enabling Nexus-compliant debuggers to keep track of the PID of the |
| 176 | currently executing task. |
| 177 | |
| 178 | # FPU emulation goes here |
| 179 | |
| 180 | source "kernel/Kconfig.hz" |
| 181 | |
| 182 | config CMDLINE |
| 183 | string "Default kernel command line" |
| 184 | default "" |
| 185 | help |
| 186 | If you don't have a boot loader capable of passing a command line string |
| 187 | to the kernel, you may specify one here. As a minimum, you should specify |
| 188 | the memory size and the root device (e.g., mem=8M, root=/dev/nfs). |
| 189 | |
| 190 | endmenu |
| 191 | |
Hans-Christian Egtvedt | 9e58e18 | 2007-06-04 16:10:57 +0200 | [diff] [blame] | 192 | menu "Power managment options" |
| 193 | |
| 194 | menu "CPU Frequency scaling" |
| 195 | |
| 196 | source "drivers/cpufreq/Kconfig" |
| 197 | |
| 198 | config CPU_FREQ_AT32AP |
| 199 | bool "CPU frequency driver for AT32AP" |
| 200 | depends on CPU_FREQ && PLATFORM_AT32AP |
| 201 | default n |
| 202 | help |
| 203 | This enables the CPU frequency driver for AT32AP processors. |
| 204 | |
| 205 | For details, take a look in <file:Documentation/cpu-freq>. |
| 206 | |
| 207 | If in doubt, say N. |
| 208 | |
| 209 | endmenu |
| 210 | |
| 211 | endmenu |
| 212 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 213 | menu "Bus options" |
| 214 | |
| 215 | config PCI |
| 216 | bool |
| 217 | |
| 218 | source "drivers/pci/Kconfig" |
| 219 | |
| 220 | source "drivers/pcmcia/Kconfig" |
| 221 | |
| 222 | endmenu |
| 223 | |
| 224 | menu "Executable file formats" |
| 225 | source "fs/Kconfig.binfmt" |
| 226 | endmenu |
| 227 | |
| 228 | source "net/Kconfig" |
| 229 | |
| 230 | source "drivers/Kconfig" |
| 231 | |
| 232 | source "fs/Kconfig" |
| 233 | |
| 234 | source "arch/avr32/Kconfig.debug" |
| 235 | |
| 236 | source "security/Kconfig" |
| 237 | |
| 238 | source "crypto/Kconfig" |
| 239 | |
| 240 | source "lib/Kconfig" |