1 # SPDX-License-Identifier: GPL-2.0 2 config NIOS2 3 def_bool y 4 select ARCH_32BIT_OFF_T 5 select ARCH_HAS_CPU_CACHE_ALIASING 6 select ARCH_HAS_DMA_PREP_COHERENT 7 select ARCH_HAS_SYNC_DMA_FOR_CPU 8 select ARCH_HAS_SYNC_DMA_FOR_DEVICE 9 select ARCH_HAS_DMA_SET_UNCACHED 10 select ARCH_NO_SWAP 11 select COMMON_CLK 12 select TIMER_OF 13 select GENERIC_ATOMIC64 14 select GENERIC_CPU_DEVICES 15 select GENERIC_IRQ_PROBE 16 select GENERIC_IRQ_SHOW 17 select HAVE_ARCH_TRACEHOOK 18 select HAVE_ARCH_KGDB 19 select HAVE_PAGE_SIZE_4KB 20 select IRQ_DOMAIN 21 select LOCK_MM_AND_FIND_VMA 22 select MODULES_USE_ELF_RELA 23 select OF 24 select OF_EARLY_FLATTREE 25 select SOC_BUS 26 select SPARSE_IRQ 27 select USB_ARCH_HAS_HCD if USB_SUPPORT 28 select CPU_NO_EFFICIENT_FFS 29 select MMU_GATHER_NO_RANGE if MMU 30 31 config GENERIC_CSUM 32 def_bool y 33 34 config GENERIC_HWEIGHT 35 def_bool y 36 37 config GENERIC_CALIBRATE_DELAY 38 def_bool y 39 40 config NO_IOPORT_MAP 41 def_bool y 42 43 config FPU 44 def_bool n 45 46 menu "Kernel features" 47 48 source "kernel/Kconfig.hz" 49 50 config ARCH_FORCE_MAX_ORDER 51 int "Order of maximal physically conti 52 default "10" 53 help 54 The kernel page allocator limits the 55 contiguous allocations. The limit is 56 defines the maximal power of two of 57 allocated as a single contiguous blo 58 overriding the default setting when 59 large blocks of physically contiguou 60 61 Don't change if unsure. 62 63 endmenu 64 65 source "arch/nios2/platform/Kconfig.platform" 66 67 menu "Processor type and features" 68 69 config MMU 70 def_bool y 71 72 config NR_CPUS 73 int 74 default "1" 75 76 config NIOS2_ALIGNMENT_TRAP 77 bool "Catch alignment trap" 78 default y 79 help 80 Nios II CPUs cannot fetch/store data 81 i.e., a 2 or 4 byte fetch must start 82 2 or 4. Any non-aligned load/store i 83 emulated in software if you say Y he 84 impact. 85 86 comment "Boot options" 87 88 config CMDLINE_BOOL 89 bool "Default bootloader kernel argume 90 default y 91 92 config CMDLINE 93 string "Default kernel command string" 94 default "" 95 depends on CMDLINE_BOOL 96 help 97 On some platforms, there is currentl 98 pass arguments to the kernel. For th 99 some command-line options at build t 100 other cases you can specify kernel a 101 to set them up in board prom initial 102 103 config CMDLINE_FORCE 104 bool "Force default kernel command str 105 depends on CMDLINE_BOOL 106 help 107 Set this to have arguments from the 108 override those passed by the boot lo 109 110 config NIOS2_CMDLINE_IGNORE_DTB 111 bool "Ignore kernel command string fro 112 depends on CMDLINE_BOOL 113 depends on !CMDLINE_FORCE 114 default y 115 help 116 Set this to ignore the bootargs prop 117 chosen node and fall back to CMDLINE 118 119 config NIOS2_PASS_CMDLINE 120 bool "Passed kernel command line from 121 help 122 Use bootargs env variable from u-boo 123 will override "Default kernel comman 124 Say N if you are unsure. 125 126 config NIOS2_BOOT_LINK_OFFSET 127 hex "Link address offset for booting" 128 default "0x00500000" 129 help 130 This option allows you to set the li 131 This can be useful if you are on a b 132 memory. 133 134 endmenu 135 136 menu "Advanced setup" 137 138 config ADVANCED_OPTIONS 139 bool "Prompt for advanced kernel confi 140 141 comment "Default settings for advanced configu 142 depends on !ADVANCED_OPTIONS 143 144 config NIOS2_KERNEL_MMU_REGION_BASE_BOOL 145 bool "Set custom kernel MMU region bas 146 depends on ADVANCED_OPTIONS 147 help 148 This option allows you to set the vi 149 150 Say N here unless you know what you 151 152 config NIOS2_KERNEL_MMU_REGION_BASE 153 hex "Virtual base address of the kerne 154 default "0x80000000" 155 help 156 This option allows you to set the vi 157 158 config NIOS2_KERNEL_REGION_BASE_BOOL 159 bool "Set custom kernel region base ad 160 depends on ADVANCED_OPTIONS 161 help 162 This option allows you to set the vi 163 164 Say N here unless you know what you 165 166 config NIOS2_KERNEL_REGION_BASE 167 hex "Virtual base address of the kerne 168 default "0xc0000000" 169 170 config NIOS2_IO_REGION_BASE_BOOL 171 bool "Set custom I/O region base addre 172 depends on ADVANCED_OPTIONS 173 help 174 This option allows you to set the vi 175 176 Say N here unless you know what you 177 178 config NIOS2_IO_REGION_BASE 179 hex "Virtual base address of the I/O r 180 default "0xe0000000" 181 182 endmenu
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.