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