nios2: convert to dma_map_ops
[linux-2.6/btrfs-unstable.git] / arch / nios2 / Kconfig
blob4b2504d28178c22e3861642884dac31194b8825f
1 config NIOS2
2         def_bool y
3         select ARCH_WANT_OPTIONAL_GPIOLIB
4         select CLKSRC_OF
5         select GENERIC_ATOMIC64
6         select GENERIC_CLOCKEVENTS
7         select GENERIC_CPU_DEVICES
8         select GENERIC_IRQ_PROBE
9         select GENERIC_IRQ_SHOW
10         select HAVE_ARCH_TRACEHOOK
11         select HAVE_ARCH_KGDB
12         select IRQ_DOMAIN
13         select MODULES_USE_ELF_RELA
14         select OF
15         select OF_EARLY_FLATTREE
16         select SOC_BUS
17         select SPARSE_IRQ
18         select USB_ARCH_HAS_HCD if USB_SUPPORT
19         select HAVE_DMA_ATTRS
21 config GENERIC_CSUM
22         def_bool y
24 config GENERIC_HWEIGHT
25         def_bool y
27 config GENERIC_CALIBRATE_DELAY
28         def_bool y
30 config NO_IOPORT_MAP
31         def_bool y
33 config HAS_DMA
34         def_bool y
36 config FPU
37         def_bool n
39 config SWAP
40         def_bool n
42 config RWSEM_GENERIC_SPINLOCK
43         def_bool y
45 config TRACE_IRQFLAGS_SUPPORT
46         def_bool n
48 source "init/Kconfig"
50 menu "Kernel features"
52 source "kernel/Kconfig.preempt"
54 source "kernel/Kconfig.freezer"
56 source "kernel/Kconfig.hz"
58 source "mm/Kconfig"
60 config FORCE_MAX_ZONEORDER
61         int "Maximum zone order"
62         range 9 20
63         default "11"
64         help
65           The kernel memory allocator divides physically contiguous memory
66           blocks into "zones", where each zone is a power of two number of
67           pages.  This option selects the largest power of two that the kernel
68           keeps in the memory allocator.  If you need to allocate very large
69           blocks of physically contiguous memory, then you may need to
70           increase this value.
72           This config option is actually maximum order plus one. For example,
73           a value of 11 means that the largest free memory block is 2^10 pages.
75 endmenu
77 source "arch/nios2/platform/Kconfig.platform"
79 menu "Processor type and features"
81 config MMU
82         def_bool y
84 config NR_CPUS
85         int
86         default "1"
88 config NIOS2_ALIGNMENT_TRAP
89         bool "Catch alignment trap"
90         default y
91         help
92           Nios II CPUs cannot fetch/store data which is not bus aligned,
93           i.e., a 2 or 4 byte fetch must start at an address divisible by
94           2 or 4. Any non-aligned load/store instructions will be trapped and
95           emulated in software if you say Y here, which has a performance
96           impact.
98 comment "Boot options"
100 config CMDLINE_BOOL
101         bool "Default bootloader kernel arguments"
102         default y
104 config CMDLINE
105         string "Default kernel command string"
106         default ""
107         depends on CMDLINE_BOOL
108         help
109           On some platforms, there is currently no way for the boot loader to
110           pass arguments to the kernel. For these platforms, you can supply
111           some command-line options at build time by entering them here.  In
112           other cases you can specify kernel args so that you don't have
113           to set them up in board prom initialization routines.
115 config CMDLINE_FORCE
116         bool "Force default kernel command string"
117         depends on CMDLINE_BOOL
118         help
119           Set this to have arguments from the default kernel command string
120           override those passed by the boot loader.
122 config NIOS2_CMDLINE_IGNORE_DTB
123         bool "Ignore kernel command string from DTB"
124         depends on CMDLINE_BOOL
125         depends on !CMDLINE_FORCE
126         default y
127         help
128           Set this to ignore the bootargs property from the devicetree's
129           chosen node and fall back to CMDLINE if nothing is passed.
131 config NIOS2_PASS_CMDLINE
132         bool "Passed kernel command line from u-boot"
133         default n
134         help
135           Use bootargs env variable from u-boot for kernel command line.
136           will override "Default kernel command string".
137           Say N if you are unsure.
139 config NIOS2_BOOT_LINK_OFFSET
140         hex "Link address offset for booting"
141         default "0x00500000"
142         help
143           This option allows you to set the link address offset of the zImage.
144           This can be useful if you are on a board which has a small amount of
145           memory.
147 endmenu
149 menu "Advanced setup"
151 config ADVANCED_OPTIONS
152         bool "Prompt for advanced kernel configuration options"
153         help
155 comment "Default settings for advanced configuration options are used"
156         depends on !ADVANCED_OPTIONS
158 config NIOS2_KERNEL_MMU_REGION_BASE_BOOL
159         bool "Set custom kernel MMU region base address"
160         depends on ADVANCED_OPTIONS
161         help
162           This option allows you to set the virtual address of the kernel MMU region.
164           Say N here unless you know what you are doing.
166 config NIOS2_KERNEL_MMU_REGION_BASE
167         hex "Virtual base address of the kernel MMU region " if NIOS2_KERNEL_MMU_REGION_BASE_BOOL
168         default "0x80000000"
169         help
170           This option allows you to set the virtual base address of the kernel MMU region.
172 config NIOS2_KERNEL_REGION_BASE_BOOL
173         bool "Set custom kernel region base address"
174         depends on ADVANCED_OPTIONS
175         help
176           This option allows you to set the virtual address of the kernel region.
178           Say N here unless you know what you are doing.
180 config NIOS2_KERNEL_REGION_BASE
181         hex "Virtual base address of the kernel region " if NIOS2_KERNEL_REGION_BASE_BOOL
182         default "0xc0000000"
184 config NIOS2_IO_REGION_BASE_BOOL
185         bool "Set custom I/O region base address"
186         depends on ADVANCED_OPTIONS
187         help
188           This option allows you to set the virtual address of the I/O region.
190           Say N here unless you know what you are doing.
192 config NIOS2_IO_REGION_BASE
193         hex "Virtual base address of the I/O region" if NIOS2_IO_REGION_BASE_BOOL
194         default "0xe0000000"
196 endmenu
198 menu "Executable file formats"
200 source "fs/Kconfig.binfmt"
202 endmenu
204 source "net/Kconfig"
206 source "drivers/Kconfig"
208 source "fs/Kconfig"
210 source "arch/nios2/Kconfig.debug"
212 source "security/Kconfig"
214 source "crypto/Kconfig"
216 source "lib/Kconfig"