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