~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/nios2/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/nios2/Kconfig (Architecture ppc) and /arch/m68k/Kconfig (Architecture m68k)


  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
                                                   >>   6         select ARCH_HAS_BINFMT_FLAT
  5         select ARCH_HAS_CPU_CACHE_ALIASING          7         select ARCH_HAS_CPU_CACHE_ALIASING
  6         select ARCH_HAS_DMA_PREP_COHERENT      !!   8         select ARCH_HAS_CPU_FINALIZE_INIT if MMU
  7         select ARCH_HAS_SYNC_DMA_FOR_CPU       !!   9         select ARCH_HAS_CURRENT_STACK_POINTER
  8         select ARCH_HAS_SYNC_DMA_FOR_DEVICE    !!  10         select ARCH_HAS_DMA_PREP_COHERENT if M68K_NONCOHERENT_DMA && !COLDFIRE
  9         select ARCH_HAS_DMA_SET_UNCACHED       !!  11         select ARCH_HAS_SYNC_DMA_FOR_DEVICE if M68K_NONCOHERENT_DMA
 10         select ARCH_NO_SWAP                    !!  12         select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
 11         select COMMON_CLK                      !!  13         select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
 12         select TIMER_OF                        !!  14         select ARCH_NO_PREEMPT if !COLDFIRE
                                                   >>  15         select ARCH_USE_MEMTEST if MMU_MOTOROLA
                                                   >>  16         select ARCH_WANT_IPC_PARSE_VERSION
                                                   >>  17         select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
                                                   >>  18         select DMA_DIRECT_REMAP if M68K_NONCOHERENT_DMA && !COLDFIRE
 13         select GENERIC_ATOMIC64                    19         select GENERIC_ATOMIC64
 14         select GENERIC_CPU_DEVICES                 20         select GENERIC_CPU_DEVICES
 15         select GENERIC_IRQ_PROBE               !!  21         select GENERIC_IOMAP if HAS_IOPORT
 16         select GENERIC_IRQ_SHOW                    22         select GENERIC_IRQ_SHOW
 17         select HAVE_ARCH_TRACEHOOK             !!  23         select GENERIC_LIB_ASHLDI3
 18         select HAVE_ARCH_KGDB                  !!  24         select GENERIC_LIB_ASHRDI3
 19         select HAVE_PAGE_SIZE_4KB              !!  25         select GENERIC_LIB_LSHRDI3
 20         select IRQ_DOMAIN                      !!  26         select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA
 21         select LOCK_MM_AND_FIND_VMA            !!  27         select HAVE_ARCH_SECCOMP
 22         select MODULES_USE_ELF_RELA            !!  28         select HAVE_ARCH_SECCOMP_FILTER
 23         select OF                              !!  29         select HAVE_ASM_MODVERSIONS
 24         select OF_EARLY_FLATTREE               !!  30         select HAVE_DEBUG_BUGVERBOSE
 25         select SOC_BUS                         !!  31         select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
 26         select SPARSE_IRQ                      !!  32         select HAVE_MOD_ARCH_SPECIFIC
 27         select USB_ARCH_HAS_HCD if USB_SUPPORT !!  33         select HAVE_UID16
 28         select CPU_NO_EFFICIENT_FFS            << 
 29         select MMU_GATHER_NO_RANGE if MMU          34         select MMU_GATHER_NO_RANGE if MMU
                                                   >>  35         select MODULES_USE_ELF_REL
                                                   >>  36         select MODULES_USE_ELF_RELA
                                                   >>  37         select NO_DMA if !MMU && !COLDFIRE
                                                   >>  38         select OLD_SIGACTION
                                                   >>  39         select OLD_SIGSUSPEND3
                                                   >>  40         select UACCESS_MEMCPY if !MMU
                                                   >>  41         select ZONE_DMA
 30                                                    42 
 31 config GENERIC_CSUM                            !!  43 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                                 44         def_bool y
 42                                                    45 
 43 config FPU                                     !!  46 config ARCH_HAS_ILOG2_U32
 44         def_bool n                             !!  47         bool
 45                                                    48 
 46 menu "Kernel features"                         !!  49 config ARCH_HAS_ILOG2_U64
 47                                                !!  50         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                                                    51 
 61           Don't change if unsure.              !!  52 config GENERIC_HWEIGHT
                                                   >>  53         bool
                                                   >>  54         default y
 62                                                    55 
 63 endmenu                                        !!  56 config GENERIC_CALIBRATE_DELAY
                                                   >>  57         bool
                                                   >>  58         default y
 64                                                    59 
 65 source "arch/nios2/platform/Kconfig.platform"  !!  60 config GENERIC_CSUM
                                                   >>  61         bool
 66                                                    62 
 67 menu "Processor type and features"             !!  63 config TIME_LOW_RES
                                                   >>  64         bool
                                                   >>  65         default y
 68                                                    66 
 69 config MMU                                     !!  67 config NO_IOPORT_MAP
 70         def_bool y                                 68         def_bool y
 71                                                    69 
 72 config NR_CPUS                                 !!  70 config HZ
 73         int                                        71         int
 74         default "1"                            !!  72         default 1000 if CLEOPATRA
                                                   >>  73         default 100
 75                                                    74 
 76 config NIOS2_ALIGNMENT_TRAP                    !!  75 config PGTABLE_LEVELS
 77         bool "Catch alignment trap"            !!  76         default 2 if SUN3 || COLDFIRE
                                                   >>  77         default 3
                                                   >>  78 
                                                   >>  79 config MMU
                                                   >>  80         bool "MMU-based Paged Memory Management Support"
 78         default y                                  81         default y
 79         help                                       82         help
 80           Nios II CPUs cannot fetch/store data !!  83           Select if you want MMU-based virtualised addressing space
 81           i.e., a 2 or 4 byte fetch must start !!  84           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                                                    85 
 86 comment "Boot options"                         !!  86 config MMU_MOTOROLA
                                                   >>  87         bool
                                                   >>  88         select HAVE_PAGE_SIZE_4KB
 87                                                    89 
 88 config CMDLINE_BOOL                            !!  90 config MMU_COLDFIRE
 89         bool "Default bootloader kernel argume !!  91         select HAVE_PAGE_SIZE_8KB
 90         default y                              !!  92         bool
 91                                                    93 
 92 config CMDLINE                                 !!  94 config MMU_SUN3
 93         string "Default kernel command string" !!  95         bool
 94         default ""                             !!  96         select HAVE_PAGE_SIZE_8KB
 95         depends on CMDLINE_BOOL                !!  97         depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
 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 config ARCH_SUPPORTS_KEXEC
111         bool "Ignore kernel command string fro !! 100         def_bool M68KCLASSIC && MMU
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                                                   101 
119 config NIOS2_PASS_CMDLINE                      !! 102 config BOOTINFO_PROC
120         bool "Passed kernel command line from  !! 103         bool "Export bootinfo in procfs"
121         help                                   !! 104         depends on KEXEC && M68KCLASSIC
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                                      105         help
130           This option allows you to set the li !! 106           Say Y to export the bootinfo used to boot the kernel in a
131           This can be useful if you are on a b !! 107           "bootinfo" file in procfs.  This is useful with kexec.
132           memory.                              << 
133                                                   108 
134 endmenu                                        !! 109 menu "Platform setup"
135                                                << 
136 menu "Advanced setup"                          << 
137                                                   110 
138 config ADVANCED_OPTIONS                        !! 111 source "arch/m68k/Kconfig.cpu"
139         bool "Prompt for advanced kernel confi << 
140                                                   112 
141 comment "Default settings for advanced configu !! 113 source "arch/m68k/Kconfig.machine"
142         depends on !ADVANCED_OPTIONS           << 
143                                                   114 
144 config NIOS2_KERNEL_MMU_REGION_BASE_BOOL       !! 115 source "arch/m68k/Kconfig.bus"
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                                                   116 
150           Say N here unless you know what you  !! 117 endmenu
151                                                   118 
152 config NIOS2_KERNEL_MMU_REGION_BASE            !! 119 menu "Kernel Features"
153         hex "Virtual base address of the kerne << 
154         default "0x80000000"                   << 
155         help                                   << 
156           This option allows you to set the vi << 
157                                                   120 
158 config NIOS2_KERNEL_REGION_BASE_BOOL           !! 121 endmenu
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                                                << 
164           Say N here unless you know what you  << 
165                                                   122 
166 config NIOS2_KERNEL_REGION_BASE                !! 123 if !MMU
167         hex "Virtual base address of the kerne !! 124 menu "Power management options"
168         default "0xc0000000"                   << 
169                                                   125 
170 config NIOS2_IO_REGION_BASE_BOOL               !! 126 config PM
171         bool "Set custom I/O region base addre !! 127         bool "Power Management support"
172         depends on ADVANCED_OPTIONS            << 
173         help                                      128         help
174           This option allows you to set the vi !! 129           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                                                   130 
182 endmenu                                           131 endmenu
                                                   >> 132 endif
                                                   >> 133 
                                                   >> 134 source "arch/m68k/Kconfig.devices"
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php