1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 config NIOS2 !! 2 config M68K 3 def_bool y !! 3 bool >> 4 default y 4 select ARCH_32BIT_OFF_T 5 select ARCH_32BIT_OFF_T 5 select ARCH_HAS_CPU_CACHE_ALIASING !! 6 select ARCH_HAS_BINFMT_FLAT 6 select ARCH_HAS_DMA_PREP_COHERENT !! 7 select ARCH_HAS_CURRENT_STACK_POINTER 7 select ARCH_HAS_SYNC_DMA_FOR_CPU !! 8 select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE 8 select ARCH_HAS_SYNC_DMA_FOR_DEVICE !! 9 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA 9 select ARCH_HAS_DMA_SET_UNCACHED !! 10 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS 10 select ARCH_NO_SWAP !! 11 select ARCH_MIGHT_HAVE_PC_PARPORT if ISA 11 select COMMON_CLK !! 12 select ARCH_NO_PREEMPT if !COLDFIRE 12 select TIMER_OF !! 13 select ARCH_USE_MEMTEST if MMU_MOTOROLA >> 14 select ARCH_WANT_IPC_PARSE_VERSION >> 15 select BINFMT_FLAT_ARGVP_ENVP_ON_STACK >> 16 select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE 13 select GENERIC_ATOMIC64 17 select GENERIC_ATOMIC64 14 select GENERIC_CPU_DEVICES 18 select GENERIC_CPU_DEVICES 15 select GENERIC_IRQ_PROBE !! 19 select GENERIC_IOMAP 16 select GENERIC_IRQ_SHOW 20 select GENERIC_IRQ_SHOW 17 select HAVE_ARCH_TRACEHOOK !! 21 select HAVE_ARCH_SECCOMP 18 select HAVE_ARCH_KGDB !! 22 select HAVE_ARCH_SECCOMP_FILTER 19 select HAVE_PAGE_SIZE_4KB !! 23 select HAVE_ASM_MODVERSIONS 20 select IRQ_DOMAIN !! 24 select HAVE_DEBUG_BUGVERBOSE 21 select LOCK_MM_AND_FIND_VMA !! 25 select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED 22 select MODULES_USE_ELF_RELA !! 26 select HAVE_MOD_ARCH_SPECIFIC 23 select OF !! 27 select HAVE_UID16 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 28 select MMU_GATHER_NO_RANGE if MMU >> 29 select MODULES_USE_ELF_REL >> 30 select MODULES_USE_ELF_RELA >> 31 select NO_DMA if !MMU && !COLDFIRE >> 32 select OLD_SIGACTION >> 33 select OLD_SIGSUSPEND3 >> 34 select UACCESS_MEMCPY if !MMU >> 35 select ZONE_DMA 30 36 31 config GENERIC_CSUM !! 37 config CPU_BIG_ENDIAN 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 38 def_bool y 42 39 43 config FPU !! 40 config ARCH_HAS_ILOG2_U32 44 def_bool n !! 41 bool 45 42 46 menu "Kernel features" !! 43 config ARCH_HAS_ILOG2_U64 47 !! 44 bool 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 45 61 Don't change if unsure. !! 46 config GENERIC_HWEIGHT >> 47 bool >> 48 default y 62 49 63 endmenu !! 50 config GENERIC_CALIBRATE_DELAY >> 51 bool >> 52 default y 64 53 65 source "arch/nios2/platform/Kconfig.platform" !! 54 config GENERIC_CSUM >> 55 bool 66 56 67 menu "Processor type and features" !! 57 config TIME_LOW_RES >> 58 bool >> 59 default y 68 60 69 config MMU !! 61 config NO_IOPORT_MAP 70 def_bool y 62 def_bool y 71 63 72 config NR_CPUS !! 64 config HZ 73 int 65 int 74 default "1" !! 66 default 1000 if CLEOPATRA >> 67 default 100 >> 68 >> 69 config PGTABLE_LEVELS >> 70 default 2 if SUN3 || COLDFIRE >> 71 default 3 75 72 76 config NIOS2_ALIGNMENT_TRAP !! 73 config MMU 77 bool "Catch alignment trap" !! 74 bool "MMU-based Paged Memory Management Support" 78 default y 75 default y 79 help 76 help 80 Nios II CPUs cannot fetch/store data !! 77 Select if you want MMU-based virtualised addressing space 81 i.e., a 2 or 4 byte fetch must start !! 78 support by paged memory management. If unsure, say 'Y'. 82 2 or 4. Any non-aligned load/store i << 83 emulated in software if you say Y he << 84 impact. << 85 79 86 comment "Boot options" !! 80 config MMU_MOTOROLA >> 81 bool 87 82 88 config CMDLINE_BOOL !! 83 config MMU_COLDFIRE 89 bool "Default bootloader kernel argume !! 84 bool 90 default y << 91 85 92 config CMDLINE !! 86 config MMU_SUN3 93 string "Default kernel command string" !! 87 bool 94 default "" !! 88 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE 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 89 110 config NIOS2_CMDLINE_IGNORE_DTB !! 90 config KEXEC 111 bool "Ignore kernel command string fro !! 91 bool "kexec system call" 112 depends on CMDLINE_BOOL !! 92 depends on M68KCLASSIC && MMU 113 depends on !CMDLINE_FORCE !! 93 select KEXEC_CORE 114 default y << 115 help 94 help 116 Set this to ignore the bootargs prop !! 95 kexec is a system call that implements the ability to shutdown your 117 chosen node and fall back to CMDLINE !! 96 current kernel, and to start another kernel. It is like a reboot >> 97 but it is independent of the system firmware. And like a reboot >> 98 you can start any kernel with it, not just Linux. 118 99 119 config NIOS2_PASS_CMDLINE !! 100 The name comes from the similarity to the exec system call. 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 101 134 endmenu !! 102 It is an ongoing process to be certain the hardware in a machine >> 103 is properly shutdown, so do not be surprised if this code does not >> 104 initially work for you. As of this writing the exact hardware >> 105 interface is strongly in flux, so no good recommendation can be >> 106 made. 135 107 136 menu "Advanced setup" !! 108 config BOOTINFO_PROC >> 109 bool "Export bootinfo in procfs" >> 110 depends on KEXEC && M68KCLASSIC >> 111 help >> 112 Say Y to export the bootinfo used to boot the kernel in a >> 113 "bootinfo" file in procfs. This is useful with kexec. 137 114 138 config ADVANCED_OPTIONS !! 115 menu "Platform setup" 139 bool "Prompt for advanced kernel confi << 140 116 141 comment "Default settings for advanced configu !! 117 source "arch/m68k/Kconfig.cpu" 142 depends on !ADVANCED_OPTIONS << 143 118 144 config NIOS2_KERNEL_MMU_REGION_BASE_BOOL !! 119 source "arch/m68k/Kconfig.machine" 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 120 150 Say N here unless you know what you !! 121 source "arch/m68k/Kconfig.bus" 151 122 152 config NIOS2_KERNEL_MMU_REGION_BASE !! 123 endmenu 153 hex "Virtual base address of the kerne << 154 default "0x80000000" << 155 help << 156 This option allows you to set the vi << 157 124 158 config NIOS2_KERNEL_REGION_BASE_BOOL !! 125 menu "Kernel Features" 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 126 164 Say N here unless you know what you !! 127 endmenu 165 128 166 config NIOS2_KERNEL_REGION_BASE !! 129 if !MMU 167 hex "Virtual base address of the kerne !! 130 menu "Power management options" 168 default "0xc0000000" << 169 131 170 config NIOS2_IO_REGION_BASE_BOOL !! 132 config PM 171 bool "Set custom I/O region base addre !! 133 bool "Power Management support" 172 depends on ADVANCED_OPTIONS << 173 help 134 help 174 This option allows you to set the vi !! 135 Support processor power management modes 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 136 182 endmenu 137 endmenu >> 138 endif >> 139 >> 140 source "arch/m68k/Kconfig.devices"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.