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 HAVE_IDE 5 select ARCH_HAS_CPU_CACHE_ALIASING !! 5 select HAVE_AOUT if MMU 6 select ARCH_HAS_DMA_PREP_COHERENT !! 6 select HAVE_DEBUG_BUGVERBOSE 7 select ARCH_HAS_SYNC_DMA_FOR_CPU !! 7 select HAVE_GENERIC_HARDIRQS 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_STRNCPY_FROM_USER if MMU 16 select GENERIC_IRQ_SHOW !! 15 select GENERIC_STRNLEN_USER if MMU 17 select HAVE_ARCH_TRACEHOOK !! 16 select FPU 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 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 >> 63 >> 64 config HZ >> 65 int >> 66 default 1000 if CLEOPATRA >> 67 default 100 47 68 48 source "kernel/Kconfig.hz" !! 69 source "init/Kconfig" 49 70 50 config ARCH_FORCE_MAX_ORDER !! 71 source "kernel/Kconfig.freezer" 51 int "Order of maximal physically conti !! 72 52 default "10" !! 73 config MMU >> 74 bool "MMU-based Paged Memory Management Support" >> 75 default y >> 76 select GENERIC_IOMAP 53 help 77 help 54 The kernel page allocator limits the !! 78 Select if you want MMU-based virtualised addressing space 55 contiguous allocations. The limit is !! 79 support by paged memory management. If unsure, say 'Y'. 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 80 61 Don't change if unsure. !! 81 config MMU_MOTOROLA >> 82 bool 62 83 63 endmenu !! 84 config MMU_COLDFIRE >> 85 bool 64 86 65 source "arch/nios2/platform/Kconfig.platform" !! 87 config MMU_SUN3 >> 88 bool >> 89 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE 66 90 67 menu "Processor type and features" !! 91 menu "Platform setup" 68 92 69 config MMU !! 93 source arch/m68k/Kconfig.cpu 70 def_bool y << 71 94 72 config NR_CPUS !! 95 source arch/m68k/Kconfig.machine 73 int << 74 default "1" << 75 96 76 config NIOS2_ALIGNMENT_TRAP !! 97 source arch/m68k/Kconfig.bus 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 98 110 config NIOS2_CMDLINE_IGNORE_DTB !! 99 endmenu 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 100 119 config NIOS2_PASS_CMDLINE !! 101 menu "Kernel Features" 120 bool "Passed kernel command line from !! 102 121 help !! 103 if COLDFIRE 122 Use bootargs env variable from u-boo !! 104 source "kernel/Kconfig.preempt" 123 will override "Default kernel comman !! 105 endif 124 Say N if you are unsure. !! 106 125 !! 107 source "mm/Kconfig" 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 108 134 endmenu 109 endmenu 135 110 136 menu "Advanced setup" !! 111 menu "Executable file formats" >> 112 >> 113 source "fs/Kconfig.binfmt" 137 114 138 config ADVANCED_OPTIONS !! 115 endmenu 139 bool "Prompt for advanced kernel confi << 140 116 141 comment "Default settings for advanced configu !! 117 if !MMU 142 depends on !ADVANCED_OPTIONS !! 118 menu "Power management options" 143 119 144 config NIOS2_KERNEL_MMU_REGION_BASE_BOOL !! 120 config PM 145 bool "Set custom kernel MMU region bas !! 121 bool "Power Management support" 146 depends on ADVANCED_OPTIONS << 147 help 122 help 148 This option allows you to set the vi !! 123 Support processor power management modes 149 124 150 Say N here unless you know what you !! 125 endmenu >> 126 endif 151 127 152 config NIOS2_KERNEL_MMU_REGION_BASE !! 128 source "net/Kconfig" 153 hex "Virtual base address of the kerne << 154 default "0x80000000" << 155 help << 156 This option allows you to set the vi << 157 129 158 config NIOS2_KERNEL_REGION_BASE_BOOL !! 130 source "drivers/Kconfig" 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 131 164 Say N here unless you know what you !! 132 source "arch/m68k/Kconfig.devices" 165 133 166 config NIOS2_KERNEL_REGION_BASE !! 134 source "fs/Kconfig" 167 hex "Virtual base address of the kerne << 168 default "0xc0000000" << 169 135 170 config NIOS2_IO_REGION_BASE_BOOL !! 136 source "arch/m68k/Kconfig.debug" 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 137 176 Say N here unless you know what you !! 138 source "security/Kconfig" 177 139 178 config NIOS2_IO_REGION_BASE !! 140 source "crypto/Kconfig" 179 hex "Virtual base address of the I/O r << 180 default "0xe0000000" << 181 141 182 endmenu !! 142 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.