[AVR32] Add mach-specific Kconfig
[linux-2.6/libata-dev.git] / arch / avr32 / Kconfig
blob257b83648cb7cdb0bf947ce8c29e838afd93e330
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux Kernel Configuration"
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.
19           There is an AVR32 Linux project with a web page at
20           http://avr32linux.org/.
22 config UID16
23         bool
25 config GENERIC_GPIO
26         bool
27         default y
29 config GENERIC_HARDIRQS
30         bool
31         default y
33 config HARDIRQS_SW_RESEND
34         bool
35         default y
37 config GENERIC_IRQ_PROBE
38         bool
39         default y
41 config RWSEM_GENERIC_SPINLOCK
42         bool
43         default y
45 config GENERIC_TIME
46         bool
47         default y
49 config RWSEM_XCHGADD_ALGORITHM
50         bool
52 config ARCH_HAS_ILOG2_U32
53         bool
54         default n
56 config ARCH_HAS_ILOG2_U64
57         bool
58         default n
60 config GENERIC_BUST_SPINLOCK
61         bool
63 config GENERIC_HWEIGHT
64         bool
65         default y
67 config GENERIC_CALIBRATE_DELAY
68         bool
69         default y
71 source "init/Kconfig"
73 menu "System Type and features"
75 config SUBARCH_AVR32B
76         bool
77 config MMU
78         bool
79 config PERFORMANCE_COUNTERS
80         bool
82 config PLATFORM_AT32AP
83         bool
84         select SUBARCH_AVR32B
85         select MMU
86         select PERFORMANCE_COUNTERS
88 choice
89         prompt "AVR32 CPU type"
90         default CPU_AT32AP7000
92 config CPU_AT32AP7000
93         bool "AT32AP7000"
94         select PLATFORM_AT32AP
95 endchoice
98 # CPU Daughterboards for ATSTK1000
99 config BOARD_ATSTK1002
100         bool
102 choice
103         prompt "AVR32 board type"
104         default BOARD_ATSTK1000
106 config BOARD_ATSTK1000
107         bool "ATSTK1000 evaluation board"
108         select BOARD_ATSTK1002 if CPU_AT32AP7000
109 endchoice
111 choice
112         prompt "Boot loader type"
113         default LOADER_U_BOOT
115 config  LOADER_U_BOOT
116         bool "U-Boot (or similar) bootloader"
117 endchoice
119 source "arch/avr32/mach-at32ap/Kconfig"
121 config LOAD_ADDRESS
122         hex
123         default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
125 config ENTRY_ADDRESS
126         hex
127         default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP7000=y
129 config PHYS_OFFSET
130         hex
131         default 0x10000000 if CPU_AT32AP7000=y
133 source "kernel/Kconfig.preempt"
135 config HAVE_ARCH_BOOTMEM_NODE
136         bool
137         default n
139 config ARCH_HAVE_MEMORY_PRESENT
140         bool
141         default n
143 config NEED_NODE_MEMMAP_SIZE
144         bool
145         default n
147 config ARCH_FLATMEM_ENABLE
148         bool
149         default y
151 config ARCH_DISCONTIGMEM_ENABLE
152         bool
153         default n
155 config ARCH_SPARSEMEM_ENABLE
156         bool
157         default n
159 source "mm/Kconfig"
161 config OWNERSHIP_TRACE
162         bool "Ownership trace support"
163         default y
164         help
165           Say Y to generate an Ownership Trace message on every context switch,
166           enabling Nexus-compliant debuggers to keep track of the PID of the
167           currently executing task.
169 # FPU emulation goes here
171 source "kernel/Kconfig.hz"
173 config CMDLINE
174         string "Default kernel command line"
175         default ""
176         help
177           If you don't have a boot loader capable of passing a command line string
178           to the kernel, you may specify one here. As a minimum, you should specify
179           the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
181 endmenu
183 menu "Bus options"
185 config PCI
186         bool
188 source "drivers/pci/Kconfig"
190 source "drivers/pcmcia/Kconfig"
192 endmenu
194 menu "Executable file formats"
195 source "fs/Kconfig.binfmt"
196 endmenu
198 source "net/Kconfig"
200 source "drivers/Kconfig"
202 source "fs/Kconfig"
204 source "arch/avr32/Kconfig.debug"
206 source "security/Kconfig"
208 source "crypto/Kconfig"
210 source "lib/Kconfig"