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 HAVE_ARCH_TRACEHOOK
12 select MODULES_USE_ELF_RELA
14 select OF_EARLY_FLATTREE
17 select USB_ARCH_HAS_HCD if USB_SUPPORT
22 config GENERIC_HWEIGHT
25 config GENERIC_CALIBRATE_DELAY
40 config RWSEM_GENERIC_SPINLOCK
43 config TRACE_IRQFLAGS_SUPPORT
48 menu "Kernel features"
50 source "kernel/Kconfig.preempt"
52 source "kernel/Kconfig.freezer"
54 source "kernel/Kconfig.hz"
58 config FORCE_MAX_ZONEORDER
59 int "Maximum zone order"
63 The kernel memory allocator divides physically contiguous memory
64 blocks into "zones", where each zone is a power of two number of
65 pages. This option selects the largest power of two that the kernel
66 keeps in the memory allocator. If you need to allocate very large
67 blocks of physically contiguous memory, then you may need to
70 This config option is actually maximum order plus one. For example,
71 a value of 11 means that the largest free memory block is 2^10 pages.
75 source "arch/nios2/platform/Kconfig.platform"
77 menu "Processor type and features"
86 config NIOS2_ALIGNMENT_TRAP
87 bool "Catch alignment trap"
90 Nios II CPUs cannot fetch/store data which is not bus aligned,
91 i.e., a 2 or 4 byte fetch must start at an address divisible by
92 2 or 4. Any non-aligned load/store instructions will be trapped and
93 emulated in software if you say Y here, which has a performance
96 comment "Boot options"
99 bool "Default bootloader kernel arguments"
103 string "Default kernel command string"
105 depends on CMDLINE_BOOL
107 On some platforms, there is currently no way for the boot loader to
108 pass arguments to the kernel. For these platforms, you can supply
109 some command-line options at build time by entering them here. In
110 other cases you can specify kernel args so that you don't have
111 to set them up in board prom initialization routines.
114 bool "Force default kernel command string"
115 depends on CMDLINE_BOOL
117 Set this to have arguments from the default kernel command string
118 override those passed by the boot loader.
120 config NIOS2_CMDLINE_IGNORE_DTB
121 bool "Ignore kernel command string from DTB"
122 depends on CMDLINE_BOOL
123 depends on !CMDLINE_FORCE
126 Set this to ignore the bootargs property from the devicetree's
127 chosen node and fall back to CMDLINE if nothing is passed.
129 config NIOS2_PASS_CMDLINE
130 bool "Passed kernel command line from u-boot"
133 Use bootargs env variable from u-boot for kernel command line.
134 will override "Default kernel command string".
135 Say N if you are unsure.
137 config NIOS2_BOOT_LINK_OFFSET
138 hex "Link address offset for booting"
141 This option allows you to set the link address offset of the zImage.
142 This can be useful if you are on a board which has a small amount of
147 menu "Advanced setup"
149 config ADVANCED_OPTIONS
150 bool "Prompt for advanced kernel configuration options"
153 comment "Default settings for advanced configuration options are used"
154 depends on !ADVANCED_OPTIONS
156 config NIOS2_KERNEL_MMU_REGION_BASE_BOOL
157 bool "Set custom kernel MMU region base address"
158 depends on ADVANCED_OPTIONS
160 This option allows you to set the virtual address of the kernel MMU region.
162 Say N here unless you know what you are doing.
164 config NIOS2_KERNEL_MMU_REGION_BASE
165 hex "Virtual base address of the kernel MMU region " if NIOS2_KERNEL_MMU_REGION_BASE_BOOL
168 This option allows you to set the virtual base address of the kernel MMU region.
170 config NIOS2_KERNEL_REGION_BASE_BOOL
171 bool "Set custom kernel region base address"
172 depends on ADVANCED_OPTIONS
174 This option allows you to set the virtual address of the kernel region.
176 Say N here unless you know what you are doing.
178 config NIOS2_KERNEL_REGION_BASE
179 hex "Virtual base address of the kernel region " if NIOS2_KERNEL_REGION_BASE_BOOL
182 config NIOS2_IO_REGION_BASE_BOOL
183 bool "Set custom I/O region base address"
184 depends on ADVANCED_OPTIONS
186 This option allows you to set the virtual address of the I/O region.
188 Say N here unless you know what you are doing.
190 config NIOS2_IO_REGION_BASE
191 hex "Virtual base address of the I/O region" if NIOS2_IO_REGION_BASE_BOOL
196 menu "Executable file formats"
198 source "fs/Kconfig.binfmt"
204 source "drivers/Kconfig"
208 source "arch/nios2/Kconfig.debug"
210 source "security/Kconfig"
212 source "crypto/Kconfig"