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_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE 7 select ARCH_HAS_SYNC_DMA_FOR_CPU !! 8 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA 8 select ARCH_HAS_SYNC_DMA_FOR_DEVICE !! 9 select ARCH_MIGHT_HAVE_PC_PARPORT if ISA 9 select ARCH_HAS_DMA_SET_UNCACHED !! 10 select ARCH_NO_PREEMPT if !COLDFIRE 10 select ARCH_NO_SWAP !! 11 select BINFMT_FLAT_ARGVP_ENVP_ON_STACK 11 select COMMON_CLK !! 12 select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE 12 select TIMER_OF !! 13 select HAVE_IDE >> 14 select HAVE_AOUT if MMU >> 15 select HAVE_ASM_MODVERSIONS >> 16 select HAVE_DEBUG_BUGVERBOSE >> 17 select GENERIC_IRQ_SHOW 13 select GENERIC_ATOMIC64 18 select GENERIC_ATOMIC64 >> 19 select HAVE_UID16 >> 20 select VIRT_TO_BUS >> 21 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS 14 select GENERIC_CPU_DEVICES 22 select GENERIC_CPU_DEVICES 15 select GENERIC_IRQ_PROBE !! 23 select GENERIC_IOMAP 16 select GENERIC_IRQ_SHOW !! 24 select GENERIC_STRNCPY_FROM_USER if MMU 17 select HAVE_ARCH_TRACEHOOK !! 25 select GENERIC_STRNLEN_USER if MMU 18 select HAVE_ARCH_KGDB !! 26 select ARCH_WANT_IPC_PARSE_VERSION 19 select HAVE_PAGE_SIZE_4KB !! 27 select HAVE_FUTEX_CMPXCHG if MMU && FUTEX 20 select IRQ_DOMAIN !! 28 select HAVE_MOD_ARCH_SPECIFIC 21 select LOCK_MM_AND_FIND_VMA !! 29 select MODULES_USE_ELF_REL 22 select MODULES_USE_ELF_RELA 30 select MODULES_USE_ELF_RELA 23 select OF !! 31 select OLD_SIGSUSPEND3 24 select OF_EARLY_FLATTREE !! 32 select OLD_SIGACTION 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 33 select MMU_GATHER_NO_RANGE if MMU 30 34 31 config GENERIC_CSUM !! 35 config CPU_BIG_ENDIAN 32 def_bool y 36 def_bool y 33 37 34 config GENERIC_HWEIGHT !! 38 config ARCH_HAS_ILOG2_U32 35 def_bool y !! 39 bool 36 40 37 config GENERIC_CALIBRATE_DELAY !! 41 config ARCH_HAS_ILOG2_U64 38 def_bool y !! 42 bool 39 43 40 config NO_IOPORT_MAP !! 44 config GENERIC_HWEIGHT 41 def_bool y !! 45 bool >> 46 default y 42 47 43 config FPU !! 48 config GENERIC_CALIBRATE_DELAY 44 def_bool n !! 49 bool >> 50 default y 45 51 46 menu "Kernel features" !! 52 config GENERIC_CSUM >> 53 bool 47 54 48 source "kernel/Kconfig.hz" !! 55 config TIME_LOW_RES >> 56 bool >> 57 default y 49 58 50 config ARCH_FORCE_MAX_ORDER !! 59 config NO_IOPORT_MAP 51 int "Order of maximal physically conti !! 60 def_bool y 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 61 Don't change if unsure. !! 62 config NO_DMA >> 63 def_bool (MMU && SUN3) || (!MMU && !COLDFIRE) 62 64 63 endmenu !! 65 config ZONE_DMA >> 66 bool >> 67 default y 64 68 65 source "arch/nios2/platform/Kconfig.platform" !! 69 config HZ >> 70 int >> 71 default 1000 if CLEOPATRA >> 72 default 100 66 73 67 menu "Processor type and features" !! 74 config PGTABLE_LEVELS >> 75 default 2 if SUN3 || COLDFIRE >> 76 default 3 68 77 69 config MMU 78 config MMU 70 def_bool y !! 79 bool "MMU-based Paged Memory Management Support" 71 << 72 config NR_CPUS << 73 int << 74 default "1" << 75 << 76 config NIOS2_ALIGNMENT_TRAP << 77 bool "Catch alignment trap" << 78 default y 80 default y 79 help 81 help 80 Nios II CPUs cannot fetch/store data !! 82 Select if you want MMU-based virtualised addressing space 81 i.e., a 2 or 4 byte fetch must start !! 83 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 << 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 84 110 config NIOS2_CMDLINE_IGNORE_DTB !! 85 config MMU_MOTOROLA 111 bool "Ignore kernel command string fro !! 86 bool 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 87 119 config NIOS2_PASS_CMDLINE !! 88 config MMU_COLDFIRE 120 bool "Passed kernel command line from !! 89 bool 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 90 134 endmenu !! 91 config MMU_SUN3 >> 92 bool >> 93 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE 135 94 136 menu "Advanced setup" !! 95 config KEXEC >> 96 bool "kexec system call" >> 97 depends on M68KCLASSIC >> 98 select KEXEC_CORE >> 99 help >> 100 kexec is a system call that implements the ability to shutdown your >> 101 current kernel, and to start another kernel. It is like a reboot >> 102 but it is independent of the system firmware. And like a reboot >> 103 you can start any kernel with it, not just Linux. 137 104 138 config ADVANCED_OPTIONS !! 105 The name comes from the similarity to the exec system call. 139 bool "Prompt for advanced kernel confi << 140 106 141 comment "Default settings for advanced configu !! 107 It is an ongoing process to be certain the hardware in a machine 142 depends on !ADVANCED_OPTIONS !! 108 is properly shutdown, so do not be surprised if this code does not >> 109 initially work for you. As of this writing the exact hardware >> 110 interface is strongly in flux, so no good recommendation can be >> 111 made. 143 112 144 config NIOS2_KERNEL_MMU_REGION_BASE_BOOL !! 113 config BOOTINFO_PROC 145 bool "Set custom kernel MMU region bas !! 114 bool "Export bootinfo in procfs" 146 depends on ADVANCED_OPTIONS !! 115 depends on KEXEC && M68KCLASSIC 147 help 116 help 148 This option allows you to set the vi !! 117 Say Y to export the bootinfo used to boot the kernel in a >> 118 "bootinfo" file in procfs. This is useful with kexec. 149 119 150 Say N here unless you know what you !! 120 menu "Platform setup" 151 121 152 config NIOS2_KERNEL_MMU_REGION_BASE !! 122 source "arch/m68k/Kconfig.cpu" 153 hex "Virtual base address of the kerne << 154 default "0x80000000" << 155 help << 156 This option allows you to set the vi << 157 123 158 config NIOS2_KERNEL_REGION_BASE_BOOL !! 124 source "arch/m68k/Kconfig.machine" 159 bool "Set custom kernel region base ad !! 125 160 depends on ADVANCED_OPTIONS !! 126 source "arch/m68k/Kconfig.bus" 161 help << 162 This option allows you to set the vi << 163 127 164 Say N here unless you know what you !! 128 endmenu 165 129 166 config NIOS2_KERNEL_REGION_BASE !! 130 menu "Kernel Features" 167 hex "Virtual base address of the kerne << 168 default "0xc0000000" << 169 131 170 config NIOS2_IO_REGION_BASE_BOOL !! 132 endmenu 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 133 176 Say N here unless you know what you !! 134 if !MMU >> 135 menu "Power management options" 177 136 178 config NIOS2_IO_REGION_BASE !! 137 config PM 179 hex "Virtual base address of the I/O r !! 138 bool "Power Management support" 180 default "0xe0000000" !! 139 help >> 140 Support processor power management modes 181 141 182 endmenu 142 endmenu >> 143 endif >> 144 >> 145 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.