avoid endless loops in lib/swiotlb.c
[wrt350n-kernel.git] / arch / avr32 / Kconfig
blobc75d7089f982bba957ced3680d4d2bf9b52f56d3
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         def_bool y
10         # With EMBEDDED=n, we get lots of stuff automatically selected
11         # that we usually don't need on AVR32.
12         select EMBEDDED
13         select HAVE_IDE
14         select HAVE_OPROFILE
15         select HAVE_KPROBES
16         help
17           AVR32 is a high-performance 32-bit RISC microprocessor core,
18           designed for cost-sensitive embedded applications, with particular
19           emphasis on low power consumption and high code density.
21           There is an AVR32 Linux project with a web page at
22           http://avr32linux.org/.
24 config GENERIC_GPIO
25         def_bool y
27 config GENERIC_HARDIRQS
28         def_bool y
30 config STACKTRACE_SUPPORT
31         def_bool y
33 config LOCKDEP_SUPPORT
34         def_bool y
36 config TRACE_IRQFLAGS_SUPPORT
37         def_bool y
39 config HARDIRQS_SW_RESEND
40         def_bool y
42 config GENERIC_IRQ_PROBE
43         def_bool y
45 config RWSEM_GENERIC_SPINLOCK
46         def_bool y
48 config GENERIC_TIME
49         def_bool y
51 config RWSEM_XCHGADD_ALGORITHM
52         def_bool n
54 config ARCH_HAS_ILOG2_U32
55         def_bool n
57 config ARCH_HAS_ILOG2_U64
58         def_bool n
60 config GENERIC_HWEIGHT
61         def_bool y
63 config GENERIC_CALIBRATE_DELAY
64         def_bool y
66 config GENERIC_BUG
67         def_bool y
68         depends on BUG
70 source "init/Kconfig"
72 menu "System Type and features"
74 config SUBARCH_AVR32B
75         bool
76 config MMU
77         bool
78 config PERFORMANCE_COUNTERS
79         bool
81 config PLATFORM_AT32AP
82         bool
83         select SUBARCH_AVR32B
84         select MMU
85         select PERFORMANCE_COUNTERS
86         select HAVE_GPIO_LIB
89 # CPU types
92 # AP7000 derivatives
93 config CPU_AT32AP700X
94         bool
95         select PLATFORM_AT32AP
96 config CPU_AT32AP7000
97         bool
98         select CPU_AT32AP700X
99 config CPU_AT32AP7001
100         bool
101         select CPU_AT32AP700X
102 config CPU_AT32AP7002
103         bool
104         select CPU_AT32AP700X
106 choice
107         prompt "AVR32 board type"
108         default BOARD_ATSTK1000
110 config BOARD_ATSTK1000
111         bool "ATSTK1000 evaluation board"
113 config BOARD_ATNGW100
114         bool "ATNGW100 Network Gateway"
115         select CPU_AT32AP7000
116 endchoice
118 if BOARD_ATSTK1000
119 source "arch/avr32/boards/atstk1000/Kconfig"
120 endif
122 choice
123         prompt "Boot loader type"
124         default LOADER_U_BOOT
126 config  LOADER_U_BOOT
127         bool "U-Boot (or similar) bootloader"
128 endchoice
130 source "arch/avr32/mach-at32ap/Kconfig"
132 config LOAD_ADDRESS
133         hex
134         default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
136 config ENTRY_ADDRESS
137         hex
138         default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
140 config PHYS_OFFSET
141         hex
142         default 0x10000000 if CPU_AT32AP700X=y
144 source "kernel/Kconfig.preempt"
146 config HAVE_ARCH_BOOTMEM_NODE
147         def_bool n
149 config ARCH_HAVE_MEMORY_PRESENT
150         def_bool n
152 config NEED_NODE_MEMMAP_SIZE
153         def_bool n
155 config ARCH_FLATMEM_ENABLE
156         def_bool y
158 config ARCH_DISCONTIGMEM_ENABLE
159         def_bool n
161 config ARCH_SPARSEMEM_ENABLE
162         def_bool n
164 source "mm/Kconfig"
166 config OWNERSHIP_TRACE
167         bool "Ownership trace support"
168         default y
169         help
170           Say Y to generate an Ownership Trace message on every context switch,
171           enabling Nexus-compliant debuggers to keep track of the PID of the
172           currently executing task.
174 config NMI_DEBUGGING
175         bool "NMI Debugging"
176         default n
177         help
178           Say Y here and pass the nmi_debug command-line parameter to
179           the kernel to turn on NMI debugging. Depending on the value
180           of the nmi_debug option, various pieces of information will
181           be dumped to the console when a Non-Maskable Interrupt
182           happens.
184 # FPU emulation goes here
186 source "kernel/Kconfig.hz"
188 config CMDLINE
189         string "Default kernel command line"
190         default ""
191         help
192           If you don't have a boot loader capable of passing a command line string
193           to the kernel, you may specify one here. As a minimum, you should specify
194           the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
196 endmenu
198 menu "Power management options"
200 menu "CPU Frequency scaling"
202 source "drivers/cpufreq/Kconfig"
204 config CPU_FREQ_AT32AP
205         bool "CPU frequency driver for AT32AP"
206         depends on CPU_FREQ && PLATFORM_AT32AP
207         default n
208         help
209           This enables the CPU frequency driver for AT32AP processors.
211           For details, take a look in <file:Documentation/cpu-freq>.
213           If in doubt, say N.
215 endmenu
217 endmenu
219 menu "Bus options"
221 config PCI
222         bool
224 source "drivers/pci/Kconfig"
226 source "drivers/pcmcia/Kconfig"
228 endmenu
230 menu "Executable file formats"
231 source "fs/Kconfig.binfmt"
232 endmenu
234 source "net/Kconfig"
236 source "drivers/Kconfig"
238 source "fs/Kconfig"
240 source "arch/avr32/Kconfig.debug"
242 source "security/Kconfig"
244 source "crypto/Kconfig"
246 source "lib/Kconfig"