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