Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | config MIPS |
| 3 | bool |
| 4 | default y |
Yury Norov | 942fa98 | 2018-05-16 11:18:49 +0300 | [diff] [blame] | 5 | select ARCH_32BIT_OFF_T if !64BIT |
Paul Burton | ea6a373 | 2018-11-07 23:14:09 +0000 | [diff] [blame] | 6 | select ARCH_BINFMT_ELF_STATE if MIPS_FP_SUPPORT |
Florian Fainelli | dfad83c | 2021-03-30 20:22:07 -0700 | [diff] [blame] | 7 | select ARCH_HAS_DEBUG_VIRTUAL if !64BIT |
Alexander Lobakin | 34c01e4 | 2020-01-22 13:58:51 +0300 | [diff] [blame] | 8 | select ARCH_HAS_FORTIFY_SOURCE |
| 9 | select ARCH_HAS_KCOV |
Tiezhu Yang | 66633ab | 2021-03-25 20:50:01 +0800 | [diff] [blame] | 10 | select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE if !EVA |
Alexander Lobakin | 34c01e4 | 2020-01-22 13:58:51 +0300 | [diff] [blame] | 11 | select ARCH_HAS_PTE_SPECIAL if !(32BIT && CPU_HAS_RIXI) |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 12 | select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST |
Hassan Naveed | 1e35918 | 2018-11-19 16:49:37 -0800 | [diff] [blame] | 13 | select ARCH_HAS_UBSAN_SANITIZE_ALL |
Xingxing Su | 8b3165e | 2020-12-03 15:22:51 +0800 | [diff] [blame] | 14 | select ARCH_HAS_GCOV_PROFILE_ALL |
Nick Desaulniers | c55944c | 2021-04-07 10:35:43 -0700 | [diff] [blame] | 15 | select ARCH_KEEP_MEMBLOCK |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 16 | select ARCH_SUPPORTS_UPROBES |
Ralf Baechle | 1ee3630 | 2015-09-29 12:19:48 +0200 | [diff] [blame] | 17 | select ARCH_USE_BUILTIN_BSWAP |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 18 | select ARCH_USE_CMPXCHG_LOCKREF if 64BIT |
Anshuman Khandual | dce4456 | 2021-04-29 22:55:15 -0700 | [diff] [blame] | 19 | select ARCH_USE_MEMTEST |
Paul Burton | 25da4e9 | 2017-06-09 17:26:42 -0700 | [diff] [blame] | 20 | select ARCH_USE_QUEUED_RWLOCKS |
Paul Burton | 0b17c96 | 2017-06-09 17:26:43 -0700 | [diff] [blame] | 21 | select ARCH_USE_QUEUED_SPINLOCKS |
Anshuman Khandual | 855f9a8 | 2021-05-04 18:38:13 -0700 | [diff] [blame] | 22 | select ARCH_SUPPORTS_HUGETLBFS if CPU_SUPPORTS_HUGEPAGES |
Alexandre Ghiti | 9035bd2 | 2019-09-23 15:39:18 -0700 | [diff] [blame] | 23 | select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 24 | select ARCH_WANT_IPC_PARSE_VERSION |
Alexander Lobakin | d3a4e0f | 2021-01-10 11:57:01 +0000 | [diff] [blame] | 25 | select ARCH_WANT_LD_ORPHAN_WARN |
Shile Zhang | 1091670 | 2019-12-04 08:46:31 +0800 | [diff] [blame] | 26 | select BUILDTIME_TABLE_SORT |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 27 | select CLONE_BACKWARDS |
Paul Burton | 57eeaced | 2018-11-08 23:44:55 +0000 | [diff] [blame] | 28 | select CPU_NO_EFFICIENT_FFS if (TARGET_ISA_REV < 1) |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 29 | select CPU_PM if CPU_IDLE |
| 30 | select GENERIC_ATOMIC64 if !64BIT |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 31 | select GENERIC_CMOS_UPDATE |
| 32 | select GENERIC_CPU_AUTOPROBE |
Alexander Lobakin | bab1dde | 2021-02-25 05:57:00 -0800 | [diff] [blame] | 33 | select GENERIC_FIND_FIRST_BIT |
Vincenzo Frascino | 24640f2 | 2019-06-21 10:52:46 +0100 | [diff] [blame] | 34 | select GENERIC_GETTIMEOFDAY |
Paul Burton | b962aeb | 2018-08-29 14:54:00 -0700 | [diff] [blame] | 35 | select GENERIC_IOMAP |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 36 | select GENERIC_IRQ_PROBE |
| 37 | select GENERIC_IRQ_SHOW |
Christoph Hellwig | 6630a8e | 2018-11-15 20:05:37 +0100 | [diff] [blame] | 38 | select GENERIC_ISA_DMA if EISA |
Antony Pavlov | 740129b | 2018-04-11 08:50:19 +0100 | [diff] [blame] | 39 | select GENERIC_LIB_ASHLDI3 |
| 40 | select GENERIC_LIB_ASHRDI3 |
| 41 | select GENERIC_LIB_CMPDI2 |
| 42 | select GENERIC_LIB_LSHRDI3 |
| 43 | select GENERIC_LIB_UCMPDI2 |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 44 | select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC |
| 45 | select GENERIC_SMP_IDLE_THREAD |
| 46 | select GENERIC_TIME_VSYSCALL |
Christoph Hellwig | 446f062 | 2019-07-11 20:56:52 -0700 | [diff] [blame] | 47 | select GUP_GET_PTE_LOW_HIGH if CPU_MIPS32 && PHYS_ADDR_T_64BIT |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 48 | select HANDLE_DOMAIN_IRQ |
Paul Burton | 906d441 | 2018-08-20 15:36:18 -0700 | [diff] [blame] | 49 | select HAVE_ARCH_COMPILER_H |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 50 | select HAVE_ARCH_JUMP_LABEL |
Arnd Bergmann | 42b2099 | 2021-01-22 12:02:51 +0100 | [diff] [blame] | 51 | select HAVE_ARCH_KGDB if MIPS_FP_SUPPORT |
Matt Redfearn | 109c32f | 2016-11-24 17:32:45 +0000 | [diff] [blame] | 52 | select HAVE_ARCH_MMAP_RND_BITS if MMU |
| 53 | select HAVE_ARCH_MMAP_RND_COMPAT_BITS if MMU && COMPAT |
Markos Chandras | 490b004 | 2014-01-22 14:40:04 +0000 | [diff] [blame] | 54 | select HAVE_ARCH_SECCOMP_FILTER |
Ralf Baechle | c0ff3c5 | 2012-08-17 08:22:04 +0200 | [diff] [blame] | 55 | select HAVE_ARCH_TRACEHOOK |
Daniel Silsby | 45e03e6 | 2019-07-15 17:40:01 -0400 | [diff] [blame] | 56 | select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES |
Masahiro Yamada | 2ff2b7e | 2019-08-19 14:54:20 +0900 | [diff] [blame] | 57 | select HAVE_ASM_MODVERSIONS |
Paul Burton | 36366e3 | 2019-12-05 10:23:18 -0800 | [diff] [blame] | 58 | select HAVE_CBPF_JIT if !64BIT && !CPU_MICROMIPS |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 59 | select HAVE_CONTEXT_TRACKING |
Frederic Weisbecker | 490f561 | 2020-01-27 16:41:52 +0100 | [diff] [blame] | 60 | select HAVE_TIF_NOHZ |
Wu Zhangjin | 64575f9 | 2010-10-27 18:59:09 +0800 | [diff] [blame] | 61 | select HAVE_C_RECORDMCOUNT |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 62 | select HAVE_DEBUG_KMEMLEAK |
| 63 | select HAVE_DEBUG_STACKOVERFLOW |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 64 | select HAVE_DMA_CONTIGUOUS |
| 65 | select HAVE_DYNAMIC_FTRACE |
Alexander Lobakin | 34c01e4 | 2020-01-22 13:58:51 +0300 | [diff] [blame] | 66 | select HAVE_EBPF_JIT if 64BIT && !CPU_MICROMIPS && TARGET_ISA_REV >= 2 |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 67 | select HAVE_EXIT_THREAD |
Christoph Hellwig | 67a929e | 2019-07-11 20:57:14 -0700 | [diff] [blame] | 68 | select HAVE_FAST_GUP |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 69 | select HAVE_FTRACE_MCOUNT_RECORD |
Wu Zhangjin | 29c5d34 | 2009-11-20 20:34:34 +0800 | [diff] [blame] | 70 | select HAVE_FUNCTION_GRAPH_TRACER |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 71 | select HAVE_FUNCTION_TRACER |
Alexander Lobakin | 34c01e4 | 2020-01-22 13:58:51 +0300 | [diff] [blame] | 72 | select HAVE_GCC_PLUGINS |
| 73 | select HAVE_GENERIC_VDSO |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 74 | select HAVE_IDE |
Hassan Naveed | b3a428b | 2018-10-29 18:27:41 -0700 | [diff] [blame] | 75 | select HAVE_IOREMAP_PROT |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 76 | select HAVE_IRQ_EXIT_ON_IRQ_STACK |
| 77 | select HAVE_IRQ_TIME_ACCOUNTING |
David Daney | c1bf207 | 2010-08-03 11:22:20 -0700 | [diff] [blame] | 78 | select HAVE_KPROBES |
| 79 | select HAVE_KRETPROBES |
Paul Burton | c0436b5 | 2018-11-21 21:56:36 +0000 | [diff] [blame] | 80 | select HAVE_LD_DEAD_CODE_DATA_ELIMINATION |
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 81 | select HAVE_MOD_ARCH_SPECIFIC |
Petr Mladek | 42a0bb3 | 2016-05-20 17:00:33 -0700 | [diff] [blame] | 82 | select HAVE_NMI |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 83 | select HAVE_PERF_EVENTS |
Tiezhu Yang | 1ddc96b | 2021-02-04 11:35:22 +0800 | [diff] [blame] | 84 | select HAVE_PERF_REGS |
| 85 | select HAVE_PERF_USER_STACK_DUMP |
Marcin Nowakowski | 08bccf4 | 2016-09-02 10:13:21 +0200 | [diff] [blame] | 86 | select HAVE_REGS_AND_STACK_ACCESS_API |
Paul Burton | 9ea141a | 2018-06-14 10:13:53 -0700 | [diff] [blame] | 87 | select HAVE_RSEQ |
Hassan Naveed | 16c0f03 | 2019-11-15 23:44:49 +0000 | [diff] [blame] | 88 | select HAVE_SPARSE_SYSCALL_NR |
Masahiro Yamada | d148eac | 2018-06-14 19:36:45 +0900 | [diff] [blame] | 89 | select HAVE_STACKPROTECTOR |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 90 | select HAVE_SYSCALL_TRACEPOINTS |
Ben Hutchings | a3f1431 | 2017-10-04 03:46:14 +0100 | [diff] [blame] | 91 | select HAVE_VIRT_CPU_ACCOUNTING_GEN if 64BIT || !SMP |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 92 | select IRQ_FORCED_THREADING |
Christoph Hellwig | 6630a8e | 2018-11-15 20:05:37 +0100 | [diff] [blame] | 93 | select ISA if EISA |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 94 | select MODULES_USE_ELF_REL if MODULES |
Alexander Lobakin | 34c01e4 | 2020-01-22 13:58:51 +0300 | [diff] [blame] | 95 | select MODULES_USE_ELF_RELA if MODULES && 64BIT |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 96 | select PERF_USE_VMALLOC |
Thomas Gleixner | 981aa1d | 2020-09-28 12:13:07 +0200 | [diff] [blame] | 97 | select PCI_MSI_ARCH_FALLBACKS if PCI_MSI |
Arnd Bergmann | 05a0a34 | 2018-08-28 16:26:30 +0200 | [diff] [blame] | 98 | select RTC_LIB |
Matt Redfearn | 1259798 | 2017-05-15 10:46:35 +0100 | [diff] [blame] | 99 | select SYSCTL_EXCEPTION_TRACE |
| 100 | select VIRT_TO_BUS |
Al Viro | 0bb87f0 | 2020-06-14 00:18:12 -0400 | [diff] [blame] | 101 | select ARCH_HAS_ELFCORE_COMPAT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 102 | |
Christoph Hellwig | d399157 | 2020-04-16 17:00:07 +0200 | [diff] [blame] | 103 | config MIPS_FIXUP_BIGPHYS_ADDR |
| 104 | bool |
| 105 | |
Paul Cercueil | c434b9f | 2020-09-06 21:29:25 +0200 | [diff] [blame] | 106 | config MIPS_GENERIC |
| 107 | bool |
| 108 | |
Paul Cercueil | f0f4a75 | 2020-09-06 21:29:31 +0200 | [diff] [blame] | 109 | config MACH_INGENIC |
| 110 | bool |
| 111 | select SYS_SUPPORTS_32BIT_KERNEL |
| 112 | select SYS_SUPPORTS_LITTLE_ENDIAN |
| 113 | select SYS_SUPPORTS_ZBOOT |
Paul Cercueil | f0f4a75 | 2020-09-06 21:29:31 +0200 | [diff] [blame] | 114 | select DMA_NONCOHERENT |
| 115 | select IRQ_MIPS_CPU |
| 116 | select PINCTRL |
| 117 | select GPIOLIB |
| 118 | select COMMON_CLK |
| 119 | select GENERIC_IRQ_CHIP |
| 120 | select BUILTIN_DTB if MIPS_NO_APPENDED_DTB |
| 121 | select USE_OF |
| 122 | select CPU_SUPPORTS_CPUFREQ |
| 123 | select MIPS_EXTERNAL_TIMER |
| 124 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 125 | menu "Machine selection" |
| 126 | |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 127 | choice |
| 128 | prompt "System type" |
Paul Cercueil | c434b9f | 2020-09-06 21:29:25 +0200 | [diff] [blame] | 129 | default MIPS_GENERIC_KERNEL |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 130 | |
Paul Cercueil | c434b9f | 2020-09-06 21:29:25 +0200 | [diff] [blame] | 131 | config MIPS_GENERIC_KERNEL |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 132 | bool "Generic board-agnostic MIPS kernel" |
Christoph Hellwig | 4e06644 | 2021-02-10 10:56:41 +0100 | [diff] [blame] | 133 | select ARCH_HAS_SETUP_DMA_OPS |
Paul Cercueil | c434b9f | 2020-09-06 21:29:25 +0200 | [diff] [blame] | 134 | select MIPS_GENERIC |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 135 | select BOOT_RAW |
| 136 | select BUILTIN_DTB |
| 137 | select CEVT_R4K |
| 138 | select CLKSRC_MIPS_GIC |
| 139 | select COMMON_CLK |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 140 | select CPU_MIPSR2_IRQ_EI |
Alexander Lobakin | 34c01e4 | 2020-01-22 13:58:51 +0300 | [diff] [blame] | 141 | select CPU_MIPSR2_IRQ_VI |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 142 | select CSRC_R4K |
Christoph Hellwig | 4e06644 | 2021-02-10 10:56:41 +0100 | [diff] [blame] | 143 | select DMA_NONCOHERENT |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 144 | select HAVE_PCI |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 145 | select IRQ_MIPS_CPU |
Paul Burton | 0211d49 | 2018-07-27 18:23:21 -0700 | [diff] [blame] | 146 | select MIPS_AUTO_PFN_OFFSET |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 147 | select MIPS_CPU_SCACHE |
| 148 | select MIPS_GIC |
| 149 | select MIPS_L1_CACHE_SHIFT_7 |
| 150 | select NO_EXCEPT_FILL |
| 151 | select PCI_DRIVERS_GENERIC |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 152 | select SMP_UP if SMP |
Matt Redfearn | a3078e5 | 2017-01-23 14:08:13 +0000 | [diff] [blame] | 153 | select SWAP_IO_SPACE |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 154 | select SYS_HAS_CPU_MIPS32_R1 |
| 155 | select SYS_HAS_CPU_MIPS32_R2 |
| 156 | select SYS_HAS_CPU_MIPS32_R6 |
| 157 | select SYS_HAS_CPU_MIPS64_R1 |
| 158 | select SYS_HAS_CPU_MIPS64_R2 |
| 159 | select SYS_HAS_CPU_MIPS64_R6 |
| 160 | select SYS_SUPPORTS_32BIT_KERNEL |
| 161 | select SYS_SUPPORTS_64BIT_KERNEL |
| 162 | select SYS_SUPPORTS_BIG_ENDIAN |
| 163 | select SYS_SUPPORTS_HIGHMEM |
| 164 | select SYS_SUPPORTS_LITTLE_ENDIAN |
| 165 | select SYS_SUPPORTS_MICROMIPS |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 166 | select SYS_SUPPORTS_MIPS16 |
Alexander Lobakin | 34c01e4 | 2020-01-22 13:58:51 +0300 | [diff] [blame] | 167 | select SYS_SUPPORTS_MIPS_CPS |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 168 | select SYS_SUPPORTS_MULTITHREADING |
| 169 | select SYS_SUPPORTS_RELOCATABLE |
| 170 | select SYS_SUPPORTS_SMARTMIPS |
Paul Cercueil | c3e2ee6 | 2020-09-06 21:29:29 +0200 | [diff] [blame] | 171 | select SYS_SUPPORTS_ZBOOT |
Alexander Lobakin | 34c01e4 | 2020-01-22 13:58:51 +0300 | [diff] [blame] | 172 | select UHI_BOOT |
Corentin Labbe | 2e6522c | 2018-01-17 19:56:38 +0100 | [diff] [blame] | 173 | select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN |
| 174 | select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN |
| 175 | select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN |
| 176 | select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN |
| 177 | select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN |
| 178 | select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 179 | select USE_OF |
| 180 | help |
| 181 | Select this to build a kernel which aims to support multiple boards, |
| 182 | generally using a flattened device tree passed from the bootloader |
| 183 | using the boot protocol defined in the UHI (Unified Hosting |
| 184 | Interface) specification. |
| 185 | |
Manuel Lauss | 42a4f17 | 2010-07-15 21:45:04 +0200 | [diff] [blame] | 186 | config MIPS_ALCHEMY |
Yoichi Yuasa | c3543e2 | 2007-05-11 20:44:30 +0900 | [diff] [blame] | 187 | bool "Alchemy processor based machines" |
Christoph Hellwig | d4a451d | 2018-04-03 16:24:20 +0200 | [diff] [blame] | 188 | select PHYS_ADDR_T_64BIT |
Ralf Baechle | f772cdb | 2012-11-30 17:27:27 +0100 | [diff] [blame] | 189 | select CEVT_R4K |
Steven J. Hill | d7ea335 | 2012-11-14 23:34:17 -0600 | [diff] [blame] | 190 | select CSRC_R4K |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 191 | select IRQ_MIPS_CPU |
Christoph Hellwig | a86497d | 2021-02-10 10:56:40 +0100 | [diff] [blame] | 192 | select DMA_NONCOHERENT # Au1000,1500,1100 aren't, rest is |
Christoph Hellwig | d399157 | 2020-04-16 17:00:07 +0200 | [diff] [blame] | 193 | select MIPS_FIXUP_BIGPHYS_ADDR if PCI |
Manuel Lauss | 42a4f17 | 2010-07-15 21:45:04 +0200 | [diff] [blame] | 194 | select SYS_HAS_CPU_MIPS32_R1 |
| 195 | select SYS_SUPPORTS_32BIT_KERNEL |
| 196 | select SYS_SUPPORTS_APM_EMULATION |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 197 | select GPIOLIB |
Wu Zhangjin | 1b93b3c | 2009-10-14 18:12:16 +0800 | [diff] [blame] | 198 | select SYS_SUPPORTS_ZBOOT |
Manuel Lauss | 4744022 | 2014-07-23 16:36:48 +0200 | [diff] [blame] | 199 | select COMMON_CLK |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 200 | |
Florian Fainelli | 7ca5dc1 | 2009-06-24 11:12:57 +0200 | [diff] [blame] | 201 | config AR7 |
| 202 | bool "Texas Instruments AR7" |
| 203 | select BOOT_ELF32 |
| 204 | select DMA_NONCOHERENT |
| 205 | select CEVT_R4K |
| 206 | select CSRC_R4K |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 207 | select IRQ_MIPS_CPU |
Florian Fainelli | 7ca5dc1 | 2009-06-24 11:12:57 +0200 | [diff] [blame] | 208 | select NO_EXCEPT_FILL |
| 209 | select SWAP_IO_SPACE |
| 210 | select SYS_HAS_CPU_MIPS32_R1 |
| 211 | select SYS_HAS_EARLY_PRINTK |
| 212 | select SYS_SUPPORTS_32BIT_KERNEL |
| 213 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Ralf Baechle | 377cb1b | 2014-04-29 01:49:24 +0200 | [diff] [blame] | 214 | select SYS_SUPPORTS_MIPS16 |
Wu Zhangjin | 1b93b3c | 2009-10-14 18:12:16 +0800 | [diff] [blame] | 215 | select SYS_SUPPORTS_ZBOOT_UART16550 |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 216 | select GPIOLIB |
Florian Fainelli | 7ca5dc1 | 2009-06-24 11:12:57 +0200 | [diff] [blame] | 217 | select VLYNQ |
Stephen Boyd | bbd7ffd | 2020-04-08 23:44:13 -0700 | [diff] [blame] | 218 | select HAVE_LEGACY_CLK |
Florian Fainelli | 7ca5dc1 | 2009-06-24 11:12:57 +0200 | [diff] [blame] | 219 | help |
| 220 | Support for the Texas Instruments AR7 System-on-a-Chip |
| 221 | family: TNETD7100, 7200 and 7300. |
| 222 | |
Sergey Ryazanov | 43cc739 | 2014-10-29 03:18:38 +0400 | [diff] [blame] | 223 | config ATH25 |
| 224 | bool "Atheros AR231x/AR531x SoC support" |
| 225 | select CEVT_R4K |
| 226 | select CSRC_R4K |
| 227 | select DMA_NONCOHERENT |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 228 | select IRQ_MIPS_CPU |
Sergey Ryazanov | 1753e74 | 2014-10-29 03:18:41 +0400 | [diff] [blame] | 229 | select IRQ_DOMAIN |
Sergey Ryazanov | 43cc739 | 2014-10-29 03:18:38 +0400 | [diff] [blame] | 230 | select SYS_HAS_CPU_MIPS32_R1 |
| 231 | select SYS_SUPPORTS_BIG_ENDIAN |
| 232 | select SYS_SUPPORTS_32BIT_KERNEL |
Sergey Ryazanov | 8aaa727 | 2014-10-29 03:18:42 +0400 | [diff] [blame] | 233 | select SYS_HAS_EARLY_PRINTK |
Sergey Ryazanov | 43cc739 | 2014-10-29 03:18:38 +0400 | [diff] [blame] | 234 | help |
| 235 | Support for Atheros AR231x and Atheros AR531x based boards |
| 236 | |
Gabor Juhos | d4a67d9 | 2011-01-04 21:28:14 +0100 | [diff] [blame] | 237 | config ATH79 |
| 238 | bool "Atheros AR71XX/AR724X/AR913X based boards" |
Alban Bedel | ff591a9 | 2015-08-03 19:23:52 +0200 | [diff] [blame] | 239 | select ARCH_HAS_RESET_CONTROLLER |
Gabor Juhos | d4a67d9 | 2011-01-04 21:28:14 +0100 | [diff] [blame] | 240 | select BOOT_RAW |
| 241 | select CEVT_R4K |
| 242 | select CSRC_R4K |
| 243 | select DMA_NONCOHERENT |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 244 | select GPIOLIB |
John Crispin | a08227a | 2018-07-20 13:58:20 +0200 | [diff] [blame] | 245 | select PINCTRL |
Alban Bedel | 411520a | 2015-04-19 14:30:04 +0200 | [diff] [blame] | 246 | select COMMON_CLK |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 247 | select IRQ_MIPS_CPU |
Gabor Juhos | d4a67d9 | 2011-01-04 21:28:14 +0100 | [diff] [blame] | 248 | select SYS_HAS_CPU_MIPS32_R2 |
| 249 | select SYS_HAS_EARLY_PRINTK |
| 250 | select SYS_SUPPORTS_32BIT_KERNEL |
| 251 | select SYS_SUPPORTS_BIG_ENDIAN |
Ralf Baechle | 377cb1b | 2014-04-29 01:49:24 +0200 | [diff] [blame] | 252 | select SYS_SUPPORTS_MIPS16 |
Alban Bedel | b3f0a25 | 2016-01-26 09:38:29 +0100 | [diff] [blame] | 253 | select SYS_SUPPORTS_ZBOOT_UART_PROM |
Alban Bedel | 03c8c40 | 2015-05-31 01:52:25 +0200 | [diff] [blame] | 254 | select USE_OF |
Alban Bedel | 53d473f | 2018-03-24 23:47:22 +0100 | [diff] [blame] | 255 | select USB_EHCI_ROOT_HUB_TT if USB_EHCI_HCD_PLATFORM |
Gabor Juhos | d4a67d9 | 2011-01-04 21:28:14 +0100 | [diff] [blame] | 256 | help |
| 257 | Support for the Atheros AR71XX/AR724X/AR913X SoCs. |
| 258 | |
Kevin Cernekee | 5f2d445 | 2014-12-25 09:49:00 -0800 | [diff] [blame] | 259 | config BMIPS_GENERIC |
| 260 | bool "Broadcom Generic BMIPS kernel" |
Álvaro Fernández Rojas | 29906e1 | 2020-06-17 12:50:33 +0200 | [diff] [blame] | 261 | select ARCH_HAS_RESET_CONTROLLER |
Christoph Hellwig | d59098a | 2018-06-15 13:08:52 +0200 | [diff] [blame] | 262 | select ARCH_HAS_SYNC_DMA_FOR_CPU_ALL |
| 263 | select ARCH_HAS_PHYS_TO_DMA |
Kevin Cernekee | d666cd0 | 2014-10-20 21:28:05 -0700 | [diff] [blame] | 264 | select BOOT_RAW |
| 265 | select NO_EXCEPT_FILL |
| 266 | select USE_OF |
| 267 | select CEVT_R4K |
| 268 | select CSRC_R4K |
| 269 | select SYNC_R4K |
| 270 | select COMMON_CLK |
Simon Arlott | c7c42ec | 2015-11-22 14:30:14 +0000 | [diff] [blame] | 271 | select BCM6345_L1_IRQ |
Kevin Cernekee | 60b858f | 2014-12-25 09:49:17 -0800 | [diff] [blame] | 272 | select BCM7038_L1_IRQ |
| 273 | select BCM7120_L2_IRQ |
| 274 | select BRCMSTB_L2_IRQ |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 275 | select IRQ_MIPS_CPU |
Kevin Cernekee | 60b858f | 2014-12-25 09:49:17 -0800 | [diff] [blame] | 276 | select DMA_NONCOHERENT |
Kevin Cernekee | d666cd0 | 2014-10-20 21:28:05 -0700 | [diff] [blame] | 277 | select SYS_SUPPORTS_32BIT_KERNEL |
Kevin Cernekee | 60b858f | 2014-12-25 09:49:17 -0800 | [diff] [blame] | 278 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Kevin Cernekee | d666cd0 | 2014-10-20 21:28:05 -0700 | [diff] [blame] | 279 | select SYS_SUPPORTS_BIG_ENDIAN |
| 280 | select SYS_SUPPORTS_HIGHMEM |
Kevin Cernekee | 60b858f | 2014-12-25 09:49:17 -0800 | [diff] [blame] | 281 | select SYS_HAS_CPU_BMIPS32_3300 |
| 282 | select SYS_HAS_CPU_BMIPS4350 |
| 283 | select SYS_HAS_CPU_BMIPS4380 |
Kevin Cernekee | d666cd0 | 2014-10-20 21:28:05 -0700 | [diff] [blame] | 284 | select SYS_HAS_CPU_BMIPS5000 |
| 285 | select SWAP_IO_SPACE |
Kevin Cernekee | 60b858f | 2014-12-25 09:49:17 -0800 | [diff] [blame] | 286 | select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN |
| 287 | select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN |
| 288 | select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN |
| 289 | select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN |
Justin Chen | 4dc4704 | 2017-05-24 10:55:16 -0700 | [diff] [blame] | 290 | select HARDIRQS_SW_RESEND |
Kevin Cernekee | d666cd0 | 2014-10-20 21:28:05 -0700 | [diff] [blame] | 291 | help |
Kevin Cernekee | 5f2d445 | 2014-12-25 09:49:00 -0800 | [diff] [blame] | 292 | Build a generic DT-based kernel image that boots on select |
| 293 | BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top |
| 294 | box chips. Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN |
| 295 | must be set appropriately for your board. |
Kevin Cernekee | d666cd0 | 2014-10-20 21:28:05 -0700 | [diff] [blame] | 296 | |
Aurelien Jarno | 1c0c13e | 2007-09-25 15:40:12 +0200 | [diff] [blame] | 297 | config BCM47XX |
Florian Fainelli | c619366 | 2010-03-25 11:42:41 +0100 | [diff] [blame] | 298 | bool "Broadcom BCM47XX based boards" |
Hauke Mehrtens | fe08f8c | 2012-12-26 20:06:17 +0000 | [diff] [blame] | 299 | select BOOT_RAW |
Ralf Baechle | 42f7754 | 2007-10-18 17:48:11 +0100 | [diff] [blame] | 300 | select CEVT_R4K |
Ralf Baechle | 940f6b4 | 2007-11-24 22:33:28 +0000 | [diff] [blame] | 301 | select CSRC_R4K |
Aurelien Jarno | 1c0c13e | 2007-09-25 15:40:12 +0200 | [diff] [blame] | 302 | select DMA_NONCOHERENT |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 303 | select HAVE_PCI |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 304 | select IRQ_MIPS_CPU |
Markos Chandras | 314878d | 2013-07-23 15:40:37 +0100 | [diff] [blame] | 305 | select SYS_HAS_CPU_MIPS32_R1 |
Hauke Mehrtens | dd54ded | 2012-12-26 20:06:18 +0000 | [diff] [blame] | 306 | select NO_EXCEPT_FILL |
Aurelien Jarno | 1c0c13e | 2007-09-25 15:40:12 +0200 | [diff] [blame] | 307 | select SYS_SUPPORTS_32BIT_KERNEL |
| 308 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Ralf Baechle | 377cb1b | 2014-04-29 01:49:24 +0200 | [diff] [blame] | 309 | select SYS_SUPPORTS_MIPS16 |
Aaro Koskinen | 6507831 | 2018-01-17 00:21:44 +0200 | [diff] [blame] | 310 | select SYS_SUPPORTS_ZBOOT |
Aurelien Jarno | 25e5fb9 | 2007-09-25 15:41:24 +0200 | [diff] [blame] | 311 | select SYS_HAS_EARLY_PRINTK |
Ralf Baechle | e608655 | 2014-03-26 21:40:25 +0100 | [diff] [blame] | 312 | select USE_GENERIC_EARLY_PRINTK_8250 |
Rafał Miłecki | c949c0b | 2014-06-17 16:36:50 +0200 | [diff] [blame] | 313 | select GPIOLIB |
| 314 | select LEDS_GPIO_REGISTER |
Rafał Miłecki | f6e734a | 2015-06-10 23:05:08 +0200 | [diff] [blame] | 315 | select BCM47XX_NVRAM |
Rafał Miłecki | 2ab71a0 | 2016-01-25 09:50:29 +0100 | [diff] [blame] | 316 | select BCM47XX_SPROM |
Matt Redfearn | dfe0049 | 2017-11-14 17:16:27 +0000 | [diff] [blame] | 317 | select BCM47XX_SSB if !BCM47XX_BCMA |
Aurelien Jarno | 1c0c13e | 2007-09-25 15:40:12 +0200 | [diff] [blame] | 318 | help |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 319 | Support for BCM47XX based boards |
Aurelien Jarno | 1c0c13e | 2007-09-25 15:40:12 +0200 | [diff] [blame] | 320 | |
Maxime Bizon | e7300d0 | 2009-08-18 13:23:37 +0100 | [diff] [blame] | 321 | config BCM63XX |
| 322 | bool "Broadcom BCM63XX based boards" |
Florian Fainelli | ae8de61 | 2013-06-18 16:55:39 +0000 | [diff] [blame] | 323 | select BOOT_RAW |
Maxime Bizon | e7300d0 | 2009-08-18 13:23:37 +0100 | [diff] [blame] | 324 | select CEVT_R4K |
| 325 | select CSRC_R4K |
Jonas Gorski | fc26402 | 2014-07-08 16:26:13 +0200 | [diff] [blame] | 326 | select SYNC_R4K |
Maxime Bizon | e7300d0 | 2009-08-18 13:23:37 +0100 | [diff] [blame] | 327 | select DMA_NONCOHERENT |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 328 | select IRQ_MIPS_CPU |
Maxime Bizon | e7300d0 | 2009-08-18 13:23:37 +0100 | [diff] [blame] | 329 | select SYS_SUPPORTS_32BIT_KERNEL |
| 330 | select SYS_SUPPORTS_BIG_ENDIAN |
| 331 | select SYS_HAS_EARLY_PRINTK |
| 332 | select SWAP_IO_SPACE |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 333 | select GPIOLIB |
Florian Fainelli | af2418b | 2014-01-14 09:54:40 -0800 | [diff] [blame] | 334 | select MIPS_L1_CACHE_SHIFT_4 |
Jonas Gorski | c5af3c2 | 2017-09-20 13:14:01 +0200 | [diff] [blame] | 335 | select CLKDEV_LOOKUP |
Stephen Boyd | bbd7ffd | 2020-04-08 23:44:13 -0700 | [diff] [blame] | 336 | select HAVE_LEGACY_CLK |
Maxime Bizon | e7300d0 | 2009-08-18 13:23:37 +0100 | [diff] [blame] | 337 | help |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 338 | Support for BCM63XX based boards |
Maxime Bizon | e7300d0 | 2009-08-18 13:23:37 +0100 | [diff] [blame] | 339 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 340 | config MIPS_COBALT |
Martin Michlmayr | 3fa986f | 2006-05-09 23:34:53 +0200 | [diff] [blame] | 341 | bool "Cobalt Server" |
Ralf Baechle | 42f7754 | 2007-10-18 17:48:11 +0100 | [diff] [blame] | 342 | select CEVT_R4K |
Ralf Baechle | 940f6b4 | 2007-11-24 22:33:28 +0000 | [diff] [blame] | 343 | select CSRC_R4K |
Yoichi Yuasa | 1097c6a | 2007-10-22 19:43:15 +0900 | [diff] [blame] | 344 | select CEVT_GT641XX |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 345 | select DMA_NONCOHERENT |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 346 | select FORCE_PCI |
Ralf Baechle | d865bea | 2007-10-11 23:46:10 +0100 | [diff] [blame] | 347 | select I8253 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 348 | select I8259 |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 349 | select IRQ_MIPS_CPU |
Yoichi Yuasa | d5ab1a6 | 2007-09-13 23:51:26 +0900 | [diff] [blame] | 350 | select IRQ_GT641XX |
Yoichi Yuasa | 252161e | 2007-03-14 21:51:26 +0900 | [diff] [blame] | 351 | select PCI_GT64XXX_PCI0 |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 352 | select SYS_HAS_CPU_NEVADA |
Yoichi Yuasa | 0a22e0d | 2007-03-02 12:42:33 +0900 | [diff] [blame] | 353 | select SYS_HAS_EARLY_PRINTK |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 354 | select SYS_SUPPORTS_32BIT_KERNEL |
Florian Fainelli | 0e8774b | 2008-01-15 19:42:57 +0100 | [diff] [blame] | 355 | select SYS_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 356 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Ralf Baechle | e608655 | 2014-03-26 21:40:25 +0100 | [diff] [blame] | 357 | select USE_GENERIC_EARLY_PRINTK_8250 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 358 | |
| 359 | config MACH_DECSTATION |
Martin Michlmayr | 3fa986f | 2006-05-09 23:34:53 +0200 | [diff] [blame] | 360 | bool "DECstations" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 361 | select BOOT_ELF32 |
Yoichi Yuasa | 6457d9f | 2008-04-25 12:11:44 +0900 | [diff] [blame] | 362 | select CEVT_DS1287 |
Maciej W. Rozycki | 81d10ba | 2014-04-06 21:46:05 +0100 | [diff] [blame] | 363 | select CEVT_R4K if CPU_R4X00 |
Yoichi Yuasa | 4247417 | 2008-04-24 09:48:40 +0900 | [diff] [blame] | 364 | select CSRC_IOASIC |
Maciej W. Rozycki | 81d10ba | 2014-04-06 21:46:05 +0100 | [diff] [blame] | 365 | select CSRC_R4K if CPU_R4X00 |
Maciej W. Rozycki | 20d60d9 | 2007-10-23 12:43:11 +0100 | [diff] [blame] | 366 | select CPU_DADDI_WORKAROUNDS if 64BIT |
| 367 | select CPU_R4000_WORKAROUNDS if 64BIT |
| 368 | select CPU_R4400_WORKAROUNDS if 64BIT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 369 | select DMA_NONCOHERENT |
Uwe Kleine-König | ce816fa | 2014-04-07 15:39:19 -0700 | [diff] [blame] | 370 | select NO_IOPORT_MAP |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 371 | select IRQ_MIPS_CPU |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 372 | select SYS_HAS_CPU_R3000 |
| 373 | select SYS_HAS_CPU_R4X00 |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 374 | select SYS_SUPPORTS_32BIT_KERNEL |
Kees Cook | 7d60717 | 2013-01-16 18:53:19 -0800 | [diff] [blame] | 375 | select SYS_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 376 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Atsushi Nemoto | 1723b4a | 2006-06-20 00:19:13 +0900 | [diff] [blame] | 377 | select SYS_SUPPORTS_128HZ |
| 378 | select SYS_SUPPORTS_256HZ |
| 379 | select SYS_SUPPORTS_1024HZ |
Florian Fainelli | 930beb5 | 2014-01-14 09:54:38 -0800 | [diff] [blame] | 380 | select MIPS_L1_CACHE_SHIFT_4 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 381 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 382 | This enables support for DEC's MIPS based workstations. For details |
| 383 | see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the |
| 384 | DECstation porting pages on <http://decstation.unix-ag.org/>. |
| 385 | |
| 386 | If you have one of the following DECstation Models you definitely |
| 387 | want to choose R4xx0 for the CPU Type: |
| 388 | |
Ralf Baechle | 9308816 | 2007-08-29 14:21:45 +0100 | [diff] [blame] | 389 | DECstation 5000/50 |
| 390 | DECstation 5000/150 |
| 391 | DECstation 5000/260 |
| 392 | DECsystem 5900/260 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 393 | |
| 394 | otherwise choose R3000. |
| 395 | |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 396 | config MACH_JAZZ |
Martin Michlmayr | 3fa986f | 2006-05-09 23:34:53 +0200 | [diff] [blame] | 397 | bool "Jazz family of machines" |
Thomas Bogendoerfer | 39b2d75 | 2019-10-09 15:27:14 +0200 | [diff] [blame] | 398 | select ARC_MEMORY |
| 399 | select ARC_PROMLIB |
Ralf Baechle | a211a082 | 2018-02-05 15:37:43 +0100 | [diff] [blame] | 400 | select ARCH_MIGHT_HAVE_PC_PARPORT |
Ralf Baechle | 7a407aa | 2018-02-05 16:40:00 +0100 | [diff] [blame] | 401 | select ARCH_MIGHT_HAVE_PC_SERIO |
Christoph Hellwig | 2f9237d | 2020-07-08 09:30:00 +0200 | [diff] [blame] | 402 | select DMA_OPS |
Ralf Baechle | 0e2794b | 2012-11-15 20:48:50 +0100 | [diff] [blame] | 403 | select FW_ARC |
| 404 | select FW_ARC32 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 405 | select ARCH_MAY_HAVE_PC_FDC |
Ralf Baechle | 42f7754 | 2007-10-18 17:48:11 +0100 | [diff] [blame] | 406 | select CEVT_R4K |
Ralf Baechle | 940f6b4 | 2007-11-24 22:33:28 +0000 | [diff] [blame] | 407 | select CSRC_R4K |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 408 | select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 409 | select GENERIC_ISA_DMA |
Ralf Baechle | 8a118c3 | 2011-06-01 19:05:10 +0100 | [diff] [blame] | 410 | select HAVE_PCSPKR_PLATFORM |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 411 | select IRQ_MIPS_CPU |
Ralf Baechle | d865bea | 2007-10-11 23:46:10 +0100 | [diff] [blame] | 412 | select I8253 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 413 | select I8259 |
| 414 | select ISA |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 415 | select SYS_HAS_CPU_R4X00 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 416 | select SYS_SUPPORTS_32BIT_KERNEL |
Kees Cook | 7d60717 | 2013-01-16 18:53:19 -0800 | [diff] [blame] | 417 | select SYS_SUPPORTS_64BIT_KERNEL |
Atsushi Nemoto | 1723b4a | 2006-06-20 00:19:13 +0900 | [diff] [blame] | 418 | select SYS_SUPPORTS_100HZ |
Arnd Bergmann | aadfe4b | 2021-01-22 12:02:50 +0100 | [diff] [blame] | 419 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 420 | help |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 421 | This a family of machines based on the MIPS R4030 chipset which was |
| 422 | used by several vendors to build RISC/os and Windows NT workstations. |
| 423 | Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and |
| 424 | Olivetti M700-10 workstations. |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 425 | |
Paul Cercueil | f0f4a75 | 2020-09-06 21:29:31 +0200 | [diff] [blame] | 426 | config MACH_INGENIC_SOC |
Paul Burton | de361e8 | 2015-05-24 16:11:13 +0100 | [diff] [blame] | 427 | bool "Ingenic SoC based machines" |
Paul Cercueil | f0f4a75 | 2020-09-06 21:29:31 +0200 | [diff] [blame] | 428 | select MIPS_GENERIC |
| 429 | select MACH_INGENIC |
Lluís Batlle i Rossell | f9c9aff | 2012-03-30 16:48:05 +0200 | [diff] [blame] | 430 | select SYS_SUPPORTS_ZBOOT_UART16550 |
Lars-Peter Clausen | 5ebabe5 | 2010-06-19 04:08:19 +0000 | [diff] [blame] | 431 | |
John Crispin | 171bb2f | 2011-03-30 09:27:47 +0200 | [diff] [blame] | 432 | config LANTIQ |
| 433 | bool "Lantiq based platforms" |
| 434 | select DMA_NONCOHERENT |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 435 | select IRQ_MIPS_CPU |
John Crispin | 171bb2f | 2011-03-30 09:27:47 +0200 | [diff] [blame] | 436 | select CEVT_R4K |
| 437 | select CSRC_R4K |
| 438 | select SYS_HAS_CPU_MIPS32_R1 |
| 439 | select SYS_HAS_CPU_MIPS32_R2 |
| 440 | select SYS_SUPPORTS_BIG_ENDIAN |
| 441 | select SYS_SUPPORTS_32BIT_KERNEL |
Ralf Baechle | 377cb1b | 2014-04-29 01:49:24 +0200 | [diff] [blame] | 442 | select SYS_SUPPORTS_MIPS16 |
John Crispin | 171bb2f | 2011-03-30 09:27:47 +0200 | [diff] [blame] | 443 | select SYS_SUPPORTS_MULTITHREADING |
James Hogan | f35764e | 2018-01-15 20:54:35 +0000 | [diff] [blame] | 444 | select SYS_SUPPORTS_VPE_LOADER |
John Crispin | 171bb2f | 2011-03-30 09:27:47 +0200 | [diff] [blame] | 445 | select SYS_HAS_EARLY_PRINTK |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 446 | select GPIOLIB |
John Crispin | 171bb2f | 2011-03-30 09:27:47 +0200 | [diff] [blame] | 447 | select SWAP_IO_SPACE |
| 448 | select BOOT_RAW |
John Crispin | 287e3f3 | 2012-04-17 15:53:19 +0200 | [diff] [blame] | 449 | select CLKDEV_LOOKUP |
Stephen Boyd | bbd7ffd | 2020-04-08 23:44:13 -0700 | [diff] [blame] | 450 | select HAVE_LEGACY_CLK |
John Crispin | a039222 | 2012-04-13 20:56:13 +0200 | [diff] [blame] | 451 | select USE_OF |
John Crispin | 3f8c50c | 2012-08-28 12:44:59 +0200 | [diff] [blame] | 452 | select PINCTRL |
| 453 | select PINCTRL_LANTIQ |
John Crispin | c530781 | 2013-09-03 13:18:12 +0200 | [diff] [blame] | 454 | select ARCH_HAS_RESET_CONTROLLER |
| 455 | select RESET_CONTROLLER |
John Crispin | 171bb2f | 2011-03-30 09:27:47 +0200 | [diff] [blame] | 456 | |
Huacai Chen | 30ad29b | 2015-04-21 10:00:35 +0800 | [diff] [blame] | 457 | config MACH_LOONGSON32 |
Huacai Chen | caed1d1 | 2019-11-04 14:11:21 +0800 | [diff] [blame] | 458 | bool "Loongson 32-bit family of machines" |
Wu Zhangjin | c7e8c66 | 2010-01-04 17:16:46 +0800 | [diff] [blame] | 459 | select SYS_SUPPORTS_ZBOOT |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 460 | help |
Huacai Chen | 30ad29b | 2015-04-21 10:00:35 +0800 | [diff] [blame] | 461 | This enables support for the Loongson-1 family of machines. |
Wu Zhangjin | 85749d2 | 2009-07-02 23:26:45 +0800 | [diff] [blame] | 462 | |
Huacai Chen | 30ad29b | 2015-04-21 10:00:35 +0800 | [diff] [blame] | 463 | Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by |
| 464 | the Institute of Computing Technology (ICT), Chinese Academy of |
| 465 | Sciences (CAS). |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 466 | |
Jiaxun Yang | 71e2f4d | 2019-10-20 22:43:14 +0800 | [diff] [blame] | 467 | config MACH_LOONGSON2EF |
| 468 | bool "Loongson-2E/F family of machines" |
Kelvin Cheung | ca585cf | 2012-07-25 16:17:24 +0200 | [diff] [blame] | 469 | select SYS_SUPPORTS_ZBOOT |
| 470 | help |
Jiaxun Yang | 71e2f4d | 2019-10-20 22:43:14 +0800 | [diff] [blame] | 471 | This enables the support of early Loongson-2E/F family of machines. |
Kelvin Cheung | ca585cf | 2012-07-25 16:17:24 +0200 | [diff] [blame] | 472 | |
Jiaxun Yang | 71e2f4d | 2019-10-20 22:43:14 +0800 | [diff] [blame] | 473 | config MACH_LOONGSON64 |
Huacai Chen | caed1d1 | 2019-11-04 14:11:21 +0800 | [diff] [blame] | 474 | bool "Loongson 64-bit family of machines" |
Jiaxun Yang | 6fbde6b | 2019-10-20 23:01:36 +0800 | [diff] [blame] | 475 | select ARCH_SPARSEMEM_ENABLE |
| 476 | select ARCH_MIGHT_HAVE_PC_PARPORT |
| 477 | select ARCH_MIGHT_HAVE_PC_SERIO |
| 478 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
| 479 | select BOOT_ELF32 |
| 480 | select BOARD_SCACHE |
| 481 | select CSRC_R4K |
| 482 | select CEVT_R4K |
| 483 | select CPU_HAS_WB |
| 484 | select FORCE_PCI |
| 485 | select ISA |
| 486 | select I8259 |
| 487 | select IRQ_MIPS_CPU |
Jiaxun Yang | 7d6d283 | 2020-05-27 14:34:34 +0800 | [diff] [blame] | 488 | select NO_EXCEPT_FILL |
Tiezhu Yang | 5125bfe | 2020-03-31 15:00:06 +0800 | [diff] [blame] | 489 | select NR_CPUS_DEFAULT_64 |
Jiaxun Yang | 6fbde6b | 2019-10-20 23:01:36 +0800 | [diff] [blame] | 490 | select USE_GENERIC_EARLY_PRINTK_8250 |
Jiaxun Yang | 6423e59 | 2020-05-26 17:21:16 +0800 | [diff] [blame] | 491 | select PCI_DRIVERS_GENERIC |
Jiaxun Yang | 6fbde6b | 2019-10-20 23:01:36 +0800 | [diff] [blame] | 492 | select SYS_HAS_CPU_LOONGSON64 |
| 493 | select SYS_HAS_EARLY_PRINTK |
| 494 | select SYS_SUPPORTS_SMP |
| 495 | select SYS_SUPPORTS_HOTPLUG_CPU |
| 496 | select SYS_SUPPORTS_NUMA |
| 497 | select SYS_SUPPORTS_64BIT_KERNEL |
| 498 | select SYS_SUPPORTS_HIGHMEM |
| 499 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Jiaxun Yang | 71e2f4d | 2019-10-20 22:43:14 +0800 | [diff] [blame] | 500 | select SYS_SUPPORTS_ZBOOT |
Jinyang He | a307a4c | 2020-11-25 18:07:46 +0800 | [diff] [blame] | 501 | select SYS_SUPPORTS_RELOCATABLE |
Jiaxun Yang | 6fbde6b | 2019-10-20 23:01:36 +0800 | [diff] [blame] | 502 | select ZONE_DMA32 |
Jiaxun Yang | 87fcfa7 | 2020-03-25 11:55:02 +0800 | [diff] [blame] | 503 | select COMMON_CLK |
| 504 | select USE_OF |
| 505 | select BUILTIN_DTB |
Huacai Chen | 39c1485 | 2020-07-29 14:58:37 +0800 | [diff] [blame] | 506 | select PCI_HOST_GENERIC |
Jiaxun Yang | 71e2f4d | 2019-10-20 22:43:14 +0800 | [diff] [blame] | 507 | help |
Huacai Chen | caed1d1 | 2019-11-04 14:11:21 +0800 | [diff] [blame] | 508 | This enables the support of Loongson-2/3 family of machines. |
| 509 | |
| 510 | Loongson-2 and Loongson-3 are 64-bit general-purpose processors with |
| 511 | GS264/GS464/GS464E/GS464V microarchitecture (except old Loongson-2E |
| 512 | and Loongson-2F which will be removed), developed by the Institute |
| 513 | of Computing Technology (ICT), Chinese Academy of Sciences (CAS). |
Kelvin Cheung | ca585cf | 2012-07-25 16:17:24 +0200 | [diff] [blame] | 514 | |
Andrew Bresticker | 6a43830 | 2015-03-16 14:43:10 -0700 | [diff] [blame] | 515 | config MACH_PISTACHIO |
| 516 | bool "IMG Pistachio SoC based boards" |
Andrew Bresticker | 6a43830 | 2015-03-16 14:43:10 -0700 | [diff] [blame] | 517 | select BOOT_ELF32 |
| 518 | select BOOT_RAW |
| 519 | select CEVT_R4K |
| 520 | select CLKSRC_MIPS_GIC |
| 521 | select COMMON_CLK |
| 522 | select CSRC_R4K |
Zubair Lutfullah Kakakhel | 645c782 | 2016-06-03 09:35:00 +0100 | [diff] [blame] | 523 | select DMA_NONCOHERENT |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 524 | select GPIOLIB |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 525 | select IRQ_MIPS_CPU |
Andrew Bresticker | 6a43830 | 2015-03-16 14:43:10 -0700 | [diff] [blame] | 526 | select MFD_SYSCON |
| 527 | select MIPS_CPU_SCACHE |
| 528 | select MIPS_GIC |
| 529 | select PINCTRL |
| 530 | select REGULATOR |
| 531 | select SYS_HAS_CPU_MIPS32_R2 |
| 532 | select SYS_SUPPORTS_32BIT_KERNEL |
| 533 | select SYS_SUPPORTS_LITTLE_ENDIAN |
| 534 | select SYS_SUPPORTS_MIPS_CPS |
| 535 | select SYS_SUPPORTS_MULTITHREADING |
Matt Redfearn | 41cc07b | 2016-05-25 12:58:40 +0100 | [diff] [blame] | 536 | select SYS_SUPPORTS_RELOCATABLE |
Andrew Bresticker | 6a43830 | 2015-03-16 14:43:10 -0700 | [diff] [blame] | 537 | select SYS_SUPPORTS_ZBOOT |
Ezequiel Garcia | 018f62e | 2015-04-28 19:08:35 -0300 | [diff] [blame] | 538 | select SYS_HAS_EARLY_PRINTK |
| 539 | select USE_GENERIC_EARLY_PRINTK_8250 |
Andrew Bresticker | 6a43830 | 2015-03-16 14:43:10 -0700 | [diff] [blame] | 540 | select USE_OF |
| 541 | help |
| 542 | This enables support for the IMG Pistachio SoC platform. |
| 543 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 544 | config MIPS_MALTA |
Martin Michlmayr | 3fa986f | 2006-05-09 23:34:53 +0200 | [diff] [blame] | 545 | bool "MIPS Malta board" |
Ralf Baechle | 61ed242 | 2005-09-15 08:52:34 +0000 | [diff] [blame] | 546 | select ARCH_MAY_HAVE_PC_FDC |
Ralf Baechle | a211a082 | 2018-02-05 15:37:43 +0100 | [diff] [blame] | 547 | select ARCH_MIGHT_HAVE_PC_PARPORT |
Ralf Baechle | 7a407aa | 2018-02-05 16:40:00 +0100 | [diff] [blame] | 548 | select ARCH_MIGHT_HAVE_PC_SERIO |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 549 | select BOOT_ELF32 |
Ralf Baechle | fa71c96 | 2008-01-29 10:15:00 +0000 | [diff] [blame] | 550 | select BOOT_RAW |
Paul Burton | e8823d2 | 2015-05-22 16:51:02 +0100 | [diff] [blame] | 551 | select BUILTIN_DTB |
Ralf Baechle | 42f7754 | 2007-10-18 17:48:11 +0100 | [diff] [blame] | 552 | select CEVT_R4K |
Andrew Bresticker | fa5635a | 2014-10-20 12:03:58 -0700 | [diff] [blame] | 553 | select CLKSRC_MIPS_GIC |
Guenter Roeck | 42b002a | 2015-08-22 02:40:41 -0700 | [diff] [blame] | 554 | select COMMON_CLK |
Maksym Kokhan | 47bf2b0 | 2018-11-12 19:00:59 +0200 | [diff] [blame] | 555 | select CSRC_R4K |
Christoph Hellwig | a86497d | 2021-02-10 10:56:40 +0100 | [diff] [blame] | 556 | select DMA_NONCOHERENT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 557 | select GENERIC_ISA_DMA |
Ralf Baechle | 8a118c3 | 2011-06-01 19:05:10 +0100 | [diff] [blame] | 558 | select HAVE_PCSPKR_PLATFORM |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 559 | select HAVE_PCI |
Ralf Baechle | d865bea | 2007-10-11 23:46:10 +0100 | [diff] [blame] | 560 | select I8253 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 561 | select I8259 |
Maksym Kokhan | 47bf2b0 | 2018-11-12 19:00:59 +0200 | [diff] [blame] | 562 | select IRQ_MIPS_CPU |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 563 | select MIPS_BONITO64 |
Chris Dearman | 9318c51 | 2006-06-20 17:15:20 +0100 | [diff] [blame] | 564 | select MIPS_CPU_SCACHE |
Maksym Kokhan | 47bf2b0 | 2018-11-12 19:00:59 +0200 | [diff] [blame] | 565 | select MIPS_GIC |
Kevin Cernekee | a7ef1ea | 2014-10-20 21:27:57 -0700 | [diff] [blame] | 566 | select MIPS_L1_CACHE_SHIFT_6 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 567 | select MIPS_MSC |
Maksym Kokhan | 47bf2b0 | 2018-11-12 19:00:59 +0200 | [diff] [blame] | 568 | select PCI_GT64XXX_PCI0 |
Paul Burton | ecafe3e | 2015-09-22 11:58:43 -0700 | [diff] [blame] | 569 | select SMP_UP if SMP |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 570 | select SWAP_IO_SPACE |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 571 | select SYS_HAS_CPU_MIPS32_R1 |
| 572 | select SYS_HAS_CPU_MIPS32_R2 |
Markos Chandras | bfc3c5a | 2014-01-16 13:12:36 +0000 | [diff] [blame] | 573 | select SYS_HAS_CPU_MIPS32_R3_5 |
Steven J. Hill | c5b3678 | 2015-02-26 18:16:38 -0600 | [diff] [blame] | 574 | select SYS_HAS_CPU_MIPS32_R5 |
Markos Chandras | 575509b | 2014-11-19 11:31:56 +0000 | [diff] [blame] | 575 | select SYS_HAS_CPU_MIPS32_R6 |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 576 | select SYS_HAS_CPU_MIPS64_R1 |
Leonid Yegoshin | 5d9fbed | 2012-07-19 09:11:15 +0200 | [diff] [blame] | 577 | select SYS_HAS_CPU_MIPS64_R2 |
Markos Chandras | 575509b | 2014-11-19 11:31:56 +0000 | [diff] [blame] | 578 | select SYS_HAS_CPU_MIPS64_R6 |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 579 | select SYS_HAS_CPU_NEVADA |
| 580 | select SYS_HAS_CPU_RM7000 |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 581 | select SYS_SUPPORTS_32BIT_KERNEL |
| 582 | select SYS_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 583 | select SYS_SUPPORTS_BIG_ENDIAN |
Steven J. Hill | c5b3678 | 2015-02-26 18:16:38 -0600 | [diff] [blame] | 584 | select SYS_SUPPORTS_HIGHMEM |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 585 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Maciej W. Rozycki | 424ebcd | 2014-11-15 22:07:07 +0000 | [diff] [blame] | 586 | select SYS_SUPPORTS_MICROMIPS |
Maksym Kokhan | 47bf2b0 | 2018-11-12 19:00:59 +0200 | [diff] [blame] | 587 | select SYS_SUPPORTS_MIPS16 |
Tim Anderson | 0365070 | 2009-06-17 16:22:53 -0700 | [diff] [blame] | 588 | select SYS_SUPPORTS_MIPS_CMP |
Paul Burton | e56b6aa | 2014-01-15 10:31:56 +0000 | [diff] [blame] | 589 | select SYS_SUPPORTS_MIPS_CPS |
Ralf Baechle | f41ae0b | 2006-06-05 17:24:46 +0100 | [diff] [blame] | 590 | select SYS_SUPPORTS_MULTITHREADING |
Maksym Kokhan | 47bf2b0 | 2018-11-12 19:00:59 +0200 | [diff] [blame] | 591 | select SYS_SUPPORTS_RELOCATABLE |
Franck Bui-Huu | 9693a85 | 2007-02-02 17:41:47 +0100 | [diff] [blame] | 592 | select SYS_SUPPORTS_SMARTMIPS |
James Hogan | f35764e | 2018-01-15 20:54:35 +0000 | [diff] [blame] | 593 | select SYS_SUPPORTS_VPE_LOADER |
Wu Zhangjin | 1b93b3c | 2009-10-14 18:12:16 +0800 | [diff] [blame] | 594 | select SYS_SUPPORTS_ZBOOT |
Paul Burton | e8823d2 | 2015-05-22 16:51:02 +0100 | [diff] [blame] | 595 | select USE_OF |
Thomas Bogendoerfer | 886ee13 | 2020-08-24 18:32:48 +0200 | [diff] [blame] | 596 | select WAR_ICACHE_REFILLS |
James Hogan | abcc82b | 2015-04-27 15:07:19 +0100 | [diff] [blame] | 597 | select ZONE_DMA32 if 64BIT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 598 | help |
Maciej W. Rozycki | f638d19 | 2005-02-02 22:23:46 +0000 | [diff] [blame] | 599 | This enables support for the MIPS Technologies Malta evaluation |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 600 | board. |
| 601 | |
Joshua Henderson | 2572f00 | 2016-01-13 18:15:39 -0700 | [diff] [blame] | 602 | config MACH_PIC32 |
| 603 | bool "Microchip PIC32 Family" |
| 604 | help |
| 605 | This enables support for the Microchip PIC32 family of platforms. |
| 606 | |
| 607 | Microchip PIC32 is a family of general-purpose 32 bit MIPS core |
| 608 | microcontrollers. |
| 609 | |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 610 | config MACH_VR41XX |
Yoichi Yuasa | 74142d6 | 2007-04-26 19:45:09 +0900 | [diff] [blame] | 611 | bool "NEC VR4100 series based machines" |
Ralf Baechle | 42f7754 | 2007-10-18 17:48:11 +0100 | [diff] [blame] | 612 | select CEVT_R4K |
Ralf Baechle | 940f6b4 | 2007-11-24 22:33:28 +0000 | [diff] [blame] | 613 | select CSRC_R4K |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 614 | select SYS_HAS_CPU_VR41XX |
Ralf Baechle | 377cb1b | 2014-04-29 01:49:24 +0200 | [diff] [blame] | 615 | select SYS_SUPPORTS_MIPS16 |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 616 | select GPIOLIB |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 617 | |
Lauri Kasanen | baec970 | 2021-01-13 17:11:23 +0200 | [diff] [blame] | 618 | config MACH_NINTENDO64 |
| 619 | bool "Nintendo 64 console" |
| 620 | select CEVT_R4K |
| 621 | select CSRC_R4K |
| 622 | select SYS_HAS_CPU_R4300 |
| 623 | select SYS_SUPPORTS_BIG_ENDIAN |
| 624 | select SYS_SUPPORTS_ZBOOT |
| 625 | select SYS_SUPPORTS_32BIT_KERNEL |
| 626 | select SYS_SUPPORTS_64BIT_KERNEL |
| 627 | select DMA_NONCOHERENT |
| 628 | select IRQ_MIPS_CPU |
| 629 | |
John Crispin | ae2b5bb | 2013-01-20 22:05:30 +0100 | [diff] [blame] | 630 | config RALINK |
| 631 | bool "Ralink based machines" |
| 632 | select CEVT_R4K |
| 633 | select CSRC_R4K |
| 634 | select BOOT_RAW |
| 635 | select DMA_NONCOHERENT |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 636 | select IRQ_MIPS_CPU |
John Crispin | ae2b5bb | 2013-01-20 22:05:30 +0100 | [diff] [blame] | 637 | select USE_OF |
| 638 | select SYS_HAS_CPU_MIPS32_R1 |
| 639 | select SYS_HAS_CPU_MIPS32_R2 |
| 640 | select SYS_SUPPORTS_32BIT_KERNEL |
| 641 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Ralf Baechle | 377cb1b | 2014-04-29 01:49:24 +0200 | [diff] [blame] | 642 | select SYS_SUPPORTS_MIPS16 |
Chuanhong Guo | 1f0400d | 2020-10-13 10:05:47 +0800 | [diff] [blame] | 643 | select SYS_SUPPORTS_ZBOOT |
John Crispin | ae2b5bb | 2013-01-20 22:05:30 +0100 | [diff] [blame] | 644 | select SYS_HAS_EARLY_PRINTK |
John Crispin | ae2b5bb | 2013-01-20 22:05:30 +0100 | [diff] [blame] | 645 | select CLKDEV_LOOKUP |
John Crispin | 2a153f1 | 2013-09-04 00:16:59 +0200 | [diff] [blame] | 646 | select ARCH_HAS_RESET_CONTROLLER |
| 647 | select RESET_CONTROLLER |
John Crispin | ae2b5bb | 2013-01-20 22:05:30 +0100 | [diff] [blame] | 648 | |
Bert Vermeulen | 4042147 | 2021-01-19 10:21:07 +0100 | [diff] [blame] | 649 | config MACH_REALTEK_RTL |
| 650 | bool "Realtek RTL838x/RTL839x based machines" |
| 651 | select MIPS_GENERIC |
| 652 | select DMA_NONCOHERENT |
| 653 | select IRQ_MIPS_CPU |
| 654 | select CSRC_R4K |
| 655 | select CEVT_R4K |
| 656 | select SYS_HAS_CPU_MIPS32_R1 |
| 657 | select SYS_HAS_CPU_MIPS32_R2 |
| 658 | select SYS_SUPPORTS_BIG_ENDIAN |
| 659 | select SYS_SUPPORTS_32BIT_KERNEL |
| 660 | select SYS_SUPPORTS_MIPS16 |
| 661 | select SYS_SUPPORTS_MULTITHREADING |
| 662 | select SYS_SUPPORTS_VPE_LOADER |
| 663 | select SYS_HAS_EARLY_PRINTK |
| 664 | select SYS_HAS_EARLY_PRINTK_8250 |
| 665 | select USE_GENERIC_EARLY_PRINTK_8250 |
| 666 | select BOOT_RAW |
| 667 | select PINCTRL |
| 668 | select USE_OF |
| 669 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 670 | config SGI_IP22 |
Martin Michlmayr | 3fa986f | 2006-05-09 23:34:53 +0200 | [diff] [blame] | 671 | bool "SGI IP22 (Indy/Indigo2)" |
Thomas Bogendoerfer | c0de00b | 2019-10-09 15:27:17 +0200 | [diff] [blame] | 672 | select ARC_MEMORY |
Thomas Bogendoerfer | 39b2d75 | 2019-10-09 15:27:14 +0200 | [diff] [blame] | 673 | select ARC_PROMLIB |
Ralf Baechle | 0e2794b | 2012-11-15 20:48:50 +0100 | [diff] [blame] | 674 | select FW_ARC |
| 675 | select FW_ARC32 |
Ralf Baechle | 7a407aa | 2018-02-05 16:40:00 +0100 | [diff] [blame] | 676 | select ARCH_MIGHT_HAVE_PC_SERIO |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 677 | select BOOT_ELF32 |
Ralf Baechle | 42f7754 | 2007-10-18 17:48:11 +0100 | [diff] [blame] | 678 | select CEVT_R4K |
Ralf Baechle | 940f6b4 | 2007-11-24 22:33:28 +0000 | [diff] [blame] | 679 | select CSRC_R4K |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 680 | select DEFAULT_SGI_PARTITION |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 681 | select DMA_NONCOHERENT |
Christoph Hellwig | 6630a8e | 2018-11-15 20:05:37 +0100 | [diff] [blame] | 682 | select HAVE_EISA |
Ralf Baechle | d865bea | 2007-10-11 23:46:10 +0100 | [diff] [blame] | 683 | select I8253 |
Thomas Bogendoerfer | 68de480 | 2007-11-23 20:34:16 +0100 | [diff] [blame] | 684 | select I8259 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 685 | select IP22_CPU_SCACHE |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 686 | select IRQ_MIPS_CPU |
Ralf Baechle | aa414df | 2006-11-30 01:14:51 +0000 | [diff] [blame] | 687 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 688 | select SGI_HAS_I8042 |
| 689 | select SGI_HAS_INDYDOG |
Thomas Bogendoerfer | 36e5c21 | 2008-07-16 14:06:15 +0200 | [diff] [blame] | 690 | select SGI_HAS_HAL2 |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 691 | select SGI_HAS_SEEQ |
| 692 | select SGI_HAS_WD93 |
| 693 | select SGI_HAS_ZILOG |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 694 | select SWAP_IO_SPACE |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 695 | select SYS_HAS_CPU_R4X00 |
| 696 | select SYS_HAS_CPU_R5000 |
Thomas Bogendoerfer | c0de00b | 2019-10-09 15:27:17 +0200 | [diff] [blame] | 697 | select SYS_HAS_EARLY_PRINTK |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 698 | select SYS_SUPPORTS_32BIT_KERNEL |
| 699 | select SYS_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 700 | select SYS_SUPPORTS_BIG_ENDIAN |
Thomas Bogendoerfer | 802b8362 | 2020-08-24 18:32:43 +0200 | [diff] [blame] | 701 | select WAR_R4600_V1_INDEX_ICACHEOP |
Thomas Bogendoerfer | 5e5b652 | 2020-08-24 18:32:44 +0200 | [diff] [blame] | 702 | select WAR_R4600_V1_HIT_CACHEOP |
Thomas Bogendoerfer | 44def34 | 2020-08-24 18:32:45 +0200 | [diff] [blame] | 703 | select WAR_R4600_V2_HIT_CACHEOP |
Florian Fainelli | 930beb5 | 2014-01-14 09:54:38 -0800 | [diff] [blame] | 704 | select MIPS_L1_CACHE_SHIFT_7 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 705 | help |
| 706 | This are the SGI Indy, Challenge S and Indigo2, as well as certain |
| 707 | OEM variants like the Tandem CMN B006S. To compile a Linux kernel |
| 708 | that runs on these, say Y here. |
| 709 | |
| 710 | config SGI_IP27 |
Martin Michlmayr | 3fa986f | 2006-05-09 23:34:53 +0200 | [diff] [blame] | 711 | bool "SGI IP27 (Origin200/2000)" |
Christoph Hellwig | 54aed4d | 2018-06-15 13:08:44 +0200 | [diff] [blame] | 712 | select ARCH_HAS_PHYS_TO_DMA |
Mike Rapoport | 397dc00 | 2019-09-16 14:13:10 +0300 | [diff] [blame] | 713 | select ARCH_SPARSEMEM_ENABLE |
Ralf Baechle | 0e2794b | 2012-11-15 20:48:50 +0100 | [diff] [blame] | 714 | select FW_ARC |
| 715 | select FW_ARC64 |
Thomas Bogendoerfer | e942242 | 2019-10-22 18:13:15 +0200 | [diff] [blame] | 716 | select ARC_CMDLINE_ONLY |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 717 | select BOOT_ELF64 |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 718 | select DEFAULT_SGI_PARTITION |
Christoph Hellwig | 0410045 | 2021-03-01 08:38:32 +0100 | [diff] [blame] | 719 | select FORCE_PCI |
Ralf Baechle | 36a8853 | 2007-03-01 11:56:43 +0000 | [diff] [blame] | 720 | select SYS_HAS_EARLY_PRINTK |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 721 | select HAVE_PCI |
Thomas Bogendoerfer | 69a07a4 | 2019-02-19 16:57:20 +0100 | [diff] [blame] | 722 | select IRQ_MIPS_CPU |
Thomas Bogendoerfer | e6308b6 | 2019-05-07 23:09:15 +0200 | [diff] [blame] | 723 | select IRQ_DOMAIN_HIERARCHY |
Ralf Baechle | 130e2fb | 2007-02-06 16:53:15 +0000 | [diff] [blame] | 724 | select NR_CPUS_DEFAULT_64 |
Thomas Bogendoerfer | a57140e | 2019-05-07 23:09:13 +0200 | [diff] [blame] | 725 | select PCI_DRIVERS_GENERIC |
| 726 | select PCI_XTALK_BRIDGE |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 727 | select SYS_HAS_CPU_R10000 |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 728 | select SYS_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 729 | select SYS_SUPPORTS_BIG_ENDIAN |
Ralf Baechle | d8cb4e1 | 2006-06-11 23:03:08 +0100 | [diff] [blame] | 730 | select SYS_SUPPORTS_NUMA |
Ralf Baechle | 1a5c5de | 2006-11-02 17:23:33 +0000 | [diff] [blame] | 731 | select SYS_SUPPORTS_SMP |
Thomas Bogendoerfer | 256ec48 | 2020-08-24 18:32:49 +0200 | [diff] [blame] | 732 | select WAR_R10000_LLSC |
Florian Fainelli | 930beb5 | 2014-01-14 09:54:38 -0800 | [diff] [blame] | 733 | select MIPS_L1_CACHE_SHIFT_7 |
Mike Rapoport | 6c86a30 | 2020-08-05 15:51:41 +0300 | [diff] [blame] | 734 | select NUMA |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 735 | help |
| 736 | This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics |
| 737 | workstations. To compile a Linux kernel that runs on these, say Y |
| 738 | here. |
| 739 | |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 740 | config SGI_IP28 |
Kees Cook | 7d60717 | 2013-01-16 18:53:19 -0800 | [diff] [blame] | 741 | bool "SGI IP28 (Indigo2 R10k)" |
Thomas Bogendoerfer | c0de00b | 2019-10-09 15:27:17 +0200 | [diff] [blame] | 742 | select ARC_MEMORY |
Thomas Bogendoerfer | 39b2d75 | 2019-10-09 15:27:14 +0200 | [diff] [blame] | 743 | select ARC_PROMLIB |
Ralf Baechle | 0e2794b | 2012-11-15 20:48:50 +0100 | [diff] [blame] | 744 | select FW_ARC |
| 745 | select FW_ARC64 |
Ralf Baechle | 7a407aa | 2018-02-05 16:40:00 +0100 | [diff] [blame] | 746 | select ARCH_MIGHT_HAVE_PC_SERIO |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 747 | select BOOT_ELF64 |
| 748 | select CEVT_R4K |
| 749 | select CSRC_R4K |
| 750 | select DEFAULT_SGI_PARTITION |
| 751 | select DMA_NONCOHERENT |
| 752 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 753 | select IRQ_MIPS_CPU |
Christoph Hellwig | 6630a8e | 2018-11-15 20:05:37 +0100 | [diff] [blame] | 754 | select HAVE_EISA |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 755 | select I8253 |
| 756 | select I8259 |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 757 | select SGI_HAS_I8042 |
| 758 | select SGI_HAS_INDYDOG |
Thomas Bogendoerfer | 5b438c4 | 2008-07-10 20:29:55 +0200 | [diff] [blame] | 759 | select SGI_HAS_HAL2 |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 760 | select SGI_HAS_SEEQ |
| 761 | select SGI_HAS_WD93 |
| 762 | select SGI_HAS_ZILOG |
| 763 | select SWAP_IO_SPACE |
| 764 | select SYS_HAS_CPU_R10000 |
Thomas Bogendoerfer | c0de00b | 2019-10-09 15:27:17 +0200 | [diff] [blame] | 765 | select SYS_HAS_EARLY_PRINTK |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 766 | select SYS_SUPPORTS_64BIT_KERNEL |
| 767 | select SYS_SUPPORTS_BIG_ENDIAN |
Thomas Bogendoerfer | 256ec48 | 2020-08-24 18:32:49 +0200 | [diff] [blame] | 768 | select WAR_R10000_LLSC |
Thomas Bogendoerfer | dc24d68 | 2014-08-19 22:00:07 +0200 | [diff] [blame] | 769 | select MIPS_L1_CACHE_SHIFT_7 |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 770 | help |
| 771 | This is the SGI Indigo2 with R10000 processor. To compile a Linux |
| 772 | kernel that runs on these, say Y here. |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 773 | |
Thomas Bogendoerfer | 7505576 | 2019-10-24 12:18:29 +0200 | [diff] [blame] | 774 | config SGI_IP30 |
| 775 | bool "SGI IP30 (Octane/Octane2)" |
| 776 | select ARCH_HAS_PHYS_TO_DMA |
| 777 | select FW_ARC |
| 778 | select FW_ARC64 |
| 779 | select BOOT_ELF64 |
| 780 | select CEVT_R4K |
| 781 | select CSRC_R4K |
Christoph Hellwig | 0410045 | 2021-03-01 08:38:32 +0100 | [diff] [blame] | 782 | select FORCE_PCI |
Thomas Bogendoerfer | 7505576 | 2019-10-24 12:18:29 +0200 | [diff] [blame] | 783 | select SYNC_R4K if SMP |
| 784 | select ZONE_DMA32 |
| 785 | select HAVE_PCI |
| 786 | select IRQ_MIPS_CPU |
| 787 | select IRQ_DOMAIN_HIERARCHY |
| 788 | select NR_CPUS_DEFAULT_2 |
| 789 | select PCI_DRIVERS_GENERIC |
| 790 | select PCI_XTALK_BRIDGE |
| 791 | select SYS_HAS_EARLY_PRINTK |
| 792 | select SYS_HAS_CPU_R10000 |
| 793 | select SYS_SUPPORTS_64BIT_KERNEL |
| 794 | select SYS_SUPPORTS_BIG_ENDIAN |
| 795 | select SYS_SUPPORTS_SMP |
Thomas Bogendoerfer | 256ec48 | 2020-08-24 18:32:49 +0200 | [diff] [blame] | 796 | select WAR_R10000_LLSC |
Thomas Bogendoerfer | 7505576 | 2019-10-24 12:18:29 +0200 | [diff] [blame] | 797 | select MIPS_L1_CACHE_SHIFT_7 |
| 798 | select ARC_MEMORY |
| 799 | help |
| 800 | These are the SGI Octane and Octane2 graphics workstations. To |
| 801 | compile a Linux kernel that runs on these, say Y here. |
| 802 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 803 | config SGI_IP32 |
Ralf Baechle | cfd2afc | 2007-07-10 17:33:00 +0100 | [diff] [blame] | 804 | bool "SGI IP32 (O2)" |
Thomas Bogendoerfer | 39b2d75 | 2019-10-09 15:27:14 +0200 | [diff] [blame] | 805 | select ARC_MEMORY |
| 806 | select ARC_PROMLIB |
Christoph Hellwig | 03df822 | 2018-06-15 13:08:48 +0200 | [diff] [blame] | 807 | select ARCH_HAS_PHYS_TO_DMA |
Ralf Baechle | 0e2794b | 2012-11-15 20:48:50 +0100 | [diff] [blame] | 808 | select FW_ARC |
| 809 | select FW_ARC32 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 810 | select BOOT_ELF32 |
Ralf Baechle | 42f7754 | 2007-10-18 17:48:11 +0100 | [diff] [blame] | 811 | select CEVT_R4K |
Ralf Baechle | 940f6b4 | 2007-11-24 22:33:28 +0000 | [diff] [blame] | 812 | select CSRC_R4K |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 813 | select DMA_NONCOHERENT |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 814 | select HAVE_PCI |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 815 | select IRQ_MIPS_CPU |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 816 | select R5000_CPU_SCACHE |
| 817 | select RM7000_CPU_SCACHE |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 818 | select SYS_HAS_CPU_R5000 |
| 819 | select SYS_HAS_CPU_R10000 if BROKEN |
| 820 | select SYS_HAS_CPU_RM7000 |
Ralf Baechle | dd2f18f | 2006-01-19 14:55:42 +0000 | [diff] [blame] | 821 | select SYS_HAS_CPU_NEVADA |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 822 | select SYS_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 823 | select SYS_SUPPORTS_BIG_ENDIAN |
Thomas Bogendoerfer | 886ee13 | 2020-08-24 18:32:48 +0200 | [diff] [blame] | 824 | select WAR_ICACHE_REFILLS |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 825 | help |
| 826 | If you want this kernel to run on SGI O2 workstation, say Y here. |
| 827 | |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 828 | config SIBYTE_CRHINE |
| 829 | bool "Sibyte BCM91120C-CRhine" |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 830 | select BOOT_ELF32 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 831 | select SIBYTE_BCM1120 |
| 832 | select SWAP_IO_SPACE |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 833 | select SYS_HAS_CPU_SB1 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 834 | select SYS_SUPPORTS_BIG_ENDIAN |
| 835 | select SYS_SUPPORTS_LITTLE_ENDIAN |
| 836 | |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 837 | config SIBYTE_CARMEL |
| 838 | bool "Sibyte BCM91120x-Carmel" |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 839 | select BOOT_ELF32 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 840 | select SIBYTE_BCM1120 |
| 841 | select SWAP_IO_SPACE |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 842 | select SYS_HAS_CPU_SB1 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 843 | select SYS_SUPPORTS_BIG_ENDIAN |
| 844 | select SYS_SUPPORTS_LITTLE_ENDIAN |
| 845 | |
| 846 | config SIBYTE_CRHONE |
Martin Michlmayr | 3fa986f | 2006-05-09 23:34:53 +0200 | [diff] [blame] | 847 | bool "Sibyte BCM91125C-CRhone" |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 848 | select BOOT_ELF32 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 849 | select SIBYTE_BCM1125 |
| 850 | select SWAP_IO_SPACE |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 851 | select SYS_HAS_CPU_SB1 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 852 | select SYS_SUPPORTS_BIG_ENDIAN |
| 853 | select SYS_SUPPORTS_HIGHMEM |
| 854 | select SYS_SUPPORTS_LITTLE_ENDIAN |
| 855 | |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 856 | config SIBYTE_RHONE |
| 857 | bool "Sibyte BCM91125E-Rhone" |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 858 | select BOOT_ELF32 |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 859 | select SIBYTE_BCM1125H |
| 860 | select SWAP_IO_SPACE |
| 861 | select SYS_HAS_CPU_SB1 |
| 862 | select SYS_SUPPORTS_BIG_ENDIAN |
| 863 | select SYS_SUPPORTS_LITTLE_ENDIAN |
| 864 | |
| 865 | config SIBYTE_SWARM |
| 866 | bool "Sibyte BCM91250A-SWARM" |
| 867 | select BOOT_ELF32 |
Sebastian Andrzej Siewior | fcf3ca4 | 2010-04-18 15:26:36 +0200 | [diff] [blame] | 868 | select HAVE_PATA_PLATFORM |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 869 | select SIBYTE_SB1250 |
| 870 | select SWAP_IO_SPACE |
| 871 | select SYS_HAS_CPU_SB1 |
| 872 | select SYS_SUPPORTS_BIG_ENDIAN |
| 873 | select SYS_SUPPORTS_HIGHMEM |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 874 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Ralf Baechle | cce335a | 2007-11-03 02:05:43 +0000 | [diff] [blame] | 875 | select ZONE_DMA32 if 64BIT |
Maciej W. Rozycki | e4849af | 2018-11-13 22:42:44 +0000 | [diff] [blame] | 876 | select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 877 | |
| 878 | config SIBYTE_LITTLESUR |
| 879 | bool "Sibyte BCM91250C2-LittleSur" |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 880 | select BOOT_ELF32 |
Sebastian Andrzej Siewior | fcf3ca4 | 2010-04-18 15:26:36 +0200 | [diff] [blame] | 881 | select HAVE_PATA_PLATFORM |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 882 | select SIBYTE_SB1250 |
| 883 | select SWAP_IO_SPACE |
| 884 | select SYS_HAS_CPU_SB1 |
| 885 | select SYS_SUPPORTS_BIG_ENDIAN |
| 886 | select SYS_SUPPORTS_HIGHMEM |
| 887 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Maciej W. Rozycki | 756d6d8 | 2018-11-13 22:42:37 +0000 | [diff] [blame] | 888 | select ZONE_DMA32 if 64BIT |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 889 | |
| 890 | config SIBYTE_SENTOSA |
| 891 | bool "Sibyte BCM91250E-Sentosa" |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 892 | select BOOT_ELF32 |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 893 | select SIBYTE_SB1250 |
| 894 | select SWAP_IO_SPACE |
| 895 | select SYS_HAS_CPU_SB1 |
| 896 | select SYS_SUPPORTS_BIG_ENDIAN |
| 897 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Maciej W. Rozycki | e4849af | 2018-11-13 22:42:44 +0000 | [diff] [blame] | 898 | select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 899 | |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 900 | config SIBYTE_BIGSUR |
| 901 | bool "Sibyte BCM91480B-BigSur" |
| 902 | select BOOT_ELF32 |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 903 | select NR_CPUS_DEFAULT_4 |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 904 | select SIBYTE_BCM1x80 |
| 905 | select SWAP_IO_SPACE |
| 906 | select SYS_HAS_CPU_SB1 |
| 907 | select SYS_SUPPORTS_BIG_ENDIAN |
Ralf Baechle | 651194f | 2007-11-01 21:55:39 +0000 | [diff] [blame] | 908 | select SYS_SUPPORTS_HIGHMEM |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 909 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Ralf Baechle | cce335a | 2007-11-03 02:05:43 +0000 | [diff] [blame] | 910 | select ZONE_DMA32 if 64BIT |
Maciej W. Rozycki | e4849af | 2018-11-13 22:42:44 +0000 | [diff] [blame] | 911 | select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI |
Yoichi Yuasa | ade299d | 2007-07-27 15:25:43 +0900 | [diff] [blame] | 912 | |
Thomas Bogendoerfer | 14b36af | 2006-12-05 17:05:44 +0100 | [diff] [blame] | 913 | config SNI_RM |
| 914 | bool "SNI RM200/300/400" |
Thomas Bogendoerfer | 39b2d75 | 2019-10-09 15:27:14 +0200 | [diff] [blame] | 915 | select ARC_MEMORY |
| 916 | select ARC_PROMLIB |
Ralf Baechle | 0e2794b | 2012-11-15 20:48:50 +0100 | [diff] [blame] | 917 | select FW_ARC if CPU_LITTLE_ENDIAN |
| 918 | select FW_ARC32 if CPU_LITTLE_ENDIAN |
Paul Bolle | aaa9fad | 2013-03-25 09:39:54 +0000 | [diff] [blame] | 919 | select FW_SNIPROM if CPU_BIG_ENDIAN |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 920 | select ARCH_MAY_HAVE_PC_FDC |
Ralf Baechle | a211a082 | 2018-02-05 15:37:43 +0100 | [diff] [blame] | 921 | select ARCH_MIGHT_HAVE_PC_PARPORT |
Ralf Baechle | 7a407aa | 2018-02-05 16:40:00 +0100 | [diff] [blame] | 922 | select ARCH_MIGHT_HAVE_PC_SERIO |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 923 | select BOOT_ELF32 |
Ralf Baechle | 42f7754 | 2007-10-18 17:48:11 +0100 | [diff] [blame] | 924 | select CEVT_R4K |
Ralf Baechle | 940f6b4 | 2007-11-24 22:33:28 +0000 | [diff] [blame] | 925 | select CSRC_R4K |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 926 | select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 927 | select DMA_NONCOHERENT |
| 928 | select GENERIC_ISA_DMA |
Christoph Hellwig | 6630a8e | 2018-11-15 20:05:37 +0100 | [diff] [blame] | 929 | select HAVE_EISA |
Ralf Baechle | 8a118c3 | 2011-06-01 19:05:10 +0100 | [diff] [blame] | 930 | select HAVE_PCSPKR_PLATFORM |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 931 | select HAVE_PCI |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 932 | select IRQ_MIPS_CPU |
Ralf Baechle | d865bea | 2007-10-11 23:46:10 +0100 | [diff] [blame] | 933 | select I8253 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 934 | select I8259 |
| 935 | select ISA |
Thomas Bogendoerfer | 564c836 | 2020-09-14 18:05:00 +0200 | [diff] [blame] | 936 | select MIPS_L1_CACHE_SHIFT_6 |
Thomas Bogendoerfer | 4a0312f | 2006-06-13 13:59:01 +0200 | [diff] [blame] | 937 | select SWAP_IO_SPACE if CPU_BIG_ENDIAN |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 938 | select SYS_HAS_CPU_R4X00 |
Thomas Bogendoerfer | 4a0312f | 2006-06-13 13:59:01 +0200 | [diff] [blame] | 939 | select SYS_HAS_CPU_R5000 |
Thomas Bogendoerfer | c066a32 | 2006-12-28 18:22:32 +0100 | [diff] [blame] | 940 | select SYS_HAS_CPU_R10000 |
Thomas Bogendoerfer | 4a0312f | 2006-06-13 13:59:01 +0200 | [diff] [blame] | 941 | select R5000_CPU_SCACHE |
Ralf Baechle | 36a8853 | 2007-03-01 11:56:43 +0000 | [diff] [blame] | 942 | select SYS_HAS_EARLY_PRINTK |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 943 | select SYS_SUPPORTS_32BIT_KERNEL |
Kees Cook | 7d60717 | 2013-01-16 18:53:19 -0800 | [diff] [blame] | 944 | select SYS_SUPPORTS_64BIT_KERNEL |
Thomas Bogendoerfer | 4a0312f | 2006-06-13 13:59:01 +0200 | [diff] [blame] | 945 | select SYS_SUPPORTS_BIG_ENDIAN |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 946 | select SYS_SUPPORTS_HIGHMEM |
| 947 | select SYS_SUPPORTS_LITTLE_ENDIAN |
Thomas Bogendoerfer | 44def34 | 2020-08-24 18:32:45 +0200 | [diff] [blame] | 948 | select WAR_R4600_V2_HIT_CACHEOP |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 949 | help |
Thomas Bogendoerfer | 14b36af | 2006-12-05 17:05:44 +0100 | [diff] [blame] | 950 | The SNI RM200/300/400 are MIPS-based machines manufactured by |
| 951 | Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 952 | Technology and now in turn merged with Fujitsu. Say Y here to |
| 953 | support this machine type. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 954 | |
Atsushi Nemoto | edcaf1a | 2008-07-11 23:27:54 +0900 | [diff] [blame] | 955 | config MACH_TX39XX |
| 956 | bool "Toshiba TX39 series based machines" |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 957 | |
Atsushi Nemoto | edcaf1a | 2008-07-11 23:27:54 +0900 | [diff] [blame] | 958 | config MACH_TX49XX |
| 959 | bool "Toshiba TX49 series based machines" |
Thomas Bogendoerfer | 24a1c02 | 2020-08-24 18:32:47 +0200 | [diff] [blame] | 960 | select WAR_TX49XX_ICACHE_INDEX_INV |
Ralf Baechle | 23fbee9 | 2005-07-25 22:45:45 +0000 | [diff] [blame] | 961 | |
Ralf Baechle | 73b4390 | 2008-07-16 16:12:25 +0100 | [diff] [blame] | 962 | config MIKROTIK_RB532 |
| 963 | bool "Mikrotik RB532 boards" |
| 964 | select CEVT_R4K |
| 965 | select CSRC_R4K |
| 966 | select DMA_NONCOHERENT |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 967 | select HAVE_PCI |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 968 | select IRQ_MIPS_CPU |
Ralf Baechle | 73b4390 | 2008-07-16 16:12:25 +0100 | [diff] [blame] | 969 | select SYS_HAS_CPU_MIPS32_R1 |
| 970 | select SYS_SUPPORTS_32BIT_KERNEL |
| 971 | select SYS_SUPPORTS_LITTLE_ENDIAN |
| 972 | select SWAP_IO_SPACE |
| 973 | select BOOT_RAW |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 974 | select GPIOLIB |
Florian Fainelli | 930beb5 | 2014-01-14 09:54:38 -0800 | [diff] [blame] | 975 | select MIPS_L1_CACHE_SHIFT_4 |
Ralf Baechle | 73b4390 | 2008-07-16 16:12:25 +0100 | [diff] [blame] | 976 | help |
| 977 | Support the Mikrotik(tm) RouterBoard 532 series, |
| 978 | based on the IDT RC32434 SoC. |
| 979 | |
David Daney | 9ddebc4 | 2013-05-22 15:10:46 +0000 | [diff] [blame] | 980 | config CAVIUM_OCTEON_SOC |
| 981 | bool "Cavium Networks Octeon SoC based boards" |
David Daney | a86c7f7 | 2008-12-11 15:33:38 -0800 | [diff] [blame] | 982 | select CEVT_R4K |
Christoph Hellwig | ea8c64a | 2018-01-10 16:21:13 +0100 | [diff] [blame] | 983 | select ARCH_HAS_PHYS_TO_DMA |
Christoph Hellwig | 1753d50 | 2018-11-15 20:05:36 +0100 | [diff] [blame] | 984 | select HAVE_RAPIDIO |
Christoph Hellwig | d4a451d | 2018-04-03 16:24:20 +0200 | [diff] [blame] | 985 | select PHYS_ADDR_T_64BIT |
David Daney | a86c7f7 | 2008-12-11 15:33:38 -0800 | [diff] [blame] | 986 | select SYS_SUPPORTS_64BIT_KERNEL |
| 987 | select SYS_SUPPORTS_BIG_ENDIAN |
Ralf Baechle | f65aad4 | 2012-10-17 00:39:09 +0200 | [diff] [blame] | 988 | select EDAC_SUPPORT |
Borislav Petkov | b01aec9 | 2015-05-21 19:59:31 +0200 | [diff] [blame] | 989 | select EDAC_ATOMIC_SCRUB |
David Daney | 73569d8 | 2015-03-20 19:11:58 +0300 | [diff] [blame] | 990 | select SYS_SUPPORTS_LITTLE_ENDIAN |
| 991 | select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN |
David Daney | a86c7f7 | 2008-12-11 15:33:38 -0800 | [diff] [blame] | 992 | select SYS_HAS_EARLY_PRINTK |
David Daney | 5e68338 | 2009-02-02 11:30:59 -0800 | [diff] [blame] | 993 | select SYS_HAS_CPU_CAVIUM_OCTEON |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 994 | select HAVE_PCI |
Masahiro Yamada | 78bdbba | 2020-03-25 16:45:29 +0900 | [diff] [blame] | 995 | select HAVE_PLAT_DELAY |
| 996 | select HAVE_PLAT_FW_INIT_CMDLINE |
| 997 | select HAVE_PLAT_MEMCPY |
David Daney | f00e001 | 2010-10-01 13:27:30 -0700 | [diff] [blame] | 998 | select ZONE_DMA32 |
David Daney | 465aaed | 2011-08-20 08:44:00 -0700 | [diff] [blame] | 999 | select HOLES_IN_ZONE |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 1000 | select GPIOLIB |
David Daney | 6e51116 | 2014-05-28 23:52:05 +0200 | [diff] [blame] | 1001 | select USE_OF |
| 1002 | select ARCH_SPARSEMEM_ENABLE |
| 1003 | select SYS_SUPPORTS_SMP |
David Daney | 7820b84 | 2017-09-28 12:34:04 -0500 | [diff] [blame] | 1004 | select NR_CPUS_DEFAULT_64 |
| 1005 | select MIPS_NR_CPU_NR_MAP_1024 |
Andrew Bresticker | e326479 | 2014-08-21 13:04:22 -0700 | [diff] [blame] | 1006 | select BUILTIN_DTB |
Julian Braha | f766b28 | 2021-03-26 01:34:56 -0400 | [diff] [blame] | 1007 | select MTD |
David Daney | 8c1e6b1 | 2015-03-05 17:31:30 +0300 | [diff] [blame] | 1008 | select MTD_COMPLEX_MAPPINGS |
Christoph Hellwig | 09230cb | 2018-04-24 09:00:54 +0200 | [diff] [blame] | 1009 | select SWIOTLB |
Steven J. Hill | 3ff72be | 2016-12-13 14:25:37 -0600 | [diff] [blame] | 1010 | select SYS_SUPPORTS_RELOCATABLE |
David Daney | a86c7f7 | 2008-12-11 15:33:38 -0800 | [diff] [blame] | 1011 | help |
| 1012 | This option supports all of the Octeon reference boards from Cavium |
| 1013 | Networks. It builds a kernel that dynamically determines the Octeon |
| 1014 | CPU type and supports all known board reference implementations. |
| 1015 | Some of the supported boards are: |
| 1016 | EBT3000 |
| 1017 | EBH3000 |
| 1018 | EBH3100 |
| 1019 | Thunder |
| 1020 | Kodama |
| 1021 | Hikari |
| 1022 | Say Y here for most Octeon reference boards. |
| 1023 | |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1024 | config NLM_XLR_BOARD |
| 1025 | bool "Netlogic XLR/XLS based systems" |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1026 | select BOOT_ELF32 |
| 1027 | select NLM_COMMON |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1028 | select SYS_HAS_CPU_XLR |
| 1029 | select SYS_SUPPORTS_SMP |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 1030 | select HAVE_PCI |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1031 | select SWAP_IO_SPACE |
| 1032 | select SYS_SUPPORTS_32BIT_KERNEL |
| 1033 | select SYS_SUPPORTS_64BIT_KERNEL |
Christoph Hellwig | d4a451d | 2018-04-03 16:24:20 +0200 | [diff] [blame] | 1034 | select PHYS_ADDR_T_64BIT |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1035 | select SYS_SUPPORTS_BIG_ENDIAN |
| 1036 | select SYS_SUPPORTS_HIGHMEM |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1037 | select NR_CPUS_DEFAULT_32 |
| 1038 | select CEVT_R4K |
| 1039 | select CSRC_R4K |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 1040 | select IRQ_MIPS_CPU |
Jayachandran C | b97215f | 2012-10-31 12:01:33 +0000 | [diff] [blame] | 1041 | select ZONE_DMA32 if 64BIT |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1042 | select SYNC_R4K |
| 1043 | select SYS_HAS_EARLY_PRINTK |
Jayachandran C | 8f0b043 | 2013-06-10 06:33:26 +0000 | [diff] [blame] | 1044 | select SYS_SUPPORTS_ZBOOT |
| 1045 | select SYS_SUPPORTS_ZBOOT_UART16550 |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1046 | help |
| 1047 | Support for systems based on Netlogic XLR and XLS processors. |
| 1048 | Say Y here if you have a XLR or XLS based board. |
| 1049 | |
Jayachandran C | 1c773ea | 2011-11-16 00:21:28 +0000 | [diff] [blame] | 1050 | config NLM_XLP_BOARD |
| 1051 | bool "Netlogic XLP based systems" |
Jayachandran C | 1c773ea | 2011-11-16 00:21:28 +0000 | [diff] [blame] | 1052 | select BOOT_ELF32 |
| 1053 | select NLM_COMMON |
| 1054 | select SYS_HAS_CPU_XLP |
| 1055 | select SYS_SUPPORTS_SMP |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 1056 | select HAVE_PCI |
Jayachandran C | 1c773ea | 2011-11-16 00:21:28 +0000 | [diff] [blame] | 1057 | select SYS_SUPPORTS_32BIT_KERNEL |
| 1058 | select SYS_SUPPORTS_64BIT_KERNEL |
Christoph Hellwig | d4a451d | 2018-04-03 16:24:20 +0200 | [diff] [blame] | 1059 | select PHYS_ADDR_T_64BIT |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 1060 | select GPIOLIB |
Jayachandran C | 1c773ea | 2011-11-16 00:21:28 +0000 | [diff] [blame] | 1061 | select SYS_SUPPORTS_BIG_ENDIAN |
| 1062 | select SYS_SUPPORTS_LITTLE_ENDIAN |
| 1063 | select SYS_SUPPORTS_HIGHMEM |
Jayachandran C | 1c773ea | 2011-11-16 00:21:28 +0000 | [diff] [blame] | 1064 | select NR_CPUS_DEFAULT_32 |
| 1065 | select CEVT_R4K |
| 1066 | select CSRC_R4K |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 1067 | select IRQ_MIPS_CPU |
Jayachandran C | b97215f | 2012-10-31 12:01:33 +0000 | [diff] [blame] | 1068 | select ZONE_DMA32 if 64BIT |
Jayachandran C | 1c773ea | 2011-11-16 00:21:28 +0000 | [diff] [blame] | 1069 | select SYNC_R4K |
| 1070 | select SYS_HAS_EARLY_PRINTK |
Jayachandran C | 2f6528e | 2012-07-13 21:53:22 +0530 | [diff] [blame] | 1071 | select USE_OF |
Jayachandran C | 8f0b043 | 2013-06-10 06:33:26 +0000 | [diff] [blame] | 1072 | select SYS_SUPPORTS_ZBOOT |
| 1073 | select SYS_SUPPORTS_ZBOOT_UART16550 |
Jayachandran C | 1c773ea | 2011-11-16 00:21:28 +0000 | [diff] [blame] | 1074 | help |
| 1075 | This board is based on Netlogic XLP Processor. |
| 1076 | Say Y here if you have a XLP based board. |
| 1077 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1078 | endchoice |
| 1079 | |
Ralf Baechle | e8c7c48 | 2008-09-16 19:12:16 +0200 | [diff] [blame] | 1080 | source "arch/mips/alchemy/Kconfig" |
Sergey Ryazanov | 3b12308f | 2014-10-29 03:18:39 +0400 | [diff] [blame] | 1081 | source "arch/mips/ath25/Kconfig" |
Gabor Juhos | d4a67d9 | 2011-01-04 21:28:14 +0100 | [diff] [blame] | 1082 | source "arch/mips/ath79/Kconfig" |
Hauke Mehrtens | a656ffc | 2011-07-23 01:20:13 +0200 | [diff] [blame] | 1083 | source "arch/mips/bcm47xx/Kconfig" |
Maxime Bizon | e7300d0 | 2009-08-18 13:23:37 +0100 | [diff] [blame] | 1084 | source "arch/mips/bcm63xx/Kconfig" |
Kevin Cernekee | 8945e37 | 2014-12-25 09:49:20 -0800 | [diff] [blame] | 1085 | source "arch/mips/bmips/Kconfig" |
Paul Burton | eed0eab | 2016-10-05 18:18:20 +0100 | [diff] [blame] | 1086 | source "arch/mips/generic/Kconfig" |
Paul Cercueil | a103e9b | 2020-09-06 21:29:33 +0200 | [diff] [blame] | 1087 | source "arch/mips/ingenic/Kconfig" |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1088 | source "arch/mips/jazz/Kconfig" |
John Crispin | 8ec6d93 | 2011-03-30 09:27:48 +0200 | [diff] [blame] | 1089 | source "arch/mips/lantiq/Kconfig" |
Joshua Henderson | 2572f00 | 2016-01-13 18:15:39 -0700 | [diff] [blame] | 1090 | source "arch/mips/pic32/Kconfig" |
Ezequiel Garcia | af0cfb2 | 2015-08-06 12:22:43 +0100 | [diff] [blame] | 1091 | source "arch/mips/pistachio/Kconfig" |
John Crispin | ae2b5bb | 2013-01-20 22:05:30 +0100 | [diff] [blame] | 1092 | source "arch/mips/ralink/Kconfig" |
Ralf Baechle | 29c4869 | 2005-02-07 01:27:14 +0000 | [diff] [blame] | 1093 | source "arch/mips/sgi-ip27/Kconfig" |
Ralf Baechle | 38b18f72 | 2005-02-03 14:28:23 +0000 | [diff] [blame] | 1094 | source "arch/mips/sibyte/Kconfig" |
Atsushi Nemoto | 22b1d70 | 2008-07-11 00:31:36 +0900 | [diff] [blame] | 1095 | source "arch/mips/txx9/Kconfig" |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1096 | source "arch/mips/vr41xx/Kconfig" |
David Daney | a86c7f7 | 2008-12-11 15:33:38 -0800 | [diff] [blame] | 1097 | source "arch/mips/cavium-octeon/Kconfig" |
Jiaxun Yang | 71e2f4d | 2019-10-20 22:43:14 +0800 | [diff] [blame] | 1098 | source "arch/mips/loongson2ef/Kconfig" |
Huacai Chen | 30ad29b | 2015-04-21 10:00:35 +0800 | [diff] [blame] | 1099 | source "arch/mips/loongson32/Kconfig" |
| 1100 | source "arch/mips/loongson64/Kconfig" |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1101 | source "arch/mips/netlogic/Kconfig" |
Ralf Baechle | 38b18f72 | 2005-02-03 14:28:23 +0000 | [diff] [blame] | 1102 | |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1103 | endmenu |
| 1104 | |
Akinobu Mita | 3c9ee7e | 2006-03-26 01:39:30 -0800 | [diff] [blame] | 1105 | config GENERIC_HWEIGHT |
| 1106 | bool |
| 1107 | default y |
| 1108 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1109 | config GENERIC_CALIBRATE_DELAY |
| 1110 | bool |
| 1111 | default y |
| 1112 | |
Ingo Molnar | ae1e913 | 2008-11-11 09:05:16 +0100 | [diff] [blame] | 1113 | config SCHED_OMIT_FRAME_POINTER |
Atsushi Nemoto | 1cc8903 | 2006-04-04 13:11:45 +0900 | [diff] [blame] | 1114 | bool |
| 1115 | default y |
| 1116 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1117 | # |
| 1118 | # Select some configuration options automatically based on user selections. |
| 1119 | # |
Ralf Baechle | 0e2794b | 2012-11-15 20:48:50 +0100 | [diff] [blame] | 1120 | config FW_ARC |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1121 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1122 | |
Ralf Baechle | 61ed242 | 2005-09-15 08:52:34 +0000 | [diff] [blame] | 1123 | config ARCH_MAY_HAVE_PC_FDC |
| 1124 | bool |
| 1125 | |
Marc St-Jean | 9267a30 | 2007-06-14 15:55:31 -0600 | [diff] [blame] | 1126 | config BOOT_RAW |
| 1127 | bool |
| 1128 | |
Ralf Baechle | 217dd11 | 2007-11-01 01:57:55 +0000 | [diff] [blame] | 1129 | config CEVT_BCM1480 |
| 1130 | bool |
| 1131 | |
Yoichi Yuasa | 6457d9f | 2008-04-25 12:11:44 +0900 | [diff] [blame] | 1132 | config CEVT_DS1287 |
| 1133 | bool |
| 1134 | |
Yoichi Yuasa | 1097c6a | 2007-10-22 19:43:15 +0900 | [diff] [blame] | 1135 | config CEVT_GT641XX |
| 1136 | bool |
| 1137 | |
Ralf Baechle | 42f7754 | 2007-10-18 17:48:11 +0100 | [diff] [blame] | 1138 | config CEVT_R4K |
| 1139 | bool |
| 1140 | |
Ralf Baechle | 217dd11 | 2007-11-01 01:57:55 +0000 | [diff] [blame] | 1141 | config CEVT_SB1250 |
| 1142 | bool |
| 1143 | |
Atsushi Nemoto | 229f773 | 2007-10-25 01:34:09 +0900 | [diff] [blame] | 1144 | config CEVT_TXX9 |
| 1145 | bool |
| 1146 | |
Ralf Baechle | 217dd11 | 2007-11-01 01:57:55 +0000 | [diff] [blame] | 1147 | config CSRC_BCM1480 |
| 1148 | bool |
| 1149 | |
Yoichi Yuasa | 4247417 | 2008-04-24 09:48:40 +0900 | [diff] [blame] | 1150 | config CSRC_IOASIC |
| 1151 | bool |
| 1152 | |
Ralf Baechle | 940f6b4 | 2007-11-24 22:33:28 +0000 | [diff] [blame] | 1153 | config CSRC_R4K |
Serge Semin | 3858642 | 2020-05-21 17:07:23 +0300 | [diff] [blame] | 1154 | select CLOCKSOURCE_WATCHDOG if CPU_FREQ |
Ralf Baechle | 940f6b4 | 2007-11-24 22:33:28 +0000 | [diff] [blame] | 1155 | bool |
| 1156 | |
Ralf Baechle | 217dd11 | 2007-11-01 01:57:55 +0000 | [diff] [blame] | 1157 | config CSRC_SB1250 |
| 1158 | bool |
| 1159 | |
Alex Smith | a7f4df4 | 2015-10-21 09:57:44 +0100 | [diff] [blame] | 1160 | config MIPS_CLOCK_VSYSCALL |
| 1161 | def_bool CSRC_R4K || CLKSRC_MIPS_GIC |
| 1162 | |
Atsushi Nemoto | a9aec7f | 2008-04-05 00:55:41 +0900 | [diff] [blame] | 1163 | config GPIO_TXX9 |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 1164 | select GPIOLIB |
Atsushi Nemoto | a9aec7f | 2008-04-05 00:55:41 +0900 | [diff] [blame] | 1165 | bool |
| 1166 | |
Ralf Baechle | 0e2794b | 2012-11-15 20:48:50 +0100 | [diff] [blame] | 1167 | config FW_CFE |
Aurelien Jarno | df78b5c | 2007-09-05 08:58:26 +0200 | [diff] [blame] | 1168 | bool |
| 1169 | |
Ralf Baechle | 40e084a | 2015-07-29 22:44:53 +0200 | [diff] [blame] | 1170 | config ARCH_SUPPORTS_UPROBES |
| 1171 | bool |
| 1172 | |
Paul Burton | 20d3306 | 2016-10-05 18:18:16 +0100 | [diff] [blame] | 1173 | config DMA_PERDEV_COHERENT |
| 1174 | bool |
Christoph Hellwig | 347cb6a | 2019-01-07 13:36:20 -0500 | [diff] [blame] | 1175 | select ARCH_HAS_SETUP_DMA_OPS |
Christoph Hellwig | 5748e1b | 2018-08-16 16:47:53 +0300 | [diff] [blame] | 1176 | select DMA_NONCOHERENT |
Paul Burton | 20d3306 | 2016-10-05 18:18:16 +0100 | [diff] [blame] | 1177 | |
Ralf Baechle | 4ce588c | 2005-09-03 15:56:19 -0700 | [diff] [blame] | 1178 | config DMA_NONCOHERENT |
| 1179 | bool |
Christoph Hellwig | db91427 | 2019-08-26 09:22:13 +0200 | [diff] [blame] | 1180 | # |
| 1181 | # MIPS allows mixing "slightly different" Cacheability and Coherency |
| 1182 | # Attribute bits. It is believed that the uncached access through |
| 1183 | # KSEG1 and the implementation specific "uncached accelerated" used |
| 1184 | # by pgprot_writcombine can be mixed, and the latter sometimes provides |
| 1185 | # significant advantages. |
| 1186 | # |
Christoph Hellwig | 419e2f1 | 2019-08-26 09:03:44 +0200 | [diff] [blame] | 1187 | select ARCH_HAS_DMA_WRITE_COMBINE |
Christoph Hellwig | fa7e224 | 2020-02-21 15:55:43 -0800 | [diff] [blame] | 1188 | select ARCH_HAS_DMA_PREP_COHERENT |
Christoph Hellwig | f8c55dc | 2018-06-15 13:08:46 +0200 | [diff] [blame] | 1189 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE |
Christoph Hellwig | fa7e224 | 2020-02-21 15:55:43 -0800 | [diff] [blame] | 1190 | select ARCH_HAS_DMA_SET_UNCACHED |
Christoph Hellwig | 34dc0ea | 2019-10-29 11:01:37 +0100 | [diff] [blame] | 1191 | select DMA_NONCOHERENT_MMAP |
Christoph Hellwig | 34dc0ea | 2019-10-29 11:01:37 +0100 | [diff] [blame] | 1192 | select NEED_DMA_MAP_STATE |
Ralf Baechle | 4ce588c | 2005-09-03 15:56:19 -0700 | [diff] [blame] | 1193 | |
Ralf Baechle | 36a8853 | 2007-03-01 11:56:43 +0000 | [diff] [blame] | 1194 | config SYS_HAS_EARLY_PRINTK |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1195 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1196 | |
Ralf Baechle | 1b2bc75 | 2009-06-23 10:00:31 +0100 | [diff] [blame] | 1197 | config SYS_SUPPORTS_HOTPLUG_CPU |
Ralf Baechle | dbb7454 | 2007-08-07 14:52:17 +0100 | [diff] [blame] | 1198 | bool |
Ralf Baechle | dbb7454 | 2007-08-07 14:52:17 +0100 | [diff] [blame] | 1199 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1200 | config MIPS_BONITO64 |
| 1201 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1202 | |
| 1203 | config MIPS_MSC |
| 1204 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1205 | |
Ralf Baechle | 39b8d52 | 2008-04-28 17:14:26 +0100 | [diff] [blame] | 1206 | config SYNC_R4K |
| 1207 | bool |
| 1208 | |
Uwe Kleine-König | ce816fa | 2014-04-07 15:39:19 -0700 | [diff] [blame] | 1209 | config NO_IOPORT_MAP |
Maciej W. Rozycki | d388d68 | 2007-05-29 15:08:07 +0100 | [diff] [blame] | 1210 | def_bool n |
| 1211 | |
Markos Chandras | 4e0748f | 2014-11-13 11:25:27 +0000 | [diff] [blame] | 1212 | config GENERIC_CSUM |
Alexander Lobakin | 18d84e2e | 2020-01-22 13:58:50 +0300 | [diff] [blame] | 1213 | def_bool CPU_NO_LOAD_STORE_LR |
Markos Chandras | 4e0748f | 2014-11-13 11:25:27 +0000 | [diff] [blame] | 1214 | |
Ralf Baechle | 8313da3 | 2007-08-24 16:48:30 +0100 | [diff] [blame] | 1215 | config GENERIC_ISA_DMA |
| 1216 | bool |
| 1217 | select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n |
Namhyung Kim | a35bee8 | 2010-10-18 12:55:21 +0900 | [diff] [blame] | 1218 | select ISA_DMA_API |
Ralf Baechle | 8313da3 | 2007-08-24 16:48:30 +0100 | [diff] [blame] | 1219 | |
Ralf Baechle | aa414df | 2006-11-30 01:14:51 +0000 | [diff] [blame] | 1220 | config GENERIC_ISA_DMA_SUPPORT_BROKEN |
| 1221 | bool |
Ralf Baechle | 8313da3 | 2007-08-24 16:48:30 +0100 | [diff] [blame] | 1222 | select GENERIC_ISA_DMA |
Ralf Baechle | aa414df | 2006-11-30 01:14:51 +0000 | [diff] [blame] | 1223 | |
Masahiro Yamada | 78bdbba | 2020-03-25 16:45:29 +0900 | [diff] [blame] | 1224 | config HAVE_PLAT_DELAY |
| 1225 | bool |
| 1226 | |
| 1227 | config HAVE_PLAT_FW_INIT_CMDLINE |
| 1228 | bool |
| 1229 | |
| 1230 | config HAVE_PLAT_MEMCPY |
| 1231 | bool |
| 1232 | |
Namhyung Kim | a35bee8 | 2010-10-18 12:55:21 +0900 | [diff] [blame] | 1233 | config ISA_DMA_API |
| 1234 | bool |
| 1235 | |
David Daney | 465aaed | 2011-08-20 08:44:00 -0700 | [diff] [blame] | 1236 | config HOLES_IN_ZONE |
| 1237 | bool |
| 1238 | |
Matt Redfearn | 8c530ea | 2016-03-31 10:05:39 +0100 | [diff] [blame] | 1239 | config SYS_SUPPORTS_RELOCATABLE |
| 1240 | bool |
| 1241 | help |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 1242 | Selected if the platform supports relocating the kernel. |
| 1243 | The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF |
| 1244 | to allow access to command line and entropy sources. |
Matt Redfearn | 8c530ea | 2016-03-31 10:05:39 +0100 | [diff] [blame] | 1245 | |
David Daney | f381bf6 | 2017-06-13 15:28:46 -0700 | [diff] [blame] | 1246 | config MIPS_CBPF_JIT |
| 1247 | def_bool y |
| 1248 | depends on BPF_JIT && HAVE_CBPF_JIT |
| 1249 | |
| 1250 | config MIPS_EBPF_JIT |
| 1251 | def_bool y |
| 1252 | depends on BPF_JIT && HAVE_EBPF_JIT |
| 1253 | |
| 1254 | |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1255 | # |
Masanari Iida | 6b2aac4 | 2012-04-14 00:14:11 +0900 | [diff] [blame] | 1256 | # Endianness selection. Sufficiently obscure so many users don't know what to |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1257 | # answer,so we try hard to limit the available choices. Also the use of a |
| 1258 | # choice statement should be more obvious to the user. |
| 1259 | # |
| 1260 | choice |
Masanari Iida | 6b2aac4 | 2012-04-14 00:14:11 +0900 | [diff] [blame] | 1261 | prompt "Endianness selection" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1262 | help |
| 1263 | Some MIPS machines can be configured for either little or big endian |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1264 | byte order. These modes require different kernels and a different |
Matt LaPlante | 3cb2fcc | 2006-11-30 05:22:59 +0100 | [diff] [blame] | 1265 | Linux distribution. In general there is one preferred byteorder for a |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1266 | particular system but some systems are just as commonly used in the |
David Sterba | 3dde6ad | 2007-05-09 07:12:20 +0200 | [diff] [blame] | 1267 | one or the other endianness. |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1268 | |
| 1269 | config CPU_BIG_ENDIAN |
| 1270 | bool "Big endian" |
| 1271 | depends on SYS_SUPPORTS_BIG_ENDIAN |
| 1272 | |
| 1273 | config CPU_LITTLE_ENDIAN |
| 1274 | bool "Little endian" |
| 1275 | depends on SYS_SUPPORTS_LITTLE_ENDIAN |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1276 | |
| 1277 | endchoice |
| 1278 | |
David Daney | 22b0763 | 2010-07-23 18:41:43 -0700 | [diff] [blame] | 1279 | config EXPORT_UASM |
| 1280 | bool |
| 1281 | |
Ralf Baechle | 2116245 | 2007-02-09 17:08:58 +0000 | [diff] [blame] | 1282 | config SYS_SUPPORTS_APM_EMULATION |
| 1283 | bool |
| 1284 | |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1285 | config SYS_SUPPORTS_BIG_ENDIAN |
| 1286 | bool |
| 1287 | |
| 1288 | config SYS_SUPPORTS_LITTLE_ENDIAN |
| 1289 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1290 | |
David Daney | aa1762f | 2012-10-17 00:48:10 +0200 | [diff] [blame] | 1291 | config MIPS_HUGE_TLB_SUPPORT |
| 1292 | def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE |
| 1293 | |
Marc St-Jean | 9267a30 | 2007-06-14 15:55:31 -0600 | [diff] [blame] | 1294 | config IRQ_MSP_SLP |
| 1295 | bool |
| 1296 | |
| 1297 | config IRQ_MSP_CIC |
| 1298 | bool |
| 1299 | |
Atsushi Nemoto | 8420fd0 | 2007-08-02 23:35:53 +0900 | [diff] [blame] | 1300 | config IRQ_TXX9 |
| 1301 | bool |
| 1302 | |
Yoichi Yuasa | d5ab1a6 | 2007-09-13 23:51:26 +0900 | [diff] [blame] | 1303 | config IRQ_GT641XX |
| 1304 | bool |
| 1305 | |
Yoichi Yuasa | 252161e | 2007-03-14 21:51:26 +0900 | [diff] [blame] | 1306 | config PCI_GT64XXX_PCI0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1307 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1308 | |
Thomas Bogendoerfer | a57140e | 2019-05-07 23:09:13 +0200 | [diff] [blame] | 1309 | config PCI_XTALK_BRIDGE |
| 1310 | bool |
| 1311 | |
Marc St-Jean | 9267a30 | 2007-06-14 15:55:31 -0600 | [diff] [blame] | 1312 | config NO_EXCEPT_FILL |
| 1313 | bool |
| 1314 | |
Markos Chandras | a7e07b1 | 2014-11-13 13:32:03 +0000 | [diff] [blame] | 1315 | config MIPS_SPRAM |
| 1316 | bool |
| 1317 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1318 | config SWAP_IO_SPACE |
| 1319 | bool |
| 1320 | |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 1321 | config SGI_HAS_INDYDOG |
| 1322 | bool |
| 1323 | |
Thomas Bogendoerfer | 5b438c4 | 2008-07-10 20:29:55 +0200 | [diff] [blame] | 1324 | config SGI_HAS_HAL2 |
| 1325 | bool |
| 1326 | |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 1327 | config SGI_HAS_SEEQ |
| 1328 | bool |
| 1329 | |
| 1330 | config SGI_HAS_WD93 |
| 1331 | bool |
| 1332 | |
| 1333 | config SGI_HAS_ZILOG |
| 1334 | bool |
| 1335 | |
| 1336 | config SGI_HAS_I8042 |
| 1337 | bool |
| 1338 | |
| 1339 | config DEFAULT_SGI_PARTITION |
| 1340 | bool |
| 1341 | |
Ralf Baechle | 0e2794b | 2012-11-15 20:48:50 +0100 | [diff] [blame] | 1342 | config FW_ARC32 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1343 | bool |
| 1344 | |
Paul Bolle | aaa9fad | 2013-03-25 09:39:54 +0000 | [diff] [blame] | 1345 | config FW_SNIPROM |
Thomas Bogendoerfer | 231a35d | 2008-01-04 23:31:07 +0100 | [diff] [blame] | 1346 | bool |
| 1347 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1348 | config BOOT_ELF32 |
| 1349 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1350 | |
Florian Fainelli | 930beb5 | 2014-01-14 09:54:38 -0800 | [diff] [blame] | 1351 | config MIPS_L1_CACHE_SHIFT_4 |
| 1352 | bool |
| 1353 | |
| 1354 | config MIPS_L1_CACHE_SHIFT_5 |
| 1355 | bool |
| 1356 | |
| 1357 | config MIPS_L1_CACHE_SHIFT_6 |
| 1358 | bool |
| 1359 | |
| 1360 | config MIPS_L1_CACHE_SHIFT_7 |
| 1361 | bool |
| 1362 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1363 | config MIPS_L1_CACHE_SHIFT |
| 1364 | int |
Florian Fainelli | a4c0201 | 2014-01-14 09:54:39 -0800 | [diff] [blame] | 1365 | default "7" if MIPS_L1_CACHE_SHIFT_7 |
Kevin Cernekee | 5432eeb | 2014-12-25 09:49:09 -0800 | [diff] [blame] | 1366 | default "6" if MIPS_L1_CACHE_SHIFT_6 |
| 1367 | default "5" if MIPS_L1_CACHE_SHIFT_5 |
| 1368 | default "4" if MIPS_L1_CACHE_SHIFT_4 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1369 | default "5" |
| 1370 | |
Thomas Bogendoerfer | e942242 | 2019-10-22 18:13:15 +0200 | [diff] [blame] | 1371 | config ARC_CMDLINE_ONLY |
| 1372 | bool |
| 1373 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1374 | config ARC_CONSOLE |
| 1375 | bool "ARC console support" |
Thomas Bogendoerfer | e2defae | 2007-12-02 13:00:32 +0100 | [diff] [blame] | 1376 | depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1377 | |
| 1378 | config ARC_MEMORY |
| 1379 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1380 | |
| 1381 | config ARC_PROMLIB |
| 1382 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1383 | |
Ralf Baechle | 0e2794b | 2012-11-15 20:48:50 +0100 | [diff] [blame] | 1384 | config FW_ARC64 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1385 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1386 | |
| 1387 | config BOOT_ELF64 |
| 1388 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1389 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1390 | menu "CPU selection" |
| 1391 | |
| 1392 | choice |
| 1393 | prompt "CPU type" |
| 1394 | default CPU_R4X00 |
| 1395 | |
Jiaxun Yang | 268a2d6 | 2019-10-20 22:43:13 +0800 | [diff] [blame] | 1396 | config CPU_LOONGSON64 |
Huacai Chen | caed1d1 | 2019-11-04 14:11:21 +0800 | [diff] [blame] | 1397 | bool "Loongson 64-bit CPU" |
Jiaxun Yang | 268a2d6 | 2019-10-20 22:43:13 +0800 | [diff] [blame] | 1398 | depends on SYS_HAS_CPU_LOONGSON64 |
Christoph Hellwig | d3bc81b | 2018-06-15 13:08:41 +0200 | [diff] [blame] | 1399 | select ARCH_HAS_PHYS_TO_DMA |
Jiaxun Yang | 5152221 | 2020-01-13 18:15:00 +0800 | [diff] [blame] | 1400 | select CPU_MIPSR2 |
| 1401 | select CPU_HAS_PREFETCH |
Huacai Chen | 0e476d9 | 2014-03-21 18:44:07 +0800 | [diff] [blame] | 1402 | select CPU_SUPPORTS_64BIT_KERNEL |
| 1403 | select CPU_SUPPORTS_HIGHMEM |
| 1404 | select CPU_SUPPORTS_HUGEPAGES |
Huacai Chen | 7507445 | 2019-09-21 21:50:27 +0800 | [diff] [blame] | 1405 | select CPU_SUPPORTS_MSA |
Jiaxun Yang | 5152221 | 2020-01-13 18:15:00 +0800 | [diff] [blame] | 1406 | select CPU_DIEI_BROKEN if !LOONGSON3_ENHANCEMENT |
| 1407 | select CPU_MIPSR2_IRQ_VI |
Huacai Chen | 0e476d9 | 2014-03-21 18:44:07 +0800 | [diff] [blame] | 1408 | select WEAK_ORDERING |
| 1409 | select WEAK_REORDERING_BEYOND_LLSC |
Huacai Chen | 7507445 | 2019-09-21 21:50:27 +0800 | [diff] [blame] | 1410 | select MIPS_ASID_BITS_VARIABLE |
Huacai Chen | b2edcfc | 2016-03-03 09:45:09 +0800 | [diff] [blame] | 1411 | select MIPS_PGD_C0_CONTEXT |
Huacai Chen | 17c99d9 | 2017-03-16 21:00:28 +0800 | [diff] [blame] | 1412 | select MIPS_L1_CACHE_SHIFT_6 |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 1413 | select GPIOLIB |
Christoph Hellwig | 09230cb | 2018-04-24 09:00:54 +0200 | [diff] [blame] | 1414 | select SWIOTLB |
Huacai Chen | 0f78355 | 2020-05-23 15:56:41 +0800 | [diff] [blame] | 1415 | select HAVE_KVM |
Huacai Chen | 0e476d9 | 2014-03-21 18:44:07 +0800 | [diff] [blame] | 1416 | help |
Huacai Chen | caed1d1 | 2019-11-04 14:11:21 +0800 | [diff] [blame] | 1417 | The Loongson GSx64(GS264/GS464/GS464E/GS464V) series of processor |
| 1418 | cores implements the MIPS64R2 instruction set with many extensions, |
| 1419 | including most 64-bit Loongson-2 (2H, 2K) and Loongson-3 (3A1000, |
| 1420 | 3B1000, 3B1500, 3A2000, 3A3000 and 3A4000) processors. However, old |
| 1421 | Loongson-2E/2F is not covered here and will be removed in future. |
Huacai Chen | 0e476d9 | 2014-03-21 18:44:07 +0800 | [diff] [blame] | 1422 | |
Huacai Chen | caed1d1 | 2019-11-04 14:11:21 +0800 | [diff] [blame] | 1423 | config LOONGSON3_ENHANCEMENT |
| 1424 | bool "New Loongson-3 CPU Enhancements" |
Huacai Chen | 1e820da3 | 2016-03-03 09:45:13 +0800 | [diff] [blame] | 1425 | default n |
Jiaxun Yang | 268a2d6 | 2019-10-20 22:43:13 +0800 | [diff] [blame] | 1426 | depends on CPU_LOONGSON64 |
Huacai Chen | 1e820da3 | 2016-03-03 09:45:13 +0800 | [diff] [blame] | 1427 | help |
Huacai Chen | caed1d1 | 2019-11-04 14:11:21 +0800 | [diff] [blame] | 1428 | New Loongson-3 cores (since Loongson-3A R2, as opposed to Loongson-3A |
Huacai Chen | 1e820da3 | 2016-03-03 09:45:13 +0800 | [diff] [blame] | 1429 | R1, Loongson-3B R1 and Loongson-3B R2) has many enhancements, such as |
Jiaxun Yang | 268a2d6 | 2019-10-20 22:43:13 +0800 | [diff] [blame] | 1430 | FTLB, L1-VCache, EI/DI/Wait/Prefetch instruction, DSP/DSPr2 ASE, User |
Huacai Chen | 1e820da3 | 2016-03-03 09:45:13 +0800 | [diff] [blame] | 1431 | Local register, Read-Inhibit/Execute-Inhibit, SFB (Store Fill Buffer), |
| 1432 | Fast TLB refill support, etc. |
| 1433 | |
| 1434 | This option enable those enhancements which are not probed at run |
| 1435 | time. If you want a generic kernel to run on all Loongson 3 machines, |
| 1436 | please say 'N' here. If you want a high-performance kernel to run on |
Huacai Chen | caed1d1 | 2019-11-04 14:11:21 +0800 | [diff] [blame] | 1437 | new Loongson-3 machines only, please say 'Y' here. |
Huacai Chen | 1e820da3 | 2016-03-03 09:45:13 +0800 | [diff] [blame] | 1438 | |
Huacai Chen | e02e07e | 2019-01-15 16:04:54 +0800 | [diff] [blame] | 1439 | config CPU_LOONGSON3_WORKAROUNDS |
Huacai Chen | caed1d1 | 2019-11-04 14:11:21 +0800 | [diff] [blame] | 1440 | bool "Old Loongson-3 LLSC Workarounds" |
Huacai Chen | e02e07e | 2019-01-15 16:04:54 +0800 | [diff] [blame] | 1441 | default y if SMP |
Jiaxun Yang | 268a2d6 | 2019-10-20 22:43:13 +0800 | [diff] [blame] | 1442 | depends on CPU_LOONGSON64 |
Huacai Chen | e02e07e | 2019-01-15 16:04:54 +0800 | [diff] [blame] | 1443 | help |
Huacai Chen | caed1d1 | 2019-11-04 14:11:21 +0800 | [diff] [blame] | 1444 | Loongson-3 processors have the llsc issues which require workarounds. |
Huacai Chen | e02e07e | 2019-01-15 16:04:54 +0800 | [diff] [blame] | 1445 | Without workarounds the system may hang unexpectedly. |
| 1446 | |
Huacai Chen | caed1d1 | 2019-11-04 14:11:21 +0800 | [diff] [blame] | 1447 | Newer Loongson-3 will fix these issues and no workarounds are needed. |
Huacai Chen | e02e07e | 2019-01-15 16:04:54 +0800 | [diff] [blame] | 1448 | The workarounds have no significant side effect on them but may |
| 1449 | decrease the performance of the system so this option should be |
| 1450 | disabled unless the kernel is intended to be run on old systems. |
| 1451 | |
| 1452 | If unsure, please say Y. |
| 1453 | |
WANG Xuerui | ec7a931 | 2020-05-23 21:37:01 +0800 | [diff] [blame] | 1454 | config CPU_LOONGSON3_CPUCFG_EMULATION |
| 1455 | bool "Emulate the CPUCFG instruction on older Loongson cores" |
| 1456 | default y |
| 1457 | depends on CPU_LOONGSON64 |
| 1458 | help |
| 1459 | Loongson-3A R4 and newer have the CPUCFG instruction available for |
| 1460 | userland to query CPU capabilities, much like CPUID on x86. This |
| 1461 | option provides emulation of the instruction on older Loongson |
| 1462 | cores, back to Loongson-3A1000. |
| 1463 | |
| 1464 | If unsure, please say Y. |
| 1465 | |
Wu Zhangjin | 3702bba | 2009-07-02 23:27:41 +0800 | [diff] [blame] | 1466 | config CPU_LOONGSON2E |
| 1467 | bool "Loongson 2E" |
| 1468 | depends on SYS_HAS_CPU_LOONGSON2E |
Jiaxun Yang | 268a2d6 | 2019-10-20 22:43:13 +0800 | [diff] [blame] | 1469 | select CPU_LOONGSON2EF |
Fuxin Zhang | 2a21c73 | 2007-06-06 14:52:43 +0800 | [diff] [blame] | 1470 | help |
| 1471 | The Loongson 2E processor implements the MIPS III instruction set |
| 1472 | with many extensions. |
| 1473 | |
Lucas De Marchi | 25985ed | 2011-03-30 22:57:33 -0300 | [diff] [blame] | 1474 | It has an internal FPGA northbridge, which is compatible to |
Wu Zhangjin | 6f7a251 | 2009-11-06 18:45:05 +0800 | [diff] [blame] | 1475 | bonito64. |
| 1476 | |
| 1477 | config CPU_LOONGSON2F |
| 1478 | bool "Loongson 2F" |
| 1479 | depends on SYS_HAS_CPU_LOONGSON2F |
Jiaxun Yang | 268a2d6 | 2019-10-20 22:43:13 +0800 | [diff] [blame] | 1480 | select CPU_LOONGSON2EF |
Linus Walleij | d30a2b4 | 2016-04-19 11:23:22 +0200 | [diff] [blame] | 1481 | select GPIOLIB |
Wu Zhangjin | 6f7a251 | 2009-11-06 18:45:05 +0800 | [diff] [blame] | 1482 | help |
| 1483 | The Loongson 2F processor implements the MIPS III instruction set |
| 1484 | with many extensions. |
| 1485 | |
| 1486 | Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller |
| 1487 | have a similar programming interface with FPGA northbridge used in |
| 1488 | Loongson2E. |
| 1489 | |
Kelvin Cheung | ca585cf | 2012-07-25 16:17:24 +0200 | [diff] [blame] | 1490 | config CPU_LOONGSON1B |
| 1491 | bool "Loongson 1B" |
| 1492 | depends on SYS_HAS_CPU_LOONGSON1B |
Huacai Chen | b2afb64 | 2019-11-04 14:11:20 +0800 | [diff] [blame] | 1493 | select CPU_LOONGSON32 |
Kelvin Cheung | 9ec88b6 | 2016-04-06 20:34:54 +0800 | [diff] [blame] | 1494 | select LEDS_GPIO_REGISTER |
Kelvin Cheung | ca585cf | 2012-07-25 16:17:24 +0200 | [diff] [blame] | 1495 | help |
| 1496 | The Loongson 1B is a 32-bit SoC, which implements the MIPS32 |
谢致邦 (XIE Zhibang) | 968dc5a0 | 2017-06-01 18:41:34 +0800 | [diff] [blame] | 1497 | Release 1 instruction set and part of the MIPS32 Release 2 |
| 1498 | instruction set. |
Kelvin Cheung | ca585cf | 2012-07-25 16:17:24 +0200 | [diff] [blame] | 1499 | |
Yang Ling | 12e3280 | 2016-05-19 12:29:30 +0800 | [diff] [blame] | 1500 | config CPU_LOONGSON1C |
| 1501 | bool "Loongson 1C" |
| 1502 | depends on SYS_HAS_CPU_LOONGSON1C |
Huacai Chen | b2afb64 | 2019-11-04 14:11:20 +0800 | [diff] [blame] | 1503 | select CPU_LOONGSON32 |
Yang Ling | 12e3280 | 2016-05-19 12:29:30 +0800 | [diff] [blame] | 1504 | select LEDS_GPIO_REGISTER |
| 1505 | help |
| 1506 | The Loongson 1C is a 32-bit SoC, which implements the MIPS32 |
谢致邦 (XIE Zhibang) | 968dc5a0 | 2017-06-01 18:41:34 +0800 | [diff] [blame] | 1507 | Release 1 instruction set and part of the MIPS32 Release 2 |
| 1508 | instruction set. |
Yang Ling | 12e3280 | 2016-05-19 12:29:30 +0800 | [diff] [blame] | 1509 | |
Ralf Baechle | 6e760c8 | 2005-07-06 12:08:11 +0000 | [diff] [blame] | 1510 | config CPU_MIPS32_R1 |
| 1511 | bool "MIPS32 Release 1" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1512 | depends on SYS_HAS_CPU_MIPS32_R1 |
Ralf Baechle | 6e760c8 | 2005-07-06 12:08:11 +0000 | [diff] [blame] | 1513 | select CPU_HAS_PREFETCH |
Ralf Baechle | 797798c | 2005-08-10 15:17:11 +0000 | [diff] [blame] | 1514 | select CPU_SUPPORTS_32BIT_KERNEL |
Ralf Baechle | ec28f30 | 2006-03-05 00:45:33 +0000 | [diff] [blame] | 1515 | select CPU_SUPPORTS_HIGHMEM |
Ralf Baechle | 6e760c8 | 2005-07-06 12:08:11 +0000 | [diff] [blame] | 1516 | help |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1517 | Choose this option to build a kernel for release 1 or later of the |
Ralf Baechle | 1e5f1ca | 2005-07-12 14:51:22 +0000 | [diff] [blame] | 1518 | MIPS32 architecture. Most modern embedded systems with a 32-bit |
| 1519 | MIPS processor are based on a MIPS32 processor. If you know the |
| 1520 | specific type of processor in your system, choose those that one |
| 1521 | otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. |
| 1522 | Release 2 of the MIPS32 architecture is available since several |
| 1523 | years so chances are you even have a MIPS32 Release 2 processor |
| 1524 | in which case you should choose CPU_MIPS32_R2 instead for better |
| 1525 | performance. |
| 1526 | |
| 1527 | config CPU_MIPS32_R2 |
| 1528 | bool "MIPS32 Release 2" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1529 | depends on SYS_HAS_CPU_MIPS32_R2 |
Ralf Baechle | 1e5f1ca | 2005-07-12 14:51:22 +0000 | [diff] [blame] | 1530 | select CPU_HAS_PREFETCH |
Ralf Baechle | 797798c | 2005-08-10 15:17:11 +0000 | [diff] [blame] | 1531 | select CPU_SUPPORTS_32BIT_KERNEL |
Ralf Baechle | ec28f30 | 2006-03-05 00:45:33 +0000 | [diff] [blame] | 1532 | select CPU_SUPPORTS_HIGHMEM |
Paul Burton | a5e9a69 | 2014-01-27 15:23:10 +0000 | [diff] [blame] | 1533 | select CPU_SUPPORTS_MSA |
Sanjay Lal | 2235a54 | 2012-11-21 18:33:59 -0800 | [diff] [blame] | 1534 | select HAVE_KVM |
Ralf Baechle | 1e5f1ca | 2005-07-12 14:51:22 +0000 | [diff] [blame] | 1535 | help |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1536 | Choose this option to build a kernel for release 2 or later of the |
Ralf Baechle | 6e760c8 | 2005-07-06 12:08:11 +0000 | [diff] [blame] | 1537 | MIPS32 architecture. Most modern embedded systems with a 32-bit |
| 1538 | MIPS processor are based on a MIPS32 processor. If you know the |
| 1539 | specific type of processor in your system, choose those that one |
| 1540 | otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1541 | |
Serge Semin | ab7c01f | 2020-05-21 17:07:14 +0300 | [diff] [blame] | 1542 | config CPU_MIPS32_R5 |
| 1543 | bool "MIPS32 Release 5" |
| 1544 | depends on SYS_HAS_CPU_MIPS32_R5 |
| 1545 | select CPU_HAS_PREFETCH |
| 1546 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1547 | select CPU_SUPPORTS_HIGHMEM |
| 1548 | select CPU_SUPPORTS_MSA |
| 1549 | select HAVE_KVM |
| 1550 | select MIPS_O32_FP64_SUPPORT |
| 1551 | help |
| 1552 | Choose this option to build a kernel for release 5 or later of the |
| 1553 | MIPS32 architecture. New MIPS processors, starting with the Warrior |
| 1554 | family, are based on a MIPS32r5 processor. If you own an older |
| 1555 | processor, you probably need to select MIPS32r1 or MIPS32r2 instead. |
| 1556 | |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 1557 | config CPU_MIPS32_R6 |
Markos Chandras | 674d10e | 2015-07-16 13:24:46 +0100 | [diff] [blame] | 1558 | bool "MIPS32 Release 6" |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 1559 | depends on SYS_HAS_CPU_MIPS32_R6 |
| 1560 | select CPU_HAS_PREFETCH |
Alexander Lobakin | 18d84e2e | 2020-01-22 13:58:50 +0300 | [diff] [blame] | 1561 | select CPU_NO_LOAD_STORE_LR |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 1562 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1563 | select CPU_SUPPORTS_HIGHMEM |
| 1564 | select CPU_SUPPORTS_MSA |
| 1565 | select HAVE_KVM |
| 1566 | select MIPS_O32_FP64_SUPPORT |
| 1567 | help |
| 1568 | Choose this option to build a kernel for release 6 or later of the |
| 1569 | MIPS32 architecture. New MIPS processors, starting with the Warrior |
| 1570 | family, are based on a MIPS32r6 processor. If you own an older |
| 1571 | processor, you probably need to select MIPS32r1 or MIPS32r2 instead. |
| 1572 | |
Ralf Baechle | 6e760c8 | 2005-07-06 12:08:11 +0000 | [diff] [blame] | 1573 | config CPU_MIPS64_R1 |
| 1574 | bool "MIPS64 Release 1" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1575 | depends on SYS_HAS_CPU_MIPS64_R1 |
Ralf Baechle | 797798c | 2005-08-10 15:17:11 +0000 | [diff] [blame] | 1576 | select CPU_HAS_PREFETCH |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 1577 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1578 | select CPU_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | ec28f30 | 2006-03-05 00:45:33 +0000 | [diff] [blame] | 1579 | select CPU_SUPPORTS_HIGHMEM |
David Daney | 9cffd154 | 2009-05-27 17:47:46 -0700 | [diff] [blame] | 1580 | select CPU_SUPPORTS_HUGEPAGES |
Ralf Baechle | 6e760c8 | 2005-07-06 12:08:11 +0000 | [diff] [blame] | 1581 | help |
| 1582 | Choose this option to build a kernel for release 1 or later of the |
| 1583 | MIPS64 architecture. Many modern embedded systems with a 64-bit |
| 1584 | MIPS processor are based on a MIPS64 processor. If you know the |
| 1585 | specific type of processor in your system, choose those that one |
| 1586 | otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. |
Ralf Baechle | 1e5f1ca | 2005-07-12 14:51:22 +0000 | [diff] [blame] | 1587 | Release 2 of the MIPS64 architecture is available since several |
| 1588 | years so chances are you even have a MIPS64 Release 2 processor |
| 1589 | in which case you should choose CPU_MIPS64_R2 instead for better |
| 1590 | performance. |
| 1591 | |
| 1592 | config CPU_MIPS64_R2 |
| 1593 | bool "MIPS64 Release 2" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1594 | depends on SYS_HAS_CPU_MIPS64_R2 |
Ralf Baechle | 797798c | 2005-08-10 15:17:11 +0000 | [diff] [blame] | 1595 | select CPU_HAS_PREFETCH |
Ralf Baechle | 1e5f1ca | 2005-07-12 14:51:22 +0000 | [diff] [blame] | 1596 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1597 | select CPU_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | ec28f30 | 2006-03-05 00:45:33 +0000 | [diff] [blame] | 1598 | select CPU_SUPPORTS_HIGHMEM |
David Daney | 9cffd154 | 2009-05-27 17:47:46 -0700 | [diff] [blame] | 1599 | select CPU_SUPPORTS_HUGEPAGES |
Paul Burton | a5e9a69 | 2014-01-27 15:23:10 +0000 | [diff] [blame] | 1600 | select CPU_SUPPORTS_MSA |
James Hogan | 40a2df4 | 2016-07-08 11:53:31 +0100 | [diff] [blame] | 1601 | select HAVE_KVM |
Ralf Baechle | 1e5f1ca | 2005-07-12 14:51:22 +0000 | [diff] [blame] | 1602 | help |
| 1603 | Choose this option to build a kernel for release 2 or later of the |
| 1604 | MIPS64 architecture. Many modern embedded systems with a 64-bit |
| 1605 | MIPS processor are based on a MIPS64 processor. If you know the |
| 1606 | specific type of processor in your system, choose those that one |
| 1607 | otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1608 | |
Serge Semin | ab7c01f | 2020-05-21 17:07:14 +0300 | [diff] [blame] | 1609 | config CPU_MIPS64_R5 |
| 1610 | bool "MIPS64 Release 5" |
| 1611 | depends on SYS_HAS_CPU_MIPS64_R5 |
| 1612 | select CPU_HAS_PREFETCH |
| 1613 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1614 | select CPU_SUPPORTS_64BIT_KERNEL |
| 1615 | select CPU_SUPPORTS_HIGHMEM |
| 1616 | select CPU_SUPPORTS_HUGEPAGES |
| 1617 | select CPU_SUPPORTS_MSA |
| 1618 | select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32 |
| 1619 | select HAVE_KVM |
| 1620 | help |
| 1621 | Choose this option to build a kernel for release 5 or later of the |
| 1622 | MIPS64 architecture. This is a intermediate MIPS architecture |
| 1623 | release partly implementing release 6 features. Though there is no |
| 1624 | any hardware known to be based on this release. |
| 1625 | |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 1626 | config CPU_MIPS64_R6 |
Markos Chandras | 674d10e | 2015-07-16 13:24:46 +0100 | [diff] [blame] | 1627 | bool "MIPS64 Release 6" |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 1628 | depends on SYS_HAS_CPU_MIPS64_R6 |
| 1629 | select CPU_HAS_PREFETCH |
Alexander Lobakin | 18d84e2e | 2020-01-22 13:58:50 +0300 | [diff] [blame] | 1630 | select CPU_NO_LOAD_STORE_LR |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 1631 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1632 | select CPU_SUPPORTS_64BIT_KERNEL |
| 1633 | select CPU_SUPPORTS_HIGHMEM |
Paul Burton | afd375d | 2019-02-02 02:21:53 +0000 | [diff] [blame] | 1634 | select CPU_SUPPORTS_HUGEPAGES |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 1635 | select CPU_SUPPORTS_MSA |
James Hogan | 2e6c774 | 2017-02-16 12:39:01 +0000 | [diff] [blame] | 1636 | select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32 |
James Hogan | 40a2df4 | 2016-07-08 11:53:31 +0100 | [diff] [blame] | 1637 | select HAVE_KVM |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 1638 | help |
| 1639 | Choose this option to build a kernel for release 6 or later of the |
| 1640 | MIPS64 architecture. New MIPS processors, starting with the Warrior |
| 1641 | family, are based on a MIPS64r6 processor. If you own an older |
| 1642 | processor, you probably need to select MIPS64r1 or MIPS64r2 instead. |
| 1643 | |
Serge Semin | 281e3ae | 2020-05-21 17:07:15 +0300 | [diff] [blame] | 1644 | config CPU_P5600 |
| 1645 | bool "MIPS Warrior P5600" |
| 1646 | depends on SYS_HAS_CPU_P5600 |
| 1647 | select CPU_HAS_PREFETCH |
| 1648 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1649 | select CPU_SUPPORTS_HIGHMEM |
| 1650 | select CPU_SUPPORTS_MSA |
Serge Semin | 281e3ae | 2020-05-21 17:07:15 +0300 | [diff] [blame] | 1651 | select CPU_SUPPORTS_CPUFREQ |
| 1652 | select CPU_MIPSR2_IRQ_VI |
| 1653 | select CPU_MIPSR2_IRQ_EI |
| 1654 | select HAVE_KVM |
| 1655 | select MIPS_O32_FP64_SUPPORT |
| 1656 | help |
| 1657 | Choose this option to build a kernel for MIPS Warrior P5600 CPU. |
| 1658 | It's based on MIPS32r5 ISA with XPA, EVA, dual/quad issue exec pipes, |
| 1659 | MMU with two-levels TLB, UCA, MSA, MDU core level features and system |
| 1660 | level features like up to six P5600 calculation cores, CM2 with L2 |
| 1661 | cache, IOCU/IOMMU (though might be unused depending on the system- |
| 1662 | specific IP core configuration), GIC, CPC, virtualisation module, |
| 1663 | eJTAG and PDtrace. |
| 1664 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1665 | config CPU_R3000 |
| 1666 | bool "R3000" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1667 | depends on SYS_HAS_CPU_R3000 |
Ralf Baechle | f7062dd | 2006-04-24 14:58:53 +0100 | [diff] [blame] | 1668 | select CPU_HAS_WB |
Paul Burton | 5474682 | 2019-08-31 15:40:43 +0000 | [diff] [blame] | 1669 | select CPU_R3K_TLB |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 1670 | select CPU_SUPPORTS_32BIT_KERNEL |
Ralf Baechle | 797798c | 2005-08-10 15:17:11 +0000 | [diff] [blame] | 1671 | select CPU_SUPPORTS_HIGHMEM |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1672 | help |
| 1673 | Please make sure to pick the right CPU type. Linux/MIPS is not |
| 1674 | designed to be generic, i.e. Kernels compiled for R3000 CPUs will |
| 1675 | *not* work on R4000 machines and vice versa. However, since most |
| 1676 | of the supported machines have an R4000 (or similar) CPU, R4x00 |
| 1677 | might be a safe bet. If the resulting kernel does not work, |
| 1678 | try to recompile with R3000. |
| 1679 | |
| 1680 | config CPU_TX39XX |
| 1681 | bool "R39XX" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1682 | depends on SYS_HAS_CPU_TX39XX |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 1683 | select CPU_SUPPORTS_32BIT_KERNEL |
Paul Burton | 5474682 | 2019-08-31 15:40:43 +0000 | [diff] [blame] | 1684 | select CPU_R3K_TLB |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1685 | |
| 1686 | config CPU_VR41XX |
| 1687 | bool "R41xx" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1688 | depends on SYS_HAS_CPU_VR41XX |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 1689 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1690 | select CPU_SUPPORTS_64BIT_KERNEL |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1691 | help |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1692 | The options selects support for the NEC VR4100 series of processors. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1693 | Only choose this option if you have one of these processors as a |
| 1694 | kernel built with this option will not run on any other type of |
| 1695 | processor or vice versa. |
| 1696 | |
Lauri Kasanen | 65ce619 | 2021-01-13 17:10:07 +0200 | [diff] [blame] | 1697 | config CPU_R4300 |
| 1698 | bool "R4300" |
| 1699 | depends on SYS_HAS_CPU_R4300 |
| 1700 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1701 | select CPU_SUPPORTS_64BIT_KERNEL |
| 1702 | select CPU_HAS_LOAD_STORE_LR |
| 1703 | help |
| 1704 | MIPS Technologies R4300-series processors. |
| 1705 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1706 | config CPU_R4X00 |
| 1707 | bool "R4x00" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1708 | depends on SYS_HAS_CPU_R4X00 |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 1709 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1710 | select CPU_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 970d032 | 2012-10-18 13:54:15 +0200 | [diff] [blame] | 1711 | select CPU_SUPPORTS_HUGEPAGES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1712 | help |
| 1713 | MIPS Technologies R4000-series processors other than 4300, including |
| 1714 | the R4000, R4400, R4600, and 4700. |
| 1715 | |
| 1716 | config CPU_TX49XX |
| 1717 | bool "R49XX" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1718 | depends on SYS_HAS_CPU_TX49XX |
Atsushi Nemoto | de862b4 | 2006-03-17 12:59:22 +0900 | [diff] [blame] | 1719 | select CPU_HAS_PREFETCH |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 1720 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1721 | select CPU_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 970d032 | 2012-10-18 13:54:15 +0200 | [diff] [blame] | 1722 | select CPU_SUPPORTS_HUGEPAGES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1723 | |
| 1724 | config CPU_R5000 |
| 1725 | bool "R5000" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1726 | depends on SYS_HAS_CPU_R5000 |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 1727 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1728 | select CPU_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 970d032 | 2012-10-18 13:54:15 +0200 | [diff] [blame] | 1729 | select CPU_SUPPORTS_HUGEPAGES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1730 | help |
| 1731 | MIPS Technologies R5000-series processors other than the Nevada. |
| 1732 | |
Shinya Kuribayashi | 542c102 | 2008-10-24 01:27:57 +0900 | [diff] [blame] | 1733 | config CPU_R5500 |
| 1734 | bool "R5500" |
| 1735 | depends on SYS_HAS_CPU_R5500 |
Shinya Kuribayashi | 542c102 | 2008-10-24 01:27:57 +0900 | [diff] [blame] | 1736 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1737 | select CPU_SUPPORTS_64BIT_KERNEL |
David Daney | 9cffd154 | 2009-05-27 17:47:46 -0700 | [diff] [blame] | 1738 | select CPU_SUPPORTS_HUGEPAGES |
Shinya Kuribayashi | 542c102 | 2008-10-24 01:27:57 +0900 | [diff] [blame] | 1739 | help |
| 1740 | NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV |
| 1741 | instruction set. |
| 1742 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1743 | config CPU_NEVADA |
| 1744 | bool "RM52xx" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1745 | depends on SYS_HAS_CPU_NEVADA |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 1746 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1747 | select CPU_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 970d032 | 2012-10-18 13:54:15 +0200 | [diff] [blame] | 1748 | select CPU_SUPPORTS_HUGEPAGES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1749 | help |
| 1750 | QED / PMC-Sierra RM52xx-series ("Nevada") processors. |
| 1751 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1752 | config CPU_R10000 |
| 1753 | bool "R10000" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1754 | depends on SYS_HAS_CPU_R10000 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1755 | select CPU_HAS_PREFETCH |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 1756 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1757 | select CPU_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 797798c | 2005-08-10 15:17:11 +0000 | [diff] [blame] | 1758 | select CPU_SUPPORTS_HIGHMEM |
Ralf Baechle | 970d032 | 2012-10-18 13:54:15 +0200 | [diff] [blame] | 1759 | select CPU_SUPPORTS_HUGEPAGES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1760 | help |
| 1761 | MIPS Technologies R10000-series processors. |
| 1762 | |
| 1763 | config CPU_RM7000 |
| 1764 | bool "RM7000" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1765 | depends on SYS_HAS_CPU_RM7000 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 1766 | select CPU_HAS_PREFETCH |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 1767 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1768 | select CPU_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 797798c | 2005-08-10 15:17:11 +0000 | [diff] [blame] | 1769 | select CPU_SUPPORTS_HIGHMEM |
Ralf Baechle | 970d032 | 2012-10-18 13:54:15 +0200 | [diff] [blame] | 1770 | select CPU_SUPPORTS_HUGEPAGES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1771 | |
| 1772 | config CPU_SB1 |
| 1773 | bool "SB1" |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 1774 | depends on SYS_HAS_CPU_SB1 |
Yoichi Yuasa | ed5ba2f | 2005-09-03 15:56:21 -0700 | [diff] [blame] | 1775 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1776 | select CPU_SUPPORTS_64BIT_KERNEL |
Ralf Baechle | 797798c | 2005-08-10 15:17:11 +0000 | [diff] [blame] | 1777 | select CPU_SUPPORTS_HIGHMEM |
Ralf Baechle | 970d032 | 2012-10-18 13:54:15 +0200 | [diff] [blame] | 1778 | select CPU_SUPPORTS_HUGEPAGES |
Ralf Baechle | 0004a9d | 2006-10-31 03:45:07 +0000 | [diff] [blame] | 1779 | select WEAK_ORDERING |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1780 | |
David Daney | a86c7f7 | 2008-12-11 15:33:38 -0800 | [diff] [blame] | 1781 | config CPU_CAVIUM_OCTEON |
| 1782 | bool "Cavium Octeon processor" |
David Daney | 5e68338 | 2009-02-02 11:30:59 -0800 | [diff] [blame] | 1783 | depends on SYS_HAS_CPU_CAVIUM_OCTEON |
David Daney | a86c7f7 | 2008-12-11 15:33:38 -0800 | [diff] [blame] | 1784 | select CPU_HAS_PREFETCH |
| 1785 | select CPU_SUPPORTS_64BIT_KERNEL |
David Daney | a86c7f7 | 2008-12-11 15:33:38 -0800 | [diff] [blame] | 1786 | select WEAK_ORDERING |
David Daney | a86c7f7 | 2008-12-11 15:33:38 -0800 | [diff] [blame] | 1787 | select CPU_SUPPORTS_HIGHMEM |
David Daney | 9cffd154 | 2009-05-27 17:47:46 -0700 | [diff] [blame] | 1788 | select CPU_SUPPORTS_HUGEPAGES |
Ben Hutchings | df115f3 | 2015-05-25 20:27:29 +0100 | [diff] [blame] | 1789 | select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN |
| 1790 | select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN |
Florian Fainelli | 930beb5 | 2014-01-14 09:54:38 -0800 | [diff] [blame] | 1791 | select MIPS_L1_CACHE_SHIFT_7 |
James Hogan | 0ae3abc | 2017-03-14 10:25:51 +0000 | [diff] [blame] | 1792 | select HAVE_KVM |
David Daney | a86c7f7 | 2008-12-11 15:33:38 -0800 | [diff] [blame] | 1793 | help |
| 1794 | The Cavium Octeon processor is a highly integrated chip containing |
| 1795 | many ethernet hardware widgets for networking tasks. The processor |
| 1796 | can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets. |
| 1797 | Full details can be found at http://www.caviumnetworks.com. |
| 1798 | |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 1799 | config CPU_BMIPS |
| 1800 | bool "Broadcom BMIPS" |
| 1801 | depends on SYS_HAS_CPU_BMIPS |
| 1802 | select CPU_MIPS32 |
Jonas Gorski | fe7f62c | 2013-12-18 14:12:05 +0100 | [diff] [blame] | 1803 | select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300 |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 1804 | select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350 |
| 1805 | select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380 |
| 1806 | select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000 |
| 1807 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1808 | select DMA_NONCOHERENT |
Ralf Baechle | 67e38cf | 2015-05-26 18:20:06 +0200 | [diff] [blame] | 1809 | select IRQ_MIPS_CPU |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 1810 | select SWAP_IO_SPACE |
| 1811 | select WEAK_ORDERING |
Kevin Cernekee | c1c0c46 | 2010-10-17 10:56:53 -0700 | [diff] [blame] | 1812 | select CPU_SUPPORTS_HIGHMEM |
Jonas Gorski | 69aaf9c | 2013-12-18 14:12:04 +0100 | [diff] [blame] | 1813 | select CPU_HAS_PREFETCH |
Markus Mayer | a8d709b | 2017-02-07 13:58:54 -0800 | [diff] [blame] | 1814 | select CPU_SUPPORTS_CPUFREQ |
| 1815 | select MIPS_EXTERNAL_TIMER |
Kevin Cernekee | c1c0c46 | 2010-10-17 10:56:53 -0700 | [diff] [blame] | 1816 | help |
Jonas Gorski | fe7f62c | 2013-12-18 14:12:05 +0100 | [diff] [blame] | 1817 | Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors. |
Kevin Cernekee | c1c0c46 | 2010-10-17 10:56:53 -0700 | [diff] [blame] | 1818 | |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1819 | config CPU_XLR |
| 1820 | bool "Netlogic XLR SoC" |
| 1821 | depends on SYS_HAS_CPU_XLR |
| 1822 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1823 | select CPU_SUPPORTS_64BIT_KERNEL |
| 1824 | select CPU_SUPPORTS_HIGHMEM |
Ralf Baechle | 970d032 | 2012-10-18 13:54:15 +0200 | [diff] [blame] | 1825 | select CPU_SUPPORTS_HUGEPAGES |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1826 | select WEAK_ORDERING |
| 1827 | select WEAK_REORDERING_BEYOND_LLSC |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 1828 | help |
| 1829 | Netlogic Microsystems XLR/XLS processors. |
Jayachandran C | 1c773ea | 2011-11-16 00:21:28 +0000 | [diff] [blame] | 1830 | |
| 1831 | config CPU_XLP |
| 1832 | bool "Netlogic XLP SoC" |
| 1833 | depends on SYS_HAS_CPU_XLP |
| 1834 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1835 | select CPU_SUPPORTS_64BIT_KERNEL |
| 1836 | select CPU_SUPPORTS_HIGHMEM |
Jayachandran C | 1c773ea | 2011-11-16 00:21:28 +0000 | [diff] [blame] | 1837 | select WEAK_ORDERING |
| 1838 | select WEAK_REORDERING_BEYOND_LLSC |
| 1839 | select CPU_HAS_PREFETCH |
Jayachandran C | d650484 | 2012-10-31 12:01:29 +0000 | [diff] [blame] | 1840 | select CPU_MIPSR2 |
Prem Mallappa | ddba683 | 2015-01-07 16:58:32 +0530 | [diff] [blame] | 1841 | select CPU_SUPPORTS_HUGEPAGES |
Paul Burton | 2db003a | 2016-05-06 14:36:24 +0100 | [diff] [blame] | 1842 | select MIPS_ASID_BITS_VARIABLE |
Jayachandran C | 1c773ea | 2011-11-16 00:21:28 +0000 | [diff] [blame] | 1843 | help |
| 1844 | Netlogic Microsystems XLP processors. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1845 | endchoice |
| 1846 | |
Leonid Yegoshin | a6e1878 | 2013-12-03 10:22:26 +0000 | [diff] [blame] | 1847 | config CPU_MIPS32_3_5_FEATURES |
| 1848 | bool "MIPS32 Release 3.5 Features" |
| 1849 | depends on SYS_HAS_CPU_MIPS32_R3_5 |
Serge Semin | 281e3ae | 2020-05-21 17:07:15 +0300 | [diff] [blame] | 1850 | depends on CPU_MIPS32_R2 || CPU_MIPS32_R5 || CPU_MIPS32_R6 || \ |
| 1851 | CPU_P5600 |
Leonid Yegoshin | a6e1878 | 2013-12-03 10:22:26 +0000 | [diff] [blame] | 1852 | help |
| 1853 | Choose this option to build a kernel for release 2 or later of the |
| 1854 | MIPS32 architecture including features from the 3.5 release such as |
| 1855 | support for Enhanced Virtual Addressing (EVA). |
| 1856 | |
| 1857 | config CPU_MIPS32_3_5_EVA |
| 1858 | bool "Enhanced Virtual Addressing (EVA)" |
| 1859 | depends on CPU_MIPS32_3_5_FEATURES |
| 1860 | select EVA |
| 1861 | default y |
| 1862 | help |
| 1863 | Choose this option if you want to enable the Enhanced Virtual |
| 1864 | Addressing (EVA) on your MIPS32 core (such as proAptiv). |
| 1865 | One of its primary benefits is an increase in the maximum size |
| 1866 | of lowmem (up to 3GB). If unsure, say 'N' here. |
| 1867 | |
Steven J. Hill | c5b3678 | 2015-02-26 18:16:38 -0600 | [diff] [blame] | 1868 | config CPU_MIPS32_R5_FEATURES |
| 1869 | bool "MIPS32 Release 5 Features" |
| 1870 | depends on SYS_HAS_CPU_MIPS32_R5 |
Serge Semin | 281e3ae | 2020-05-21 17:07:15 +0300 | [diff] [blame] | 1871 | depends on CPU_MIPS32_R2 || CPU_MIPS32_R5 || CPU_P5600 |
Steven J. Hill | c5b3678 | 2015-02-26 18:16:38 -0600 | [diff] [blame] | 1872 | help |
| 1873 | Choose this option to build a kernel for release 2 or later of the |
| 1874 | MIPS32 architecture including features from release 5 such as |
| 1875 | support for Extended Physical Addressing (XPA). |
| 1876 | |
| 1877 | config CPU_MIPS32_R5_XPA |
| 1878 | bool "Extended Physical Addressing (XPA)" |
| 1879 | depends on CPU_MIPS32_R5_FEATURES |
| 1880 | depends on !EVA |
| 1881 | depends on !PAGE_SIZE_4KB |
| 1882 | depends on SYS_SUPPORTS_HIGHMEM |
| 1883 | select XPA |
| 1884 | select HIGHMEM |
Christoph Hellwig | d4a451d | 2018-04-03 16:24:20 +0200 | [diff] [blame] | 1885 | select PHYS_ADDR_T_64BIT |
Steven J. Hill | c5b3678 | 2015-02-26 18:16:38 -0600 | [diff] [blame] | 1886 | default n |
| 1887 | help |
| 1888 | Choose this option if you want to enable the Extended Physical |
| 1889 | Addressing (XPA) on your MIPS32 core (such as P5600 series). The |
| 1890 | benefit is to increase physical addressing equal to or greater |
| 1891 | than 40 bits. Note that this has the side effect of turning on |
| 1892 | 64-bit addressing which in turn makes the PTEs 64-bit in size. |
| 1893 | If unsure, say 'N' here. |
| 1894 | |
Wu Zhangjin | 622844b | 2010-04-10 20:04:42 +0800 | [diff] [blame] | 1895 | if CPU_LOONGSON2F |
| 1896 | config CPU_NOP_WORKAROUNDS |
| 1897 | bool |
| 1898 | |
| 1899 | config CPU_JUMP_WORKAROUNDS |
| 1900 | bool |
| 1901 | |
| 1902 | config CPU_LOONGSON2F_WORKAROUNDS |
| 1903 | bool "Loongson 2F Workarounds" |
| 1904 | default y |
| 1905 | select CPU_NOP_WORKAROUNDS |
| 1906 | select CPU_JUMP_WORKAROUNDS |
| 1907 | help |
| 1908 | Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which |
| 1909 | require workarounds. Without workarounds the system may hang |
| 1910 | unexpectedly. For more information please refer to the gas |
| 1911 | -mfix-loongson2f-nop and -mfix-loongson2f-jump options. |
| 1912 | |
| 1913 | Loongson 2F03 and later have fixed these issues and no workarounds |
| 1914 | are needed. The workarounds have no significant side effect on them |
| 1915 | but may decrease the performance of the system so this option should |
| 1916 | be disabled unless the kernel is intended to be run on 2F01 or 2F02 |
| 1917 | systems. |
| 1918 | |
| 1919 | If unsure, please say Y. |
| 1920 | endif # CPU_LOONGSON2F |
| 1921 | |
Wu Zhangjin | 1b93b3c | 2009-10-14 18:12:16 +0800 | [diff] [blame] | 1922 | config SYS_SUPPORTS_ZBOOT |
| 1923 | bool |
| 1924 | select HAVE_KERNEL_GZIP |
| 1925 | select HAVE_KERNEL_BZIP2 |
Florian Fainelli | 31c4867 | 2013-09-16 16:55:20 +0100 | [diff] [blame] | 1926 | select HAVE_KERNEL_LZ4 |
Wu Zhangjin | 1b93b3c | 2009-10-14 18:12:16 +0800 | [diff] [blame] | 1927 | select HAVE_KERNEL_LZMA |
Wu Zhangjin | fe1d45e | 2010-01-15 20:34:46 +0800 | [diff] [blame] | 1928 | select HAVE_KERNEL_LZO |
Florian Fainelli | 4e23eb6 | 2013-09-11 11:51:41 +0100 | [diff] [blame] | 1929 | select HAVE_KERNEL_XZ |
Paul Cercueil | a510b61 | 2020-09-01 16:26:51 +0200 | [diff] [blame] | 1930 | select HAVE_KERNEL_ZSTD |
Wu Zhangjin | 1b93b3c | 2009-10-14 18:12:16 +0800 | [diff] [blame] | 1931 | |
| 1932 | config SYS_SUPPORTS_ZBOOT_UART16550 |
| 1933 | bool |
| 1934 | select SYS_SUPPORTS_ZBOOT |
| 1935 | |
Alban Bedel | dbb9831 | 2015-12-10 10:57:21 +0100 | [diff] [blame] | 1936 | config SYS_SUPPORTS_ZBOOT_UART_PROM |
| 1937 | bool |
| 1938 | select SYS_SUPPORTS_ZBOOT |
| 1939 | |
Jiaxun Yang | 268a2d6 | 2019-10-20 22:43:13 +0800 | [diff] [blame] | 1940 | config CPU_LOONGSON2EF |
Wu Zhangjin | 3702bba | 2009-07-02 23:27:41 +0800 | [diff] [blame] | 1941 | bool |
| 1942 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1943 | select CPU_SUPPORTS_64BIT_KERNEL |
| 1944 | select CPU_SUPPORTS_HIGHMEM |
Ralf Baechle | 970d032 | 2012-10-18 13:54:15 +0200 | [diff] [blame] | 1945 | select CPU_SUPPORTS_HUGEPAGES |
Christoph Hellwig | e905086 | 2018-06-20 09:11:15 +0200 | [diff] [blame] | 1946 | select ARCH_HAS_PHYS_TO_DMA |
Wu Zhangjin | 3702bba | 2009-07-02 23:27:41 +0800 | [diff] [blame] | 1947 | |
Huacai Chen | b2afb64 | 2019-11-04 14:11:20 +0800 | [diff] [blame] | 1948 | config CPU_LOONGSON32 |
Kelvin Cheung | ca585cf | 2012-07-25 16:17:24 +0200 | [diff] [blame] | 1949 | bool |
| 1950 | select CPU_MIPS32 |
Jiaxun Yang | 7e280f6 | 2019-01-22 21:04:12 +0800 | [diff] [blame] | 1951 | select CPU_MIPSR2 |
Kelvin Cheung | ca585cf | 2012-07-25 16:17:24 +0200 | [diff] [blame] | 1952 | select CPU_HAS_PREFETCH |
| 1953 | select CPU_SUPPORTS_32BIT_KERNEL |
| 1954 | select CPU_SUPPORTS_HIGHMEM |
Kelvin Cheung | f29ad10 | 2014-10-10 11:40:01 +0800 | [diff] [blame] | 1955 | select CPU_SUPPORTS_CPUFREQ |
Kelvin Cheung | ca585cf | 2012-07-25 16:17:24 +0200 | [diff] [blame] | 1956 | |
Jonas Gorski | fe7f62c | 2013-12-18 14:12:05 +0100 | [diff] [blame] | 1957 | config CPU_BMIPS32_3300 |
Jonas Gorski | 04fa8bf | 2013-12-18 14:12:06 +0100 | [diff] [blame] | 1958 | select SMP_UP if SMP |
Kevin Cernekee | 1bbb6c1 | 2011-11-10 22:30:24 -0800 | [diff] [blame] | 1959 | bool |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 1960 | |
| 1961 | config CPU_BMIPS4350 |
| 1962 | bool |
| 1963 | select SYS_SUPPORTS_SMP |
| 1964 | select SYS_SUPPORTS_HOTPLUG_CPU |
| 1965 | |
| 1966 | config CPU_BMIPS4380 |
| 1967 | bool |
Kevin Cernekee | bbf2ba6 | 2014-10-20 21:27:58 -0700 | [diff] [blame] | 1968 | select MIPS_L1_CACHE_SHIFT_6 |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 1969 | select SYS_SUPPORTS_SMP |
| 1970 | select SYS_SUPPORTS_HOTPLUG_CPU |
Florian Fainelli | b472080 | 2016-02-09 12:55:53 -0800 | [diff] [blame] | 1971 | select CPU_HAS_RIXI |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 1972 | |
| 1973 | config CPU_BMIPS5000 |
| 1974 | bool |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 1975 | select MIPS_CPU_SCACHE |
Kevin Cernekee | bbf2ba6 | 2014-10-20 21:27:58 -0700 | [diff] [blame] | 1976 | select MIPS_L1_CACHE_SHIFT_7 |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 1977 | select SYS_SUPPORTS_SMP |
| 1978 | select SYS_SUPPORTS_HOTPLUG_CPU |
Florian Fainelli | b472080 | 2016-02-09 12:55:53 -0800 | [diff] [blame] | 1979 | select CPU_HAS_RIXI |
Kevin Cernekee | 1bbb6c1 | 2011-11-10 22:30:24 -0800 | [diff] [blame] | 1980 | |
Jiaxun Yang | 268a2d6 | 2019-10-20 22:43:13 +0800 | [diff] [blame] | 1981 | config SYS_HAS_CPU_LOONGSON64 |
Huacai Chen | 0e476d9 | 2014-03-21 18:44:07 +0800 | [diff] [blame] | 1982 | bool |
| 1983 | select CPU_SUPPORTS_CPUFREQ |
Huacai Chen | b2edcfc | 2016-03-03 09:45:09 +0800 | [diff] [blame] | 1984 | select CPU_HAS_RIXI |
Huacai Chen | 0e476d9 | 2014-03-21 18:44:07 +0800 | [diff] [blame] | 1985 | |
Wu Zhangjin | 3702bba | 2009-07-02 23:27:41 +0800 | [diff] [blame] | 1986 | config SYS_HAS_CPU_LOONGSON2E |
Fuxin Zhang | 2a21c73 | 2007-06-06 14:52:43 +0800 | [diff] [blame] | 1987 | bool |
| 1988 | |
Wu Zhangjin | 6f7a251 | 2009-11-06 18:45:05 +0800 | [diff] [blame] | 1989 | config SYS_HAS_CPU_LOONGSON2F |
| 1990 | bool |
Wu Zhangjin | 55045ff | 2009-11-11 13:39:12 +0800 | [diff] [blame] | 1991 | select CPU_SUPPORTS_CPUFREQ |
| 1992 | select CPU_SUPPORTS_ADDRWINCFG if 64BIT |
Wu Zhangjin | 6f7a251 | 2009-11-06 18:45:05 +0800 | [diff] [blame] | 1993 | |
Kelvin Cheung | ca585cf | 2012-07-25 16:17:24 +0200 | [diff] [blame] | 1994 | config SYS_HAS_CPU_LOONGSON1B |
| 1995 | bool |
| 1996 | |
Yang Ling | 12e3280 | 2016-05-19 12:29:30 +0800 | [diff] [blame] | 1997 | config SYS_HAS_CPU_LOONGSON1C |
| 1998 | bool |
| 1999 | |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 2000 | config SYS_HAS_CPU_MIPS32_R1 |
| 2001 | bool |
| 2002 | |
| 2003 | config SYS_HAS_CPU_MIPS32_R2 |
| 2004 | bool |
| 2005 | |
Leonid Yegoshin | a6e1878 | 2013-12-03 10:22:26 +0000 | [diff] [blame] | 2006 | config SYS_HAS_CPU_MIPS32_R3_5 |
| 2007 | bool |
| 2008 | |
Steven J. Hill | c5b3678 | 2015-02-26 18:16:38 -0600 | [diff] [blame] | 2009 | config SYS_HAS_CPU_MIPS32_R5 |
| 2010 | bool |
Paul Burton | 9ae1f26 | 2019-02-04 13:52:58 -0800 | [diff] [blame] | 2011 | select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT |
Steven J. Hill | c5b3678 | 2015-02-26 18:16:38 -0600 | [diff] [blame] | 2012 | |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 2013 | config SYS_HAS_CPU_MIPS32_R6 |
| 2014 | bool |
Paul Burton | 9ae1f26 | 2019-02-04 13:52:58 -0800 | [diff] [blame] | 2015 | select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 2016 | |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 2017 | config SYS_HAS_CPU_MIPS64_R1 |
| 2018 | bool |
| 2019 | |
| 2020 | config SYS_HAS_CPU_MIPS64_R2 |
| 2021 | bool |
| 2022 | |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 2023 | config SYS_HAS_CPU_MIPS64_R6 |
| 2024 | bool |
Paul Burton | 9ae1f26 | 2019-02-04 13:52:58 -0800 | [diff] [blame] | 2025 | select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 2026 | |
Serge Semin | 281e3ae | 2020-05-21 17:07:15 +0300 | [diff] [blame] | 2027 | config SYS_HAS_CPU_P5600 |
| 2028 | bool |
| 2029 | select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT |
| 2030 | |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 2031 | config SYS_HAS_CPU_R3000 |
| 2032 | bool |
| 2033 | |
| 2034 | config SYS_HAS_CPU_TX39XX |
| 2035 | bool |
| 2036 | |
| 2037 | config SYS_HAS_CPU_VR41XX |
| 2038 | bool |
| 2039 | |
Lauri Kasanen | 65ce619 | 2021-01-13 17:10:07 +0200 | [diff] [blame] | 2040 | config SYS_HAS_CPU_R4300 |
| 2041 | bool |
| 2042 | |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 2043 | config SYS_HAS_CPU_R4X00 |
| 2044 | bool |
| 2045 | |
| 2046 | config SYS_HAS_CPU_TX49XX |
| 2047 | bool |
| 2048 | |
| 2049 | config SYS_HAS_CPU_R5000 |
| 2050 | bool |
| 2051 | |
Shinya Kuribayashi | 542c102 | 2008-10-24 01:27:57 +0900 | [diff] [blame] | 2052 | config SYS_HAS_CPU_R5500 |
| 2053 | bool |
| 2054 | |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 2055 | config SYS_HAS_CPU_NEVADA |
| 2056 | bool |
| 2057 | |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 2058 | config SYS_HAS_CPU_R10000 |
| 2059 | bool |
Paul Burton | 9ae1f26 | 2019-02-04 13:52:58 -0800 | [diff] [blame] | 2060 | select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 2061 | |
| 2062 | config SYS_HAS_CPU_RM7000 |
| 2063 | bool |
| 2064 | |
Ralf Baechle | 7cf8053 | 2005-10-20 22:33:09 +0100 | [diff] [blame] | 2065 | config SYS_HAS_CPU_SB1 |
| 2066 | bool |
| 2067 | |
David Daney | 5e68338 | 2009-02-02 11:30:59 -0800 | [diff] [blame] | 2068 | config SYS_HAS_CPU_CAVIUM_OCTEON |
| 2069 | bool |
| 2070 | |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 2071 | config SYS_HAS_CPU_BMIPS |
Kevin Cernekee | c1c0c46 | 2010-10-17 10:56:53 -0700 | [diff] [blame] | 2072 | bool |
| 2073 | |
Jonas Gorski | fe7f62c | 2013-12-18 14:12:05 +0100 | [diff] [blame] | 2074 | config SYS_HAS_CPU_BMIPS32_3300 |
Kevin Cernekee | c1c0c46 | 2010-10-17 10:56:53 -0700 | [diff] [blame] | 2075 | bool |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 2076 | select SYS_HAS_CPU_BMIPS |
Kevin Cernekee | c1c0c46 | 2010-10-17 10:56:53 -0700 | [diff] [blame] | 2077 | |
| 2078 | config SYS_HAS_CPU_BMIPS4350 |
| 2079 | bool |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 2080 | select SYS_HAS_CPU_BMIPS |
Kevin Cernekee | c1c0c46 | 2010-10-17 10:56:53 -0700 | [diff] [blame] | 2081 | |
| 2082 | config SYS_HAS_CPU_BMIPS4380 |
| 2083 | bool |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 2084 | select SYS_HAS_CPU_BMIPS |
Kevin Cernekee | c1c0c46 | 2010-10-17 10:56:53 -0700 | [diff] [blame] | 2085 | |
| 2086 | config SYS_HAS_CPU_BMIPS5000 |
| 2087 | bool |
Jonas Gorski | cd74624 | 2013-12-18 14:12:02 +0100 | [diff] [blame] | 2088 | select SYS_HAS_CPU_BMIPS |
Hauke Mehrtens | f263f2a | 2018-12-09 16:49:57 +0100 | [diff] [blame] | 2089 | select ARCH_HAS_SYNC_DMA_FOR_CPU |
Kevin Cernekee | c1c0c46 | 2010-10-17 10:56:53 -0700 | [diff] [blame] | 2090 | |
Jayachandran C | 7f058e8 | 2011-05-07 01:36:57 +0530 | [diff] [blame] | 2091 | config SYS_HAS_CPU_XLR |
| 2092 | bool |
| 2093 | |
Jayachandran C | 1c773ea | 2011-11-16 00:21:28 +0000 | [diff] [blame] | 2094 | config SYS_HAS_CPU_XLP |
| 2095 | bool |
| 2096 | |
Ralf Baechle | 17099b1 | 2007-07-14 13:24:05 +0100 | [diff] [blame] | 2097 | # |
| 2098 | # CPU may reorder R->R, R->W, W->R, W->W |
| 2099 | # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC |
| 2100 | # |
Ralf Baechle | 0004a9d | 2006-10-31 03:45:07 +0000 | [diff] [blame] | 2101 | config WEAK_ORDERING |
| 2102 | bool |
Ralf Baechle | 17099b1 | 2007-07-14 13:24:05 +0100 | [diff] [blame] | 2103 | |
| 2104 | # |
| 2105 | # CPU may reorder reads and writes beyond LL/SC |
| 2106 | # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC |
| 2107 | # |
| 2108 | config WEAK_REORDERING_BEYOND_LLSC |
| 2109 | bool |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2110 | endmenu |
| 2111 | |
| 2112 | # |
Chris Dearman | c09b47d | 2006-06-20 17:15:20 +0100 | [diff] [blame] | 2113 | # These two indicate any level of the MIPS32 and MIPS64 architecture |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2114 | # |
| 2115 | config CPU_MIPS32 |
| 2116 | bool |
Serge Semin | ab7c01f | 2020-05-21 17:07:14 +0300 | [diff] [blame] | 2117 | default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R5 || \ |
Serge Semin | 281e3ae | 2020-05-21 17:07:15 +0300 | [diff] [blame] | 2118 | CPU_MIPS32_R6 || CPU_P5600 |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2119 | |
| 2120 | config CPU_MIPS64 |
| 2121 | bool |
Serge Semin | ab7c01f | 2020-05-21 17:07:14 +0300 | [diff] [blame] | 2122 | default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R5 || \ |
Jason A. Donenfeld | 5a4fa44 | 2021-02-28 00:02:36 +0100 | [diff] [blame] | 2123 | CPU_MIPS64_R6 || CPU_LOONGSON64 || CPU_CAVIUM_OCTEON |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2124 | |
| 2125 | # |
Paul Burton | 57eeaced | 2018-11-08 23:44:55 +0000 | [diff] [blame] | 2126 | # These indicate the revision of the architecture |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2127 | # |
| 2128 | config CPU_MIPSR1 |
| 2129 | bool |
| 2130 | default y if CPU_MIPS32_R1 || CPU_MIPS64_R1 |
| 2131 | |
| 2132 | config CPU_MIPSR2 |
| 2133 | bool |
David Daney | a86c7f7 | 2008-12-11 15:33:38 -0800 | [diff] [blame] | 2134 | default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON |
Florian Fainelli | 8256b17 | 2016-02-09 12:55:51 -0800 | [diff] [blame] | 2135 | select CPU_HAS_RIXI |
Jiaxun Yang | ba9196d | 2020-01-13 18:14:59 +0800 | [diff] [blame] | 2136 | select CPU_HAS_DIEI if !CPU_DIEI_BROKEN |
Markos Chandras | a7e07b1 | 2014-11-13 13:32:03 +0000 | [diff] [blame] | 2137 | select MIPS_SPRAM |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2138 | |
Serge Semin | ab7c01f | 2020-05-21 17:07:14 +0300 | [diff] [blame] | 2139 | config CPU_MIPSR5 |
| 2140 | bool |
Serge Semin | 281e3ae | 2020-05-21 17:07:15 +0300 | [diff] [blame] | 2141 | default y if CPU_MIPS32_R5 || CPU_MIPS64_R5 || CPU_P5600 |
Serge Semin | ab7c01f | 2020-05-21 17:07:14 +0300 | [diff] [blame] | 2142 | select CPU_HAS_RIXI |
| 2143 | select CPU_HAS_DIEI if !CPU_DIEI_BROKEN |
| 2144 | select MIPS_SPRAM |
| 2145 | |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 2146 | config CPU_MIPSR6 |
| 2147 | bool |
| 2148 | default y if CPU_MIPS32_R6 || CPU_MIPS64_R6 |
Florian Fainelli | 8256b17 | 2016-02-09 12:55:51 -0800 | [diff] [blame] | 2149 | select CPU_HAS_RIXI |
Jiaxun Yang | ba9196d | 2020-01-13 18:14:59 +0800 | [diff] [blame] | 2150 | select CPU_HAS_DIEI if !CPU_DIEI_BROKEN |
Paul Burton | 87321fd | 2016-05-06 13:35:03 +0100 | [diff] [blame] | 2151 | select HAVE_ARCH_BITREVERSE |
Paul Burton | 2db003a | 2016-05-06 14:36:24 +0100 | [diff] [blame] | 2152 | select MIPS_ASID_BITS_VARIABLE |
Marcin Nowakowski | 4a5dc51 | 2018-02-09 22:11:06 +0000 | [diff] [blame] | 2153 | select MIPS_CRC_SUPPORT |
Markos Chandras | a7e07b1 | 2014-11-13 13:32:03 +0000 | [diff] [blame] | 2154 | select MIPS_SPRAM |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2155 | |
Paul Burton | 57eeaced | 2018-11-08 23:44:55 +0000 | [diff] [blame] | 2156 | config TARGET_ISA_REV |
| 2157 | int |
| 2158 | default 1 if CPU_MIPSR1 |
| 2159 | default 2 if CPU_MIPSR2 |
Serge Semin | ab7c01f | 2020-05-21 17:07:14 +0300 | [diff] [blame] | 2160 | default 5 if CPU_MIPSR5 |
Paul Burton | 57eeaced | 2018-11-08 23:44:55 +0000 | [diff] [blame] | 2161 | default 6 if CPU_MIPSR6 |
| 2162 | default 0 |
| 2163 | help |
| 2164 | Reflects the ISA revision being targeted by the kernel build. This |
| 2165 | is effectively the Kconfig equivalent of MIPS_ISA_REV. |
| 2166 | |
Leonid Yegoshin | a6e1878 | 2013-12-03 10:22:26 +0000 | [diff] [blame] | 2167 | config EVA |
| 2168 | bool |
| 2169 | |
Steven J. Hill | c5b3678 | 2015-02-26 18:16:38 -0600 | [diff] [blame] | 2170 | config XPA |
| 2171 | bool |
| 2172 | |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2173 | config SYS_SUPPORTS_32BIT_KERNEL |
| 2174 | bool |
| 2175 | config SYS_SUPPORTS_64BIT_KERNEL |
| 2176 | bool |
| 2177 | config CPU_SUPPORTS_32BIT_KERNEL |
| 2178 | bool |
| 2179 | config CPU_SUPPORTS_64BIT_KERNEL |
| 2180 | bool |
Wu Zhangjin | 55045ff | 2009-11-11 13:39:12 +0800 | [diff] [blame] | 2181 | config CPU_SUPPORTS_CPUFREQ |
| 2182 | bool |
| 2183 | config CPU_SUPPORTS_ADDRWINCFG |
| 2184 | bool |
David Daney | 9cffd154 | 2009-05-27 17:47:46 -0700 | [diff] [blame] | 2185 | config CPU_SUPPORTS_HUGEPAGES |
| 2186 | bool |
Daniel Silsby | 171543e | 2019-07-15 17:39:59 -0400 | [diff] [blame] | 2187 | depends on !(32BIT && (ARCH_PHYS_ADDR_T_64BIT || EVA)) |
David Daney | 8262228 | 2009-10-14 12:16:56 -0700 | [diff] [blame] | 2188 | config MIPS_PGD_C0_CONTEXT |
| 2189 | bool |
Huang Pei | c6972fb | 2021-03-13 09:39:27 +0800 | [diff] [blame] | 2190 | depends on 64BIT |
| 2191 | default y if (CPU_MIPSR2 || CPU_MIPSR6) && !CPU_XLP |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2192 | |
David Daney | 8192c9e | 2008-09-23 00:04:26 -0700 | [diff] [blame] | 2193 | # |
| 2194 | # Set to y for ptrace access to watch registers. |
| 2195 | # |
| 2196 | config HARDWARE_WATCHPOINTS |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 2197 | bool |
| 2198 | default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6 |
David Daney | 8192c9e | 2008-09-23 00:04:26 -0700 | [diff] [blame] | 2199 | |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2200 | menu "Kernel type" |
| 2201 | |
| 2202 | choice |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2203 | prompt "Kernel code model" |
| 2204 | help |
| 2205 | You should only select this option if you have a workload that |
| 2206 | actually benefits from 64-bit processing or if your machine has |
| 2207 | large memory. You will only be presented a single option in this |
| 2208 | menu if your system does not support both 32-bit and 64-bit kernels. |
| 2209 | |
| 2210 | config 32BIT |
| 2211 | bool "32-bit kernel" |
| 2212 | depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL |
| 2213 | select TRAD_SIGNALS |
| 2214 | help |
| 2215 | Select this option if you want to build a 32-bit kernel. |
Ralf Baechle | f17c4ca | 2015-07-23 12:02:09 +0200 | [diff] [blame] | 2216 | |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2217 | config 64BIT |
| 2218 | bool "64-bit kernel" |
| 2219 | depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL |
| 2220 | help |
| 2221 | Select this option if you want to build a 64-bit kernel. |
| 2222 | |
| 2223 | endchoice |
| 2224 | |
Leonid Yegoshin | 1e321fa | 2015-05-14 18:34:43 -0700 | [diff] [blame] | 2225 | config MIPS_VA_BITS_48 |
| 2226 | bool "48 bits virtual memory" |
| 2227 | depends on 64BIT |
| 2228 | help |
Alex Belits | 3377e22 | 2017-02-16 17:27:34 -0800 | [diff] [blame] | 2229 | Support a maximum at least 48 bits of application virtual |
| 2230 | memory. Default is 40 bits or less, depending on the CPU. |
| 2231 | For page sizes 16k and above, this option results in a small |
| 2232 | memory overhead for page tables. For 4k page size, a fourth |
| 2233 | level of page tables is added which imposes both a memory |
| 2234 | overhead as well as slower TLB fault handling. |
| 2235 | |
Leonid Yegoshin | 1e321fa | 2015-05-14 18:34:43 -0700 | [diff] [blame] | 2236 | If unsure, say N. |
| 2237 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2238 | choice |
| 2239 | prompt "Kernel page size" |
| 2240 | default PAGE_SIZE_4KB |
| 2241 | |
| 2242 | config PAGE_SIZE_4KB |
| 2243 | bool "4kB" |
Jiaxun Yang | 268a2d6 | 2019-10-20 22:43:13 +0800 | [diff] [blame] | 2244 | depends on !CPU_LOONGSON2EF && !CPU_LOONGSON64 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2245 | help |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 2246 | This option select the standard 4kB Linux page size. On some |
| 2247 | R3000-family processors this is the only available page size. Using |
| 2248 | 4kB page size will minimize memory consumption and is therefore |
| 2249 | recommended for low memory systems. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2250 | |
| 2251 | config PAGE_SIZE_8KB |
| 2252 | bool "8kB" |
Paul Burton | c2aeaae | 2019-07-22 22:00:03 +0000 | [diff] [blame] | 2253 | depends on CPU_CAVIUM_OCTEON |
Leonid Yegoshin | 1e321fa | 2015-05-14 18:34:43 -0700 | [diff] [blame] | 2254 | depends on !MIPS_VA_BITS_48 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2255 | help |
| 2256 | Using 8kB page size will result in higher performance kernel at |
| 2257 | the price of higher memory consumption. This option is available |
Paul Burton | c2aeaae | 2019-07-22 22:00:03 +0000 | [diff] [blame] | 2258 | only on cnMIPS processors. Note that you will need a suitable Linux |
| 2259 | distribution to support this. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2260 | |
| 2261 | config PAGE_SIZE_16KB |
| 2262 | bool "16kB" |
Ralf Baechle | 714bfad | 2006-05-17 14:04:30 +0100 | [diff] [blame] | 2263 | depends on !CPU_R3000 && !CPU_TX39XX |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2264 | help |
| 2265 | Using 16kB page size will result in higher performance kernel at |
| 2266 | the price of higher memory consumption. This option is available on |
Ralf Baechle | 714bfad | 2006-05-17 14:04:30 +0100 | [diff] [blame] | 2267 | all non-R3000 family processors. Note that you will need a suitable |
| 2268 | Linux distribution to support this. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2269 | |
Ralf Baechle | c52399b | 2009-04-02 14:07:10 +0200 | [diff] [blame] | 2270 | config PAGE_SIZE_32KB |
| 2271 | bool "32kB" |
| 2272 | depends on CPU_CAVIUM_OCTEON |
Leonid Yegoshin | 1e321fa | 2015-05-14 18:34:43 -0700 | [diff] [blame] | 2273 | depends on !MIPS_VA_BITS_48 |
Ralf Baechle | c52399b | 2009-04-02 14:07:10 +0200 | [diff] [blame] | 2274 | help |
| 2275 | Using 32kB page size will result in higher performance kernel at |
| 2276 | the price of higher memory consumption. This option is available |
| 2277 | only on cnMIPS cores. Note that you will need a suitable Linux |
| 2278 | distribution to support this. |
| 2279 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2280 | config PAGE_SIZE_64KB |
| 2281 | bool "64kB" |
Paul Burton | 3b2db17 | 2017-06-05 11:21:27 -0700 | [diff] [blame] | 2282 | depends on !CPU_R3000 && !CPU_TX39XX |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2283 | help |
| 2284 | Using 64kB page size will result in higher performance kernel at |
| 2285 | the price of higher memory consumption. This option is available on |
| 2286 | all non-R3000 family processor. Not that at the time of this |
Ralf Baechle | 714bfad | 2006-05-17 14:04:30 +0100 | [diff] [blame] | 2287 | writing this option is still high experimental. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2288 | |
| 2289 | endchoice |
| 2290 | |
David Daney | c9bace7 | 2010-10-11 14:52:45 -0700 | [diff] [blame] | 2291 | config FORCE_MAX_ZONEORDER |
| 2292 | int "Maximum zone order" |
Alex Smith | e4362d1 | 2014-01-21 11:22:35 +0000 | [diff] [blame] | 2293 | range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB |
| 2294 | default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB |
| 2295 | range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB |
| 2296 | default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB |
| 2297 | range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB |
| 2298 | default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB |
Paul Cercueil | ef923a7 | 2020-09-17 15:35:28 +0200 | [diff] [blame] | 2299 | range 0 64 |
David Daney | c9bace7 | 2010-10-11 14:52:45 -0700 | [diff] [blame] | 2300 | default "11" |
| 2301 | help |
| 2302 | The kernel memory allocator divides physically contiguous memory |
| 2303 | blocks into "zones", where each zone is a power of two number of |
| 2304 | pages. This option selects the largest power of two that the kernel |
| 2305 | keeps in the memory allocator. If you need to allocate very large |
| 2306 | blocks of physically contiguous memory, then you may need to |
| 2307 | increase this value. |
| 2308 | |
| 2309 | This config option is actually maximum order plus one. For example, |
| 2310 | a value of 11 means that the largest free memory block is 2^10 pages. |
| 2311 | |
| 2312 | The page size is not necessarily 4KB. Keep this in mind |
| 2313 | when choosing a value for this option. |
| 2314 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2315 | config BOARD_SCACHE |
| 2316 | bool |
| 2317 | |
| 2318 | config IP22_CPU_SCACHE |
| 2319 | bool |
| 2320 | select BOARD_SCACHE |
| 2321 | |
Chris Dearman | 9318c51 | 2006-06-20 17:15:20 +0100 | [diff] [blame] | 2322 | # |
| 2323 | # Support for a MIPS32 / MIPS64 style S-caches |
| 2324 | # |
| 2325 | config MIPS_CPU_SCACHE |
| 2326 | bool |
| 2327 | select BOARD_SCACHE |
| 2328 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2329 | config R5000_CPU_SCACHE |
| 2330 | bool |
| 2331 | select BOARD_SCACHE |
| 2332 | |
| 2333 | config RM7000_CPU_SCACHE |
| 2334 | bool |
| 2335 | select BOARD_SCACHE |
| 2336 | |
| 2337 | config SIBYTE_DMA_PAGEOPS |
| 2338 | bool "Use DMA to clear/copy pages" |
| 2339 | depends on CPU_SB1 |
| 2340 | help |
| 2341 | Instead of using the CPU to zero and copy pages, use a Data Mover |
| 2342 | channel. These DMA channels are otherwise unused by the standard |
| 2343 | SiByte Linux port. Seems to give a small performance benefit. |
| 2344 | |
| 2345 | config CPU_HAS_PREFETCH |
Ralf Baechle | c8094b5 | 2005-08-05 14:28:54 +0000 | [diff] [blame] | 2346 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2347 | |
Florian Fainelli | 3165c84 | 2012-01-31 18:18:43 +0100 | [diff] [blame] | 2348 | config CPU_GENERIC_DUMP_TLB |
| 2349 | bool |
Paul Burton | c2aeaae | 2019-07-22 22:00:03 +0000 | [diff] [blame] | 2350 | default y if !(CPU_R3000 || CPU_TX39XX) |
Florian Fainelli | 3165c84 | 2012-01-31 18:18:43 +0100 | [diff] [blame] | 2351 | |
Paul Burton | c92e47e | 2018-11-07 23:14:02 +0000 | [diff] [blame] | 2352 | config MIPS_FP_SUPPORT |
Paul Burton | 183b40f | 2018-11-07 23:14:11 +0000 | [diff] [blame] | 2353 | bool "Floating Point support" if EXPERT |
| 2354 | default y |
| 2355 | help |
| 2356 | Select y to include support for floating point in the kernel |
| 2357 | including initialization of FPU hardware, FP context save & restore |
| 2358 | and emulation of an FPU where necessary. Without this support any |
| 2359 | userland program attempting to use floating point instructions will |
| 2360 | receive a SIGILL. |
| 2361 | |
| 2362 | If you know that your userland will not attempt to use floating point |
| 2363 | instructions then you can say n here to shrink the kernel a little. |
| 2364 | |
| 2365 | If unsure, say y. |
Paul Burton | c92e47e | 2018-11-07 23:14:02 +0000 | [diff] [blame] | 2366 | |
Paul Burton | 97f7dcb | 2018-11-07 23:14:02 +0000 | [diff] [blame] | 2367 | config CPU_R2300_FPU |
| 2368 | bool |
Paul Burton | c92e47e | 2018-11-07 23:14:02 +0000 | [diff] [blame] | 2369 | depends on MIPS_FP_SUPPORT |
Paul Burton | 97f7dcb | 2018-11-07 23:14:02 +0000 | [diff] [blame] | 2370 | default y if CPU_R3000 || CPU_TX39XX |
| 2371 | |
Paul Burton | 5474682 | 2019-08-31 15:40:43 +0000 | [diff] [blame] | 2372 | config CPU_R3K_TLB |
| 2373 | bool |
| 2374 | |
Florian Fainelli | 91405eb | 2012-01-31 18:18:44 +0100 | [diff] [blame] | 2375 | config CPU_R4K_FPU |
| 2376 | bool |
Paul Burton | c92e47e | 2018-11-07 23:14:02 +0000 | [diff] [blame] | 2377 | depends on MIPS_FP_SUPPORT |
Paul Burton | 97f7dcb | 2018-11-07 23:14:02 +0000 | [diff] [blame] | 2378 | default y if !CPU_R2300_FPU |
Florian Fainelli | 91405eb | 2012-01-31 18:18:44 +0100 | [diff] [blame] | 2379 | |
Florian Fainelli | 62cedc4 | 2012-01-31 18:18:45 +0100 | [diff] [blame] | 2380 | config CPU_R4K_CACHE_TLB |
| 2381 | bool |
Paul Burton | 5474682 | 2019-08-31 15:40:43 +0000 | [diff] [blame] | 2382 | default y if !(CPU_R3K_TLB || CPU_SB1 || CPU_CAVIUM_OCTEON) |
Florian Fainelli | 62cedc4 | 2012-01-31 18:18:45 +0100 | [diff] [blame] | 2383 | |
Ralf Baechle | 59d6ab8 | 2006-10-06 17:36:20 +0100 | [diff] [blame] | 2384 | config MIPS_MT_SMP |
Markos Chandras | a92b7f8 | 2014-04-08 11:59:10 +0100 | [diff] [blame] | 2385 | bool "MIPS MT SMP support (1 TC on each available VPE)" |
Paul Burton | 5cbf968 | 2017-08-07 16:01:16 -0700 | [diff] [blame] | 2386 | default y |
Paul Burton | 527f102 | 2017-08-07 16:18:04 -0700 | [diff] [blame] | 2387 | depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS |
Ralf Baechle | 59d6ab8 | 2006-10-06 17:36:20 +0100 | [diff] [blame] | 2388 | select CPU_MIPSR2_IRQ_VI |
Chris Dearman | d725cf3 | 2007-05-08 14:05:39 +0100 | [diff] [blame] | 2389 | select CPU_MIPSR2_IRQ_EI |
Steven J. Hill | c080faa | 2013-10-04 16:23:28 -0500 | [diff] [blame] | 2390 | select SYNC_R4K |
Ralf Baechle | 59d6ab8 | 2006-10-06 17:36:20 +0100 | [diff] [blame] | 2391 | select MIPS_MT |
| 2392 | select SMP |
Ralf Baechle | 87353d8 | 2007-11-19 12:23:51 +0000 | [diff] [blame] | 2393 | select SMP_UP |
Steven J. Hill | c080faa | 2013-10-04 16:23:28 -0500 | [diff] [blame] | 2394 | select SYS_SUPPORTS_SMP |
| 2395 | select SYS_SUPPORTS_SCHED_SMT |
Al Cooper | 399aaa2 | 2012-07-13 16:44:53 -0400 | [diff] [blame] | 2396 | select MIPS_PERF_SHARED_TC_COUNTERS |
Ralf Baechle | 59d6ab8 | 2006-10-06 17:36:20 +0100 | [diff] [blame] | 2397 | help |
Steven J. Hill | c080faa | 2013-10-04 16:23:28 -0500 | [diff] [blame] | 2398 | This is a kernel model which is known as SMVP. This is supported |
| 2399 | on cores with the MT ASE and uses the available VPEs to implement |
| 2400 | virtual processors which supports SMP. This is equivalent to the |
| 2401 | Intel Hyperthreading feature. For further information go to |
| 2402 | <http://www.imgtec.com/mips/mips-multithreading.asp>. |
Ralf Baechle | 59d6ab8 | 2006-10-06 17:36:20 +0100 | [diff] [blame] | 2403 | |
Ralf Baechle | f41ae0b | 2006-06-05 17:24:46 +0100 | [diff] [blame] | 2404 | config MIPS_MT |
| 2405 | bool |
| 2406 | |
Ralf Baechle | 0ab7aef | 2007-03-02 20:42:04 +0000 | [diff] [blame] | 2407 | config SCHED_SMT |
| 2408 | bool "SMT (multithreading) scheduler support" |
| 2409 | depends on SYS_SUPPORTS_SCHED_SMT |
| 2410 | default n |
| 2411 | help |
| 2412 | SMT scheduler support improves the CPU scheduler's decision making |
| 2413 | when dealing with MIPS MT enabled cores at a cost of slightly |
| 2414 | increased overhead in some places. If unsure say N here. |
| 2415 | |
| 2416 | config SYS_SUPPORTS_SCHED_SMT |
| 2417 | bool |
| 2418 | |
Ralf Baechle | f41ae0b | 2006-06-05 17:24:46 +0100 | [diff] [blame] | 2419 | config SYS_SUPPORTS_MULTITHREADING |
| 2420 | bool |
| 2421 | |
Ralf Baechle | f088fc8 | 2006-04-05 09:45:47 +0100 | [diff] [blame] | 2422 | config MIPS_MT_FPAFF |
| 2423 | bool "Dynamic FPU affinity for FP-intensive threads" |
Ralf Baechle | f088fc8 | 2006-04-05 09:45:47 +0100 | [diff] [blame] | 2424 | default y |
Ralf Baechle | b633648 | 2014-05-23 16:29:44 +0200 | [diff] [blame] | 2425 | depends on MIPS_MT_SMP |
Ralf Baechle | 07cc0c9 | 2007-07-27 19:31:10 +0100 | [diff] [blame] | 2426 | |
Leonid Yegoshin | b0a668f | 2014-12-03 15:47:03 +0000 | [diff] [blame] | 2427 | config MIPSR2_TO_R6_EMULATOR |
| 2428 | bool "MIPS R2-to-R6 emulator" |
Paul Burton | 9eaa9a8 | 2016-10-17 15:34:37 +0100 | [diff] [blame] | 2429 | depends on CPU_MIPSR6 |
Paul Burton | c92e47e | 2018-11-07 23:14:02 +0000 | [diff] [blame] | 2430 | depends on MIPS_FP_SUPPORT |
Leonid Yegoshin | b0a668f | 2014-12-03 15:47:03 +0000 | [diff] [blame] | 2431 | default y |
| 2432 | help |
| 2433 | Choose this option if you want to run non-R6 MIPS userland code. |
| 2434 | Even if you say 'Y' here, the emulator will still be disabled by |
Markos Chandras | 07edf0d | 2015-03-10 12:30:56 +0000 | [diff] [blame] | 2435 | default. You can enable it using the 'mipsr2emu' kernel option. |
Leonid Yegoshin | b0a668f | 2014-12-03 15:47:03 +0000 | [diff] [blame] | 2436 | The only reason this is a build-time option is to save ~14K from the |
| 2437 | final kernel image. |
Leonid Yegoshin | b0a668f | 2014-12-03 15:47:03 +0000 | [diff] [blame] | 2438 | |
James Hogan | f35764e | 2018-01-15 20:54:35 +0000 | [diff] [blame] | 2439 | config SYS_SUPPORTS_VPE_LOADER |
| 2440 | bool |
| 2441 | depends on SYS_SUPPORTS_MULTITHREADING |
| 2442 | help |
| 2443 | Indicates that the platform supports the VPE loader, and provides |
| 2444 | physical_memsize. |
| 2445 | |
Ralf Baechle | 07cc0c9 | 2007-07-27 19:31:10 +0100 | [diff] [blame] | 2446 | config MIPS_VPE_LOADER |
| 2447 | bool "VPE loader support." |
James Hogan | f35764e | 2018-01-15 20:54:35 +0000 | [diff] [blame] | 2448 | depends on SYS_SUPPORTS_VPE_LOADER && MODULES |
Ralf Baechle | 07cc0c9 | 2007-07-27 19:31:10 +0100 | [diff] [blame] | 2449 | select CPU_MIPSR2_IRQ_VI |
| 2450 | select CPU_MIPSR2_IRQ_EI |
Ralf Baechle | 07cc0c9 | 2007-07-27 19:31:10 +0100 | [diff] [blame] | 2451 | select MIPS_MT |
| 2452 | help |
| 2453 | Includes a loader for loading an elf relocatable object |
| 2454 | onto another VPE and running it. |
Ralf Baechle | f088fc8 | 2006-04-05 09:45:47 +0100 | [diff] [blame] | 2455 | |
Deng-Cheng Zhu | 17a1d52 | 2013-10-30 15:52:07 -0500 | [diff] [blame] | 2456 | config MIPS_VPE_LOADER_CMP |
| 2457 | bool |
| 2458 | default "y" |
| 2459 | depends on MIPS_VPE_LOADER && MIPS_CMP |
| 2460 | |
Deng-Cheng Zhu | 1a2a6d7 | 2013-10-30 15:52:06 -0500 | [diff] [blame] | 2461 | config MIPS_VPE_LOADER_MT |
| 2462 | bool |
| 2463 | default "y" |
| 2464 | depends on MIPS_VPE_LOADER && !MIPS_CMP |
| 2465 | |
Ralf Baechle | e01402b | 2005-07-14 15:57:16 +0000 | [diff] [blame] | 2466 | config MIPS_VPE_LOADER_TOM |
| 2467 | bool "Load VPE program into memory hidden from linux" |
| 2468 | depends on MIPS_VPE_LOADER |
| 2469 | default y |
| 2470 | help |
| 2471 | The loader can use memory that is present but has been hidden from |
| 2472 | Linux using the kernel command line option "mem=xxMB". It's up to |
| 2473 | you to ensure the amount you put in the option and the space your |
| 2474 | program requires is less or equal to the amount physically present. |
| 2475 | |
Ralf Baechle | e01402b | 2005-07-14 15:57:16 +0000 | [diff] [blame] | 2476 | config MIPS_VPE_APSP_API |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 2477 | bool "Enable support for AP/SP API (RTLX)" |
| 2478 | depends on MIPS_VPE_LOADER |
Ralf Baechle | e01402b | 2005-07-14 15:57:16 +0000 | [diff] [blame] | 2479 | |
Deng-Cheng Zhu | da615cf | 2014-01-01 16:29:03 +0100 | [diff] [blame] | 2480 | config MIPS_VPE_APSP_API_CMP |
| 2481 | bool |
| 2482 | default "y" |
| 2483 | depends on MIPS_VPE_APSP_API && MIPS_CMP |
| 2484 | |
Deng-Cheng Zhu | 2c973ef | 2014-01-01 16:26:46 +0100 | [diff] [blame] | 2485 | config MIPS_VPE_APSP_API_MT |
| 2486 | bool |
| 2487 | default "y" |
| 2488 | depends on MIPS_VPE_APSP_API && !MIPS_CMP |
| 2489 | |
Ralf Baechle | 4a16ff4 | 2008-10-04 00:06:29 +0100 | [diff] [blame] | 2490 | config MIPS_CMP |
Paul Burton | 5cac93b | 2014-01-15 10:32:00 +0000 | [diff] [blame] | 2491 | bool "MIPS CMP framework support (DEPRECATED)" |
Markos Chandras | 5676319 | 2015-07-09 10:40:38 +0100 | [diff] [blame] | 2492 | depends on SYS_SUPPORTS_MIPS_CMP && !CPU_MIPSR6 |
Markos Chandras | b10b43b | 2014-07-22 09:29:34 +0100 | [diff] [blame] | 2493 | select SMP |
Tim Anderson | eb9b514 | 2009-06-17 16:40:34 -0700 | [diff] [blame] | 2494 | select SYNC_R4K |
Markos Chandras | b10b43b | 2014-07-22 09:29:34 +0100 | [diff] [blame] | 2495 | select SYS_SUPPORTS_SMP |
Ralf Baechle | 4a16ff4 | 2008-10-04 00:06:29 +0100 | [diff] [blame] | 2496 | select WEAK_ORDERING |
| 2497 | default n |
| 2498 | help |
Paul Burton | 044505c | 2014-01-15 10:31:58 +0000 | [diff] [blame] | 2499 | Select this if you are using a bootloader which implements the "CMP |
| 2500 | framework" protocol (ie. YAMON) and want your kernel to make use of |
| 2501 | its ability to start secondary CPUs. |
Ralf Baechle | 4a16ff4 | 2008-10-04 00:06:29 +0100 | [diff] [blame] | 2502 | |
Paul Burton | 5cac93b | 2014-01-15 10:32:00 +0000 | [diff] [blame] | 2503 | Unless you have a specific need, you should use CONFIG_MIPS_CPS |
| 2504 | instead of this. |
| 2505 | |
Paul Burton | 0ee958e | 2014-01-15 10:31:53 +0000 | [diff] [blame] | 2506 | config MIPS_CPS |
| 2507 | bool "MIPS Coherent Processing System support" |
Paul Burton | 5a3e7c0 | 2016-02-03 03:15:33 +0000 | [diff] [blame] | 2508 | depends on SYS_SUPPORTS_MIPS_CPS |
Paul Burton | 0ee958e | 2014-01-15 10:31:53 +0000 | [diff] [blame] | 2509 | select MIPS_CM |
Paul Burton | 1d8f1f5 | 2014-04-14 14:13:57 +0100 | [diff] [blame] | 2510 | select MIPS_CPS_PM if HOTPLUG_CPU |
Paul Burton | 0ee958e | 2014-01-15 10:31:53 +0000 | [diff] [blame] | 2511 | select SMP |
| 2512 | select SYNC_R4K if (CEVT_R4K || CSRC_R4K) |
Paul Burton | 1d8f1f5 | 2014-04-14 14:13:57 +0100 | [diff] [blame] | 2513 | select SYS_SUPPORTS_HOTPLUG_CPU |
Paul Burton | c8b7712 | 2017-06-02 14:48:52 -0700 | [diff] [blame] | 2514 | select SYS_SUPPORTS_SCHED_SMT if CPU_MIPSR6 |
Paul Burton | 0ee958e | 2014-01-15 10:31:53 +0000 | [diff] [blame] | 2515 | select SYS_SUPPORTS_SMP |
| 2516 | select WEAK_ORDERING |
Wei Li | d8d3276 | 2020-12-03 14:54:43 +0800 | [diff] [blame] | 2517 | select GENERIC_IRQ_MIGRATION if HOTPLUG_CPU |
Paul Burton | 0ee958e | 2014-01-15 10:31:53 +0000 | [diff] [blame] | 2518 | help |
| 2519 | Select this if you wish to run an SMP kernel across multiple cores |
| 2520 | within a MIPS Coherent Processing System. When this option is |
| 2521 | enabled the kernel will probe for other cores and boot them with |
| 2522 | no external assistance. It is safe to enable this when hardware |
| 2523 | support is unavailable. |
| 2524 | |
Paul Burton | 3179d37 | 2014-04-14 11:00:56 +0100 | [diff] [blame] | 2525 | config MIPS_CPS_PM |
Markos Chandras | 39a5959 | 2014-09-18 16:09:49 +0100 | [diff] [blame] | 2526 | depends on MIPS_CPS |
Paul Burton | 3179d37 | 2014-04-14 11:00:56 +0100 | [diff] [blame] | 2527 | bool |
| 2528 | |
Paul Burton | 9f98f3d | 2014-01-15 10:31:51 +0000 | [diff] [blame] | 2529 | config MIPS_CM |
| 2530 | bool |
Paul Burton | 3c9b416 | 2017-08-12 19:49:42 -0700 | [diff] [blame] | 2531 | select MIPS_CPC |
Paul Burton | 9f98f3d | 2014-01-15 10:31:51 +0000 | [diff] [blame] | 2532 | |
Paul Burton | 9c38cf4 | 2014-01-15 10:31:52 +0000 | [diff] [blame] | 2533 | config MIPS_CPC |
| 2534 | bool |
Ralf Baechle | 2600990 | 2006-04-05 09:45:45 +0100 | [diff] [blame] | 2535 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2536 | config SB1_PASS_2_WORKAROUNDS |
| 2537 | bool |
| 2538 | depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2) |
| 2539 | default y |
| 2540 | |
| 2541 | config SB1_PASS_2_1_WORKAROUNDS |
| 2542 | bool |
| 2543 | depends on CPU_SB1 && CPU_SB1_PASS_2 |
| 2544 | default y |
| 2545 | |
Markos Chandras | 9e2b537 | 2014-07-21 08:46:14 +0100 | [diff] [blame] | 2546 | choice |
| 2547 | prompt "SmartMIPS or microMIPS ASE support" |
| 2548 | |
| 2549 | config CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS |
| 2550 | bool "None" |
| 2551 | help |
| 2552 | Select this if you want neither microMIPS nor SmartMIPS support |
| 2553 | |
Franck Bui-Huu | 9693a85 | 2007-02-02 17:41:47 +0100 | [diff] [blame] | 2554 | config CPU_HAS_SMARTMIPS |
| 2555 | depends on SYS_SUPPORTS_SMARTMIPS |
Markos Chandras | 9e2b537 | 2014-07-21 08:46:14 +0100 | [diff] [blame] | 2556 | bool "SmartMIPS" |
Franck Bui-Huu | 9693a85 | 2007-02-02 17:41:47 +0100 | [diff] [blame] | 2557 | help |
| 2558 | SmartMIPS is a extension of the MIPS32 architecture aimed at |
| 2559 | increased security at both hardware and software level for |
| 2560 | smartcards. Enabling this option will allow proper use of the |
| 2561 | SmartMIPS instructions by Linux applications. However a kernel with |
| 2562 | this option will not work on a MIPS core without SmartMIPS core. If |
| 2563 | you don't know you probably don't have SmartMIPS and should say N |
| 2564 | here. |
| 2565 | |
Steven J. Hill | bce8608 | 2013-03-25 13:27:11 -0500 | [diff] [blame] | 2566 | config CPU_MICROMIPS |
Leonid Yegoshin | 7fd08ca | 2014-10-27 10:34:11 +0000 | [diff] [blame] | 2567 | depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6 |
Markos Chandras | 9e2b537 | 2014-07-21 08:46:14 +0100 | [diff] [blame] | 2568 | bool "microMIPS" |
Steven J. Hill | bce8608 | 2013-03-25 13:27:11 -0500 | [diff] [blame] | 2569 | help |
| 2570 | When this option is enabled the kernel will be built using the |
| 2571 | microMIPS ISA |
| 2572 | |
Markos Chandras | 9e2b537 | 2014-07-21 08:46:14 +0100 | [diff] [blame] | 2573 | endchoice |
| 2574 | |
Paul Burton | a5e9a69 | 2014-01-27 15:23:10 +0000 | [diff] [blame] | 2575 | config CPU_HAS_MSA |
Paul Burton | 0ce3417 | 2015-07-27 12:58:27 -0700 | [diff] [blame] | 2576 | bool "Support for the MIPS SIMD Architecture" |
Paul Burton | a5e9a69 | 2014-01-27 15:23:10 +0000 | [diff] [blame] | 2577 | depends on CPU_SUPPORTS_MSA |
Paul Burton | c92e47e | 2018-11-07 23:14:02 +0000 | [diff] [blame] | 2578 | depends on MIPS_FP_SUPPORT |
Paul Burton | 2a6cb669 | 2014-07-11 16:47:14 +0100 | [diff] [blame] | 2579 | depends on 64BIT || MIPS_O32_FP64_SUPPORT |
Paul Burton | a5e9a69 | 2014-01-27 15:23:10 +0000 | [diff] [blame] | 2580 | help |
| 2581 | MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers |
| 2582 | and a set of SIMD instructions to operate on them. When this option |
Paul Burton | 1db1af8 | 2014-01-27 15:23:11 +0000 | [diff] [blame] | 2583 | is enabled the kernel will support allocating & switching MSA |
| 2584 | vector register contexts. If you know that your kernel will only be |
| 2585 | running on CPUs which do not support MSA or that your userland will |
| 2586 | not be making use of it then you may wish to say N here to reduce |
| 2587 | the size & complexity of your kernel. |
Paul Burton | a5e9a69 | 2014-01-27 15:23:10 +0000 | [diff] [blame] | 2588 | |
| 2589 | If unsure, say Y. |
| 2590 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2591 | config CPU_HAS_WB |
Ralf Baechle | f7062dd | 2006-04-24 14:58:53 +0100 | [diff] [blame] | 2592 | bool |
Ralf Baechle | e01402b | 2005-07-14 15:57:16 +0000 | [diff] [blame] | 2593 | |
Kevin Cernekee | df0ac8a | 2011-11-16 01:25:45 +0000 | [diff] [blame] | 2594 | config XKS01 |
| 2595 | bool |
| 2596 | |
Jiaxun Yang | ba9196d | 2020-01-13 18:14:59 +0800 | [diff] [blame] | 2597 | config CPU_HAS_DIEI |
| 2598 | depends on !CPU_DIEI_BROKEN |
| 2599 | bool |
| 2600 | |
| 2601 | config CPU_DIEI_BROKEN |
| 2602 | bool |
| 2603 | |
Florian Fainelli | 8256b17 | 2016-02-09 12:55:51 -0800 | [diff] [blame] | 2604 | config CPU_HAS_RIXI |
| 2605 | bool |
| 2606 | |
Alexander Lobakin | 18d84e2e | 2020-01-22 13:58:50 +0300 | [diff] [blame] | 2607 | config CPU_NO_LOAD_STORE_LR |
Yasha Cherikovsky | 932afde | 2018-09-26 14:16:15 +0300 | [diff] [blame] | 2608 | bool |
| 2609 | help |
Alexander Lobakin | 18d84e2e | 2020-01-22 13:58:50 +0300 | [diff] [blame] | 2610 | CPU lacks support for unaligned load and store instructions: |
Yasha Cherikovsky | 932afde | 2018-09-26 14:16:15 +0300 | [diff] [blame] | 2611 | LWL, LWR, SWL, SWR (Load/store word left/right). |
Alexander Lobakin | 18d84e2e | 2020-01-22 13:58:50 +0300 | [diff] [blame] | 2612 | LDL, LDR, SDL, SDR (Load/store doubleword left/right, for 64bit |
| 2613 | systems). |
Yasha Cherikovsky | 932afde | 2018-09-26 14:16:15 +0300 | [diff] [blame] | 2614 | |
Ralf Baechle | f41ae0b | 2006-06-05 17:24:46 +0100 | [diff] [blame] | 2615 | # |
| 2616 | # Vectored interrupt mode is an R2 feature |
| 2617 | # |
Ralf Baechle | e01402b | 2005-07-14 15:57:16 +0000 | [diff] [blame] | 2618 | config CPU_MIPSR2_IRQ_VI |
Ralf Baechle | f41ae0b | 2006-06-05 17:24:46 +0100 | [diff] [blame] | 2619 | bool |
Ralf Baechle | e01402b | 2005-07-14 15:57:16 +0000 | [diff] [blame] | 2620 | |
Ralf Baechle | f41ae0b | 2006-06-05 17:24:46 +0100 | [diff] [blame] | 2621 | # |
| 2622 | # Extended interrupt mode is an R2 feature |
| 2623 | # |
Ralf Baechle | e01402b | 2005-07-14 15:57:16 +0000 | [diff] [blame] | 2624 | config CPU_MIPSR2_IRQ_EI |
Ralf Baechle | f41ae0b | 2006-06-05 17:24:46 +0100 | [diff] [blame] | 2625 | bool |
Ralf Baechle | e01402b | 2005-07-14 15:57:16 +0000 | [diff] [blame] | 2626 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2627 | config CPU_HAS_SYNC |
| 2628 | bool |
| 2629 | depends on !CPU_R3000 |
| 2630 | default y |
| 2631 | |
| 2632 | # |
Maciej W. Rozycki | 20d60d9 | 2007-10-23 12:43:11 +0100 | [diff] [blame] | 2633 | # CPU non-features |
| 2634 | # |
| 2635 | config CPU_DADDI_WORKAROUNDS |
| 2636 | bool |
| 2637 | |
| 2638 | config CPU_R4000_WORKAROUNDS |
| 2639 | bool |
| 2640 | select CPU_R4400_WORKAROUNDS |
| 2641 | |
| 2642 | config CPU_R4400_WORKAROUNDS |
| 2643 | bool |
| 2644 | |
Paul Burton | 071d2f0 | 2019-10-01 23:04:32 +0000 | [diff] [blame] | 2645 | config CPU_R4X00_BUGS64 |
| 2646 | bool |
| 2647 | default y if SYS_HAS_CPU_R4X00 && 64BIT && (TARGET_ISA_REV < 1) |
| 2648 | |
Paul Burton | 4edf00a | 2016-05-06 14:36:23 +0100 | [diff] [blame] | 2649 | config MIPS_ASID_SHIFT |
| 2650 | int |
| 2651 | default 6 if CPU_R3000 || CPU_TX39XX |
Paul Burton | 4edf00a | 2016-05-06 14:36:23 +0100 | [diff] [blame] | 2652 | default 0 |
| 2653 | |
| 2654 | config MIPS_ASID_BITS |
| 2655 | int |
Paul Burton | 2db003a | 2016-05-06 14:36:24 +0100 | [diff] [blame] | 2656 | default 0 if MIPS_ASID_BITS_VARIABLE |
Paul Burton | 4edf00a | 2016-05-06 14:36:23 +0100 | [diff] [blame] | 2657 | default 6 if CPU_R3000 || CPU_TX39XX |
| 2658 | default 8 |
| 2659 | |
Paul Burton | 2db003a | 2016-05-06 14:36:24 +0100 | [diff] [blame] | 2660 | config MIPS_ASID_BITS_VARIABLE |
| 2661 | bool |
| 2662 | |
Marcin Nowakowski | 4a5dc51 | 2018-02-09 22:11:06 +0000 | [diff] [blame] | 2663 | config MIPS_CRC_SUPPORT |
| 2664 | bool |
| 2665 | |
Thomas Bogendoerfer | 802b8362 | 2020-08-24 18:32:43 +0200 | [diff] [blame] | 2666 | # R4600 erratum. Due to the lack of errata information the exact |
| 2667 | # technical details aren't known. I've experimentally found that disabling |
| 2668 | # interrupts during indexed I-cache flushes seems to be sufficient to deal |
| 2669 | # with the issue. |
| 2670 | config WAR_R4600_V1_INDEX_ICACHEOP |
| 2671 | bool |
| 2672 | |
Thomas Bogendoerfer | 5e5b652 | 2020-08-24 18:32:44 +0200 | [diff] [blame] | 2673 | # Pleasures of the R4600 V1.x. Cite from the IDT R4600 V1.7 errata: |
| 2674 | # |
| 2675 | # 18. The CACHE instructions Hit_Writeback_Invalidate_D, Hit_Writeback_D, |
| 2676 | # Hit_Invalidate_D and Create_Dirty_Excl_D should only be |
| 2677 | # executed if there is no other dcache activity. If the dcache is |
Colin Ian King | 18ff14c | 2020-10-27 18:34:30 +0000 | [diff] [blame] | 2678 | # accessed for another instruction immediately preceding when these |
Thomas Bogendoerfer | 5e5b652 | 2020-08-24 18:32:44 +0200 | [diff] [blame] | 2679 | # cache instructions are executing, it is possible that the dcache |
| 2680 | # tag match outputs used by these cache instructions will be |
| 2681 | # incorrect. These cache instructions should be preceded by at least |
| 2682 | # four instructions that are not any kind of load or store |
| 2683 | # instruction. |
| 2684 | # |
| 2685 | # This is not allowed: lw |
| 2686 | # nop |
| 2687 | # nop |
| 2688 | # nop |
| 2689 | # cache Hit_Writeback_Invalidate_D |
| 2690 | # |
| 2691 | # This is allowed: lw |
| 2692 | # nop |
| 2693 | # nop |
| 2694 | # nop |
| 2695 | # nop |
| 2696 | # cache Hit_Writeback_Invalidate_D |
| 2697 | config WAR_R4600_V1_HIT_CACHEOP |
| 2698 | bool |
| 2699 | |
Thomas Bogendoerfer | 44def34 | 2020-08-24 18:32:45 +0200 | [diff] [blame] | 2700 | # Writeback and invalidate the primary cache dcache before DMA. |
| 2701 | # |
| 2702 | # R4600 v2.0 bug: "The CACHE instructions Hit_Writeback_Inv_D, |
| 2703 | # Hit_Writeback_D, Hit_Invalidate_D and Create_Dirty_Exclusive_D will only |
| 2704 | # operate correctly if the internal data cache refill buffer is empty. These |
| 2705 | # CACHE instructions should be separated from any potential data cache miss |
| 2706 | # by a load instruction to an uncached address to empty the response buffer." |
| 2707 | # (Revision 2.0 device errata from IDT available on https://www.idt.com/ |
| 2708 | # in .pdf format.) |
| 2709 | config WAR_R4600_V2_HIT_CACHEOP |
| 2710 | bool |
| 2711 | |
Thomas Bogendoerfer | 24a1c02 | 2020-08-24 18:32:47 +0200 | [diff] [blame] | 2712 | # From TX49/H2 manual: "If the instruction (i.e. CACHE) is issued for |
| 2713 | # the line which this instruction itself exists, the following |
| 2714 | # operation is not guaranteed." |
| 2715 | # |
| 2716 | # Workaround: do two phase flushing for Index_Invalidate_I |
| 2717 | config WAR_TX49XX_ICACHE_INDEX_INV |
| 2718 | bool |
| 2719 | |
Thomas Bogendoerfer | 886ee13 | 2020-08-24 18:32:48 +0200 | [diff] [blame] | 2720 | # The RM7000 processors and the E9000 cores have a bug (though PMC-Sierra |
| 2721 | # opposes it being called that) where invalid instructions in the same |
| 2722 | # I-cache line worth of instructions being fetched may case spurious |
| 2723 | # exceptions. |
| 2724 | config WAR_ICACHE_REFILLS |
| 2725 | bool |
| 2726 | |
Thomas Bogendoerfer | 256ec48 | 2020-08-24 18:32:49 +0200 | [diff] [blame] | 2727 | # On the R10000 up to version 2.6 (not sure about 2.7) there is a bug that |
| 2728 | # may cause ll / sc and lld / scd sequences to execute non-atomically. |
| 2729 | config WAR_R10000_LLSC |
| 2730 | bool |
| 2731 | |
Thomas Bogendoerfer | a7fbed9 | 2020-08-24 18:32:50 +0200 | [diff] [blame] | 2732 | # 34K core erratum: "Problems Executing the TLBR Instruction" |
| 2733 | config WAR_MIPS34K_MISSED_ITLB |
| 2734 | bool |
| 2735 | |
Maciej W. Rozycki | 20d60d9 | 2007-10-23 12:43:11 +0100 | [diff] [blame] | 2736 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2737 | # - Highmem only makes sense for the 32-bit kernel. |
| 2738 | # - The current highmem code will only work properly on physically indexed |
| 2739 | # caches such as R3000, SB1, R7000 or those that look like they're virtually |
| 2740 | # indexed such as R4000/R4400 SC and MC versions or R10000. So for the |
| 2741 | # moment we protect the user and offer the highmem option only on machines |
| 2742 | # where it's known to be safe. This will not offer highmem on a few systems |
| 2743 | # such as MIPS32 and MIPS64 CPUs which may have virtual and physically |
| 2744 | # indexed CPUs but we're playing safe. |
Ralf Baechle | 797798c | 2005-08-10 15:17:11 +0000 | [diff] [blame] | 2745 | # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we |
| 2746 | # know they might have memory configurations that could make use of highmem |
| 2747 | # support. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2748 | # |
| 2749 | config HIGHMEM |
| 2750 | bool "High Memory Support" |
Leonid Yegoshin | a6e1878 | 2013-12-03 10:22:26 +0000 | [diff] [blame] | 2751 | depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA |
Thomas Gleixner | a4c33e8 | 2020-11-03 10:27:25 +0100 | [diff] [blame] | 2752 | select KMAP_LOCAL |
Ralf Baechle | 797798c | 2005-08-10 15:17:11 +0000 | [diff] [blame] | 2753 | |
| 2754 | config CPU_SUPPORTS_HIGHMEM |
| 2755 | bool |
| 2756 | |
| 2757 | config SYS_SUPPORTS_HIGHMEM |
| 2758 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2759 | |
Franck Bui-Huu | 9693a85 | 2007-02-02 17:41:47 +0100 | [diff] [blame] | 2760 | config SYS_SUPPORTS_SMARTMIPS |
| 2761 | bool |
| 2762 | |
Steven J. Hill | a6a4834 | 2013-02-05 16:52:02 -0600 | [diff] [blame] | 2763 | config SYS_SUPPORTS_MICROMIPS |
| 2764 | bool |
| 2765 | |
Ralf Baechle | 377cb1b | 2014-04-29 01:49:24 +0200 | [diff] [blame] | 2766 | config SYS_SUPPORTS_MIPS16 |
| 2767 | bool |
| 2768 | help |
| 2769 | This option must be set if a kernel might be executed on a MIPS16- |
| 2770 | enabled CPU even if MIPS16 is not actually being used. In other |
| 2771 | words, it makes the kernel MIPS16-tolerant. |
| 2772 | |
Paul Burton | a5e9a69 | 2014-01-27 15:23:10 +0000 | [diff] [blame] | 2773 | config CPU_SUPPORTS_MSA |
| 2774 | bool |
| 2775 | |
Yoichi Yuasa | b4819b5 | 2005-06-25 14:54:31 -0700 | [diff] [blame] | 2776 | config ARCH_FLATMEM_ENABLE |
| 2777 | def_bool y |
Jiaxun Yang | 268a2d6 | 2019-10-20 22:43:13 +0800 | [diff] [blame] | 2778 | depends on !NUMA && !CPU_LOONGSON2EF |
Yoichi Yuasa | b4819b5 | 2005-06-25 14:54:31 -0700 | [diff] [blame] | 2779 | |
Atsushi Nemoto | b1c6cd4 | 2006-07-03 00:09:47 +0900 | [diff] [blame] | 2780 | config ARCH_SPARSEMEM_ENABLE |
| 2781 | bool |
Mike Rapoport | 397dc00 | 2019-09-16 14:13:10 +0300 | [diff] [blame] | 2782 | select SPARSEMEM_STATIC if !SGI_IP27 |
Atsushi Nemoto | 3147374 | 2006-07-03 00:09:47 +0900 | [diff] [blame] | 2783 | |
Ralf Baechle | d8cb4e1 | 2006-06-11 23:03:08 +0100 | [diff] [blame] | 2784 | config NUMA |
| 2785 | bool "NUMA Support" |
| 2786 | depends on SYS_SUPPORTS_NUMA |
Tiezhu Yang | cf8194e | 2020-12-03 20:32:52 +0800 | [diff] [blame] | 2787 | select SMP |
Ralf Baechle | d8cb4e1 | 2006-06-11 23:03:08 +0100 | [diff] [blame] | 2788 | help |
| 2789 | Say Y to compile the kernel to support NUMA (Non-Uniform Memory |
| 2790 | Access). This option improves performance on systems with more |
| 2791 | than two nodes; on two node systems it is generally better to |
Randy Dunlap | 172a37e | 2020-01-31 17:55:43 -0800 | [diff] [blame] | 2792 | leave it disabled; on single node systems leave this option |
Ralf Baechle | d8cb4e1 | 2006-06-11 23:03:08 +0100 | [diff] [blame] | 2793 | disabled. |
| 2794 | |
| 2795 | config SYS_SUPPORTS_NUMA |
| 2796 | bool |
| 2797 | |
Thomas Bogendoerfer | f3c560a | 2020-01-09 13:23:31 +0100 | [diff] [blame] | 2798 | config HAVE_SETUP_PER_CPU_AREA |
| 2799 | def_bool y |
| 2800 | depends on NUMA |
| 2801 | |
| 2802 | config NEED_PER_CPU_EMBED_FIRST_CHUNK |
| 2803 | def_bool y |
| 2804 | depends on NUMA |
| 2805 | |
Matt Redfearn | 8c530ea | 2016-03-31 10:05:39 +0100 | [diff] [blame] | 2806 | config RELOCATABLE |
| 2807 | bool "Relocatable kernel" |
Serge Semin | ab7c01f | 2020-05-21 17:07:14 +0300 | [diff] [blame] | 2808 | depends on SYS_SUPPORTS_RELOCATABLE |
| 2809 | depends on CPU_MIPS32_R2 || CPU_MIPS64_R2 || \ |
| 2810 | CPU_MIPS32_R5 || CPU_MIPS64_R5 || \ |
| 2811 | CPU_MIPS32_R6 || CPU_MIPS64_R6 || \ |
Jinyang He | a307a4c | 2020-11-25 18:07:46 +0800 | [diff] [blame] | 2812 | CPU_P5600 || CAVIUM_OCTEON_SOC || \ |
| 2813 | CPU_LOONGSON64 |
Matt Redfearn | 8c530ea | 2016-03-31 10:05:39 +0100 | [diff] [blame] | 2814 | help |
| 2815 | This builds a kernel image that retains relocation information |
| 2816 | so it can be loaded someplace besides the default 1MB. |
| 2817 | The relocations make the kernel binary about 15% larger, |
| 2818 | but are discarded at runtime |
| 2819 | |
Matt Redfearn | 069fd76 | 2016-03-31 10:05:34 +0100 | [diff] [blame] | 2820 | config RELOCATION_TABLE_SIZE |
| 2821 | hex "Relocation table size" |
| 2822 | depends on RELOCATABLE |
| 2823 | range 0x0 0x01000000 |
Jinyang He | a307a4c | 2020-11-25 18:07:46 +0800 | [diff] [blame] | 2824 | default "0x00200000" if CPU_LOONGSON64 |
Matt Redfearn | 069fd76 | 2016-03-31 10:05:34 +0100 | [diff] [blame] | 2825 | default "0x00100000" |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 2826 | help |
Matt Redfearn | 069fd76 | 2016-03-31 10:05:34 +0100 | [diff] [blame] | 2827 | A table of relocation data will be appended to the kernel binary |
| 2828 | and parsed at boot to fix up the relocated kernel. |
| 2829 | |
| 2830 | This option allows the amount of space reserved for the table to be |
| 2831 | adjusted, although the default of 1Mb should be ok in most cases. |
| 2832 | |
| 2833 | The build will fail and a valid size suggested if this is too small. |
| 2834 | |
| 2835 | If unsure, leave at the default value. |
| 2836 | |
Matt Redfearn | 405bc8f | 2016-03-31 10:05:41 +0100 | [diff] [blame] | 2837 | config RANDOMIZE_BASE |
| 2838 | bool "Randomize the address of the kernel image" |
| 2839 | depends on RELOCATABLE |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 2840 | help |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 2841 | Randomizes the physical and virtual address at which the |
| 2842 | kernel image is loaded, as a security feature that |
| 2843 | deters exploit attempts relying on knowledge of the location |
| 2844 | of kernel internals. |
Matt Redfearn | 405bc8f | 2016-03-31 10:05:41 +0100 | [diff] [blame] | 2845 | |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 2846 | Entropy is generated using any coprocessor 0 registers available. |
Matt Redfearn | 405bc8f | 2016-03-31 10:05:41 +0100 | [diff] [blame] | 2847 | |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 2848 | The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET. |
Matt Redfearn | 405bc8f | 2016-03-31 10:05:41 +0100 | [diff] [blame] | 2849 | |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 2850 | If unsure, say N. |
Matt Redfearn | 405bc8f | 2016-03-31 10:05:41 +0100 | [diff] [blame] | 2851 | |
| 2852 | config RANDOMIZE_BASE_MAX_OFFSET |
| 2853 | hex "Maximum kASLR offset" if EXPERT |
| 2854 | depends on RANDOMIZE_BASE |
| 2855 | range 0x0 0x40000000 if EVA || 64BIT |
| 2856 | range 0x0 0x08000000 |
| 2857 | default "0x01000000" |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 2858 | help |
Matt Redfearn | 405bc8f | 2016-03-31 10:05:41 +0100 | [diff] [blame] | 2859 | When kASLR is active, this provides the maximum offset that will |
| 2860 | be applied to the kernel image. It should be set according to the |
| 2861 | amount of physical RAM available in the target system minus |
| 2862 | PHYSICAL_START and must be a power of 2. |
| 2863 | |
| 2864 | This is limited by the size of KSEG0, 256Mb on 32-bit or 1Gb with |
| 2865 | EVA or 64-bit. The default is 16Mb. |
| 2866 | |
Yasunori Goto | c80d79d | 2006-04-10 22:53:53 -0700 | [diff] [blame] | 2867 | config NODES_SHIFT |
| 2868 | int |
| 2869 | default "6" |
| 2870 | depends on NEED_MULTIPLE_NODES |
| 2871 | |
Deng-Cheng Zhu | 14f7001 | 2010-10-12 19:37:22 +0800 | [diff] [blame] | 2872 | config HW_PERF_EVENTS |
| 2873 | bool "Enable hardware performance counter support for perf events" |
Viresh Kumar | e258958 | 2021-01-14 17:05:21 +0530 | [diff] [blame] | 2874 | depends on PERF_EVENTS && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON64) |
Deng-Cheng Zhu | 14f7001 | 2010-10-12 19:37:22 +0800 | [diff] [blame] | 2875 | default y |
| 2876 | help |
| 2877 | Enable hardware performance counter support for perf events. If |
| 2878 | disabled, perf events will use software events only. |
| 2879 | |
Tiezhu Yang | be8fa1c | 2020-02-05 12:08:33 +0800 | [diff] [blame] | 2880 | config DMI |
| 2881 | bool "Enable DMI scanning" |
| 2882 | depends on MACH_LOONGSON64 |
| 2883 | select DMI_SCAN_MACHINE_NON_EFI_FALLBACK |
| 2884 | default y |
| 2885 | help |
| 2886 | Enabled scanning of DMI to identify machine quirks. Say Y |
| 2887 | here unless you have verified that your setup is not |
| 2888 | affected by entries in the DMI blacklist. Required by PNP |
| 2889 | BIOS code. |
| 2890 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2891 | config SMP |
| 2892 | bool "Multi-Processing support" |
Ralf Baechle | e73ea27 | 2006-06-04 11:51:46 +0100 | [diff] [blame] | 2893 | depends on SYS_SUPPORTS_SMP |
| 2894 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2895 | This enables support for systems with more than one CPU. If you have |
Robert Graffham | 4a47415 | 2014-01-23 15:55:29 -0800 | [diff] [blame] | 2896 | a system with only one CPU, say N. If you have a system with more |
| 2897 | than one CPU, say Y. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2898 | |
Robert Graffham | 4a47415 | 2014-01-23 15:55:29 -0800 | [diff] [blame] | 2899 | If you say N here, the kernel will run on uni- and multiprocessor |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2900 | machines, but will use only one CPU of a multiprocessor machine. If |
| 2901 | you say Y here, the kernel will run on many, but not all, |
Robert Graffham | 4a47415 | 2014-01-23 15:55:29 -0800 | [diff] [blame] | 2902 | uniprocessor machines. On a uniprocessor machine, the kernel |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2903 | will run faster if you say N here. |
| 2904 | |
| 2905 | People using multiprocessor machines who say Y here should also say |
| 2906 | Y to "Enhanced Real Time Clock Support", below. |
| 2907 | |
Adrian Bunk | 03502fa | 2008-02-03 15:50:21 +0200 | [diff] [blame] | 2908 | See also the SMP-HOWTO available at |
Alexander A. Klimov | ef054ad | 2020-07-14 21:12:26 +0200 | [diff] [blame] | 2909 | <https://www.tldp.org/docs.html#howto>. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2910 | |
| 2911 | If you don't know what to do here, say N. |
| 2912 | |
Matt Redfearn | 7840d61 | 2016-07-07 08:50:40 +0100 | [diff] [blame] | 2913 | config HOTPLUG_CPU |
| 2914 | bool "Support for hot-pluggable CPUs" |
| 2915 | depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU |
| 2916 | help |
| 2917 | Say Y here to allow turning CPUs off and on. CPUs can be |
| 2918 | controlled through /sys/devices/system/cpu. |
| 2919 | (Note: power management support will enable this option |
| 2920 | automatically on SMP systems. ) |
| 2921 | Say N if you want to disable CPU hotplug. |
| 2922 | |
Ralf Baechle | 87353d8 | 2007-11-19 12:23:51 +0000 | [diff] [blame] | 2923 | config SMP_UP |
| 2924 | bool |
| 2925 | |
Ralf Baechle | 4a16ff4 | 2008-10-04 00:06:29 +0100 | [diff] [blame] | 2926 | config SYS_SUPPORTS_MIPS_CMP |
| 2927 | bool |
| 2928 | |
Paul Burton | 0ee958e | 2014-01-15 10:31:53 +0000 | [diff] [blame] | 2929 | config SYS_SUPPORTS_MIPS_CPS |
| 2930 | bool |
| 2931 | |
Ralf Baechle | e73ea27 | 2006-06-04 11:51:46 +0100 | [diff] [blame] | 2932 | config SYS_SUPPORTS_SMP |
| 2933 | bool |
| 2934 | |
Ralf Baechle | 130e2fb | 2007-02-06 16:53:15 +0000 | [diff] [blame] | 2935 | config NR_CPUS_DEFAULT_4 |
| 2936 | bool |
| 2937 | |
| 2938 | config NR_CPUS_DEFAULT_8 |
| 2939 | bool |
| 2940 | |
| 2941 | config NR_CPUS_DEFAULT_16 |
| 2942 | bool |
| 2943 | |
| 2944 | config NR_CPUS_DEFAULT_32 |
| 2945 | bool |
| 2946 | |
| 2947 | config NR_CPUS_DEFAULT_64 |
| 2948 | bool |
| 2949 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2950 | config NR_CPUS |
Jayachandran C | a91796a | 2014-04-29 20:07:40 +0530 | [diff] [blame] | 2951 | int "Maximum number of CPUs (2-256)" |
| 2952 | range 2 256 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2953 | depends on SMP |
Ralf Baechle | 130e2fb | 2007-02-06 16:53:15 +0000 | [diff] [blame] | 2954 | default "4" if NR_CPUS_DEFAULT_4 |
| 2955 | default "8" if NR_CPUS_DEFAULT_8 |
| 2956 | default "16" if NR_CPUS_DEFAULT_16 |
| 2957 | default "32" if NR_CPUS_DEFAULT_32 |
| 2958 | default "64" if NR_CPUS_DEFAULT_64 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2959 | help |
| 2960 | This allows you to specify the maximum number of CPUs which this |
| 2961 | kernel will support. The maximum supported value is 32 for 32-bit |
| 2962 | kernel and 64 for 64-bit kernels; the minimum value which makes |
Atsushi Nemoto | 72ede9b | 2007-03-18 01:01:39 +0900 | [diff] [blame] | 2963 | sense is 1 for Qemu (useful only for kernel debugging purposes) |
| 2964 | and 2 for all others. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2965 | |
| 2966 | This is purely to save memory - each supported CPU adds |
Atsushi Nemoto | 72ede9b | 2007-03-18 01:01:39 +0900 | [diff] [blame] | 2967 | approximately eight kilobytes to the kernel image. For best |
| 2968 | performance should round up your number of processors to the next |
| 2969 | power of two. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2970 | |
Al Cooper | 399aaa2 | 2012-07-13 16:44:53 -0400 | [diff] [blame] | 2971 | config MIPS_PERF_SHARED_TC_COUNTERS |
| 2972 | bool |
| 2973 | |
David Daney | 7820b84 | 2017-09-28 12:34:04 -0500 | [diff] [blame] | 2974 | config MIPS_NR_CPU_NR_MAP_1024 |
| 2975 | bool |
| 2976 | |
| 2977 | config MIPS_NR_CPU_NR_MAP |
| 2978 | int |
| 2979 | depends on SMP |
| 2980 | default 1024 if MIPS_NR_CPU_NR_MAP_1024 |
| 2981 | default NR_CPUS if !MIPS_NR_CPU_NR_MAP_1024 |
| 2982 | |
Atsushi Nemoto | 1723b4a | 2006-06-20 00:19:13 +0900 | [diff] [blame] | 2983 | # |
| 2984 | # Timer Interrupt Frequency Configuration |
| 2985 | # |
| 2986 | |
| 2987 | choice |
| 2988 | prompt "Timer frequency" |
| 2989 | default HZ_250 |
| 2990 | help |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 2991 | Allows the configuration of the timer frequency. |
Atsushi Nemoto | 1723b4a | 2006-06-20 00:19:13 +0900 | [diff] [blame] | 2992 | |
Paul Burton | 6759657 | 2015-09-22 10:16:39 -0700 | [diff] [blame] | 2993 | config HZ_24 |
| 2994 | bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ |
| 2995 | |
Atsushi Nemoto | 1723b4a | 2006-06-20 00:19:13 +0900 | [diff] [blame] | 2996 | config HZ_48 |
Ralf Baechle | 0f87358 | 2008-02-25 16:55:29 +0000 | [diff] [blame] | 2997 | bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ |
Atsushi Nemoto | 1723b4a | 2006-06-20 00:19:13 +0900 | [diff] [blame] | 2998 | |
| 2999 | config HZ_100 |
| 3000 | bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ |
| 3001 | |
| 3002 | config HZ_128 |
| 3003 | bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ |
| 3004 | |
| 3005 | config HZ_250 |
| 3006 | bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ |
| 3007 | |
| 3008 | config HZ_256 |
| 3009 | bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ |
| 3010 | |
| 3011 | config HZ_1000 |
| 3012 | bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ |
| 3013 | |
| 3014 | config HZ_1024 |
| 3015 | bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ |
| 3016 | |
| 3017 | endchoice |
| 3018 | |
Paul Burton | 6759657 | 2015-09-22 10:16:39 -0700 | [diff] [blame] | 3019 | config SYS_SUPPORTS_24HZ |
| 3020 | bool |
| 3021 | |
Atsushi Nemoto | 1723b4a | 2006-06-20 00:19:13 +0900 | [diff] [blame] | 3022 | config SYS_SUPPORTS_48HZ |
| 3023 | bool |
| 3024 | |
| 3025 | config SYS_SUPPORTS_100HZ |
| 3026 | bool |
| 3027 | |
| 3028 | config SYS_SUPPORTS_128HZ |
| 3029 | bool |
| 3030 | |
| 3031 | config SYS_SUPPORTS_250HZ |
| 3032 | bool |
| 3033 | |
| 3034 | config SYS_SUPPORTS_256HZ |
| 3035 | bool |
| 3036 | |
| 3037 | config SYS_SUPPORTS_1000HZ |
| 3038 | bool |
| 3039 | |
| 3040 | config SYS_SUPPORTS_1024HZ |
| 3041 | bool |
| 3042 | |
| 3043 | config SYS_SUPPORTS_ARBIT_HZ |
| 3044 | bool |
Paul Burton | 6759657 | 2015-09-22 10:16:39 -0700 | [diff] [blame] | 3045 | default y if !SYS_SUPPORTS_24HZ && \ |
| 3046 | !SYS_SUPPORTS_48HZ && \ |
| 3047 | !SYS_SUPPORTS_100HZ && \ |
| 3048 | !SYS_SUPPORTS_128HZ && \ |
| 3049 | !SYS_SUPPORTS_250HZ && \ |
| 3050 | !SYS_SUPPORTS_256HZ && \ |
| 3051 | !SYS_SUPPORTS_1000HZ && \ |
Atsushi Nemoto | 1723b4a | 2006-06-20 00:19:13 +0900 | [diff] [blame] | 3052 | !SYS_SUPPORTS_1024HZ |
| 3053 | |
| 3054 | config HZ |
| 3055 | int |
Paul Burton | 6759657 | 2015-09-22 10:16:39 -0700 | [diff] [blame] | 3056 | default 24 if HZ_24 |
Atsushi Nemoto | 1723b4a | 2006-06-20 00:19:13 +0900 | [diff] [blame] | 3057 | default 48 if HZ_48 |
| 3058 | default 100 if HZ_100 |
| 3059 | default 128 if HZ_128 |
| 3060 | default 250 if HZ_250 |
| 3061 | default 256 if HZ_256 |
| 3062 | default 1000 if HZ_1000 |
| 3063 | default 1024 if HZ_1024 |
| 3064 | |
Deng-Cheng Zhu | 96685b1 | 2015-03-07 10:30:19 -0800 | [diff] [blame] | 3065 | config SCHED_HRTICK |
| 3066 | def_bool HIGH_RES_TIMERS |
| 3067 | |
Atsushi Nemoto | ea6e942 | 2007-01-16 23:29:11 +0900 | [diff] [blame] | 3068 | config KEXEC |
Kees Cook | 7d60717 | 2013-01-16 18:53:19 -0800 | [diff] [blame] | 3069 | bool "Kexec system call" |
Dave Young | 2965faa | 2015-09-09 15:38:55 -0700 | [diff] [blame] | 3070 | select KEXEC_CORE |
Atsushi Nemoto | ea6e942 | 2007-01-16 23:29:11 +0900 | [diff] [blame] | 3071 | help |
| 3072 | kexec is a system call that implements the ability to shutdown your |
| 3073 | current kernel, and to start another kernel. It is like a reboot |
David Sterba | 3dde6ad | 2007-05-09 07:12:20 +0200 | [diff] [blame] | 3074 | but it is independent of the system firmware. And like a reboot |
Atsushi Nemoto | ea6e942 | 2007-01-16 23:29:11 +0900 | [diff] [blame] | 3075 | you can start any kernel with it, not just Linux. |
| 3076 | |
Matt LaPlante | 01dd2fb | 2007-10-20 01:34:40 +0200 | [diff] [blame] | 3077 | The name comes from the similarity to the exec system call. |
Atsushi Nemoto | ea6e942 | 2007-01-16 23:29:11 +0900 | [diff] [blame] | 3078 | |
| 3079 | It is an ongoing process to be certain the hardware in a machine |
| 3080 | is properly shutdown, so do not be surprised if this code does not |
Geert Uytterhoeven | bf22069 | 2013-08-20 21:38:03 +0200 | [diff] [blame] | 3081 | initially work for you. As of this writing the exact hardware |
| 3082 | interface is strongly in flux, so no good recommendation can be |
| 3083 | made. |
Atsushi Nemoto | ea6e942 | 2007-01-16 23:29:11 +0900 | [diff] [blame] | 3084 | |
Ralf Baechle | 7aa1c8f | 2012-10-11 18:14:58 +0200 | [diff] [blame] | 3085 | config CRASH_DUMP |
Marcin Nowakowski | bff323d | 2016-12-02 09:58:29 +0100 | [diff] [blame] | 3086 | bool "Kernel crash dumps" |
| 3087 | help |
Ralf Baechle | 7aa1c8f | 2012-10-11 18:14:58 +0200 | [diff] [blame] | 3088 | Generate crash dump after being started by kexec. |
| 3089 | This should be normally only set in special crash dump kernels |
| 3090 | which are loaded in the main kernel with kexec-tools into |
| 3091 | a specially reserved region and then later executed after |
| 3092 | a crash by kdump/kexec. The crash dump kernel must be compiled |
| 3093 | to a memory address not used by the main kernel or firmware using |
| 3094 | PHYSICAL_START. |
| 3095 | |
| 3096 | config PHYSICAL_START |
Marcin Nowakowski | bff323d | 2016-12-02 09:58:29 +0100 | [diff] [blame] | 3097 | hex "Physical address where the kernel is loaded" |
Maciej W. Rozycki | 8bda3e2 | 2018-03-26 19:11:51 +0100 | [diff] [blame] | 3098 | default "0xffffffff84000000" |
Marcin Nowakowski | bff323d | 2016-12-02 09:58:29 +0100 | [diff] [blame] | 3099 | depends on CRASH_DUMP |
| 3100 | help |
Ralf Baechle | 7aa1c8f | 2012-10-11 18:14:58 +0200 | [diff] [blame] | 3101 | This gives the CKSEG0 or KSEG0 address where the kernel is loaded. |
| 3102 | If you plan to use kernel for capturing the crash dump change |
| 3103 | this value to start of the reserved region (the "X" value as |
| 3104 | specified in the "crashkernel=YM@XM" command line boot parameter |
| 3105 | passed to the panic-ed kernel). |
| 3106 | |
Paul Burton | 597ce17 | 2013-11-22 13:12:07 +0000 | [diff] [blame] | 3107 | config MIPS_O32_FP64_SUPPORT |
Paul Burton | b7f1e27 | 2018-11-07 23:13:58 +0000 | [diff] [blame] | 3108 | bool "Support for O32 binaries using 64-bit FP" if !CPU_MIPSR6 |
Paul Burton | 597ce17 | 2013-11-22 13:12:07 +0000 | [diff] [blame] | 3109 | depends on 32BIT || MIPS32_O32 |
Paul Burton | 597ce17 | 2013-11-22 13:12:07 +0000 | [diff] [blame] | 3110 | help |
| 3111 | When this is enabled, the kernel will support use of 64-bit floating |
| 3112 | point registers with binaries using the O32 ABI along with the |
| 3113 | EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On |
| 3114 | 32-bit MIPS systems this support is at the cost of increasing the |
| 3115 | size and complexity of the compiled FPU emulator. Thus if you are |
| 3116 | running a MIPS32 system and know that none of your userland binaries |
| 3117 | will require 64-bit floating point, you may wish to reduce the size |
| 3118 | of your kernel & potentially improve FP emulation performance by |
| 3119 | saying N here. |
| 3120 | |
Paul Burton | 06e2e88 | 2014-02-14 17:55:18 +0000 | [diff] [blame] | 3121 | Although binutils currently supports use of this flag the details |
| 3122 | concerning its effect upon the O32 ABI in userland are still being |
Colin Ian King | 18ff14c | 2020-10-27 18:34:30 +0000 | [diff] [blame] | 3123 | worked on. In order to avoid userland becoming dependent upon current |
Paul Burton | 06e2e88 | 2014-02-14 17:55:18 +0000 | [diff] [blame] | 3124 | behaviour before the details have been finalised, this option should |
| 3125 | be considered experimental and only enabled by those working upon |
| 3126 | said details. |
| 3127 | |
| 3128 | If unsure, say N. |
Paul Burton | 597ce17 | 2013-11-22 13:12:07 +0000 | [diff] [blame] | 3129 | |
Dezhong Diao | f2ffa5a | 2010-10-13 00:52:46 -0600 | [diff] [blame] | 3130 | config USE_OF |
Jonas Gorski | 0b3e06f | 2012-09-18 11:28:54 +0200 | [diff] [blame] | 3131 | bool |
Dezhong Diao | f2ffa5a | 2010-10-13 00:52:46 -0600 | [diff] [blame] | 3132 | select OF |
Stephen Neuendorffer | e6ce132 | 2010-11-18 15:54:56 -0800 | [diff] [blame] | 3133 | select OF_EARLY_FLATTREE |
Grant Likely | abd2363 | 2012-02-24 08:07:06 -0700 | [diff] [blame] | 3134 | select IRQ_DOMAIN |
Dezhong Diao | f2ffa5a | 2010-10-13 00:52:46 -0600 | [diff] [blame] | 3135 | |
Dengcheng Zhu | 2fe8ea3 | 2018-09-11 14:49:24 -0700 | [diff] [blame] | 3136 | config UHI_BOOT |
| 3137 | bool |
| 3138 | |
Andrew Bresticker | 7fafb06 | 2014-08-21 13:04:20 -0700 | [diff] [blame] | 3139 | config BUILTIN_DTB |
| 3140 | bool |
| 3141 | |
Jonas Gorski | 1da8f17 | 2015-04-12 12:24:58 +0200 | [diff] [blame] | 3142 | choice |
Jonas Gorski | 5b24d52 | 2015-10-12 13:13:01 +0200 | [diff] [blame] | 3143 | prompt "Kernel appended dtb support" if USE_OF |
Jonas Gorski | 1da8f17 | 2015-04-12 12:24:58 +0200 | [diff] [blame] | 3144 | default MIPS_NO_APPENDED_DTB |
| 3145 | |
| 3146 | config MIPS_NO_APPENDED_DTB |
| 3147 | bool "None" |
| 3148 | help |
| 3149 | Do not enable appended dtb support. |
| 3150 | |
Aaro Koskinen | 87db537 | 2015-09-11 17:46:14 +0300 | [diff] [blame] | 3151 | config MIPS_ELF_APPENDED_DTB |
| 3152 | bool "vmlinux" |
| 3153 | help |
| 3154 | With this option, the boot code will look for a device tree binary |
| 3155 | DTB) included in the vmlinux ELF section .appended_dtb. By default |
| 3156 | it is empty and the DTB can be appended using binutils command |
| 3157 | objcopy: |
| 3158 | |
| 3159 | objcopy --update-section .appended_dtb=<filename>.dtb vmlinux |
| 3160 | |
Colin Ian King | 18ff14c | 2020-10-27 18:34:30 +0000 | [diff] [blame] | 3161 | This is meant as a backward compatibility convenience for those |
Aaro Koskinen | 87db537 | 2015-09-11 17:46:14 +0300 | [diff] [blame] | 3162 | systems with a bootloader that can't be upgraded to accommodate |
| 3163 | the documented boot protocol using a device tree. |
| 3164 | |
Jonas Gorski | 1da8f17 | 2015-04-12 12:24:58 +0200 | [diff] [blame] | 3165 | config MIPS_RAW_APPENDED_DTB |
Jonas Gorski | b8f54f2 | 2016-06-20 11:27:36 +0200 | [diff] [blame] | 3166 | bool "vmlinux.bin or vmlinuz.bin" |
Jonas Gorski | 1da8f17 | 2015-04-12 12:24:58 +0200 | [diff] [blame] | 3167 | help |
| 3168 | With this option, the boot code will look for a device tree binary |
Jonas Gorski | b8f54f2 | 2016-06-20 11:27:36 +0200 | [diff] [blame] | 3169 | DTB) appended to raw vmlinux.bin or vmlinuz.bin. |
Jonas Gorski | 1da8f17 | 2015-04-12 12:24:58 +0200 | [diff] [blame] | 3170 | (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb). |
| 3171 | |
| 3172 | This is meant as a backward compatibility convenience for those |
| 3173 | systems with a bootloader that can't be upgraded to accommodate |
| 3174 | the documented boot protocol using a device tree. |
| 3175 | |
| 3176 | Beware that there is very little in terms of protection against |
| 3177 | this option being confused by leftover garbage in memory that might |
| 3178 | look like a DTB header after a reboot if no actual DTB is appended |
| 3179 | to vmlinux.bin. Do not leave this option active in a production kernel |
| 3180 | if you don't intend to always append a DTB. |
| 3181 | endchoice |
| 3182 | |
Jonas Gorski | 2024972 | 2015-10-12 13:13:02 +0200 | [diff] [blame] | 3183 | choice |
| 3184 | prompt "Kernel command line type" if !CMDLINE_OVERRIDE |
Jonas Gorski | 2bcef9b | 2015-10-12 13:13:03 +0200 | [diff] [blame] | 3185 | default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \ |
Jiaxun Yang | 87fcfa7 | 2020-03-25 11:55:02 +0800 | [diff] [blame] | 3186 | !MACH_LOONGSON64 && !MIPS_MALTA && \ |
Jonas Gorski | 2bcef9b | 2015-10-12 13:13:03 +0200 | [diff] [blame] | 3187 | !CAVIUM_OCTEON_SOC |
Jonas Gorski | 2024972 | 2015-10-12 13:13:02 +0200 | [diff] [blame] | 3188 | default MIPS_CMDLINE_FROM_BOOTLOADER |
| 3189 | |
| 3190 | config MIPS_CMDLINE_FROM_DTB |
| 3191 | depends on USE_OF |
| 3192 | bool "Dtb kernel arguments if available" |
| 3193 | |
| 3194 | config MIPS_CMDLINE_DTB_EXTEND |
| 3195 | depends on USE_OF |
| 3196 | bool "Extend dtb kernel arguments with bootloader arguments" |
| 3197 | |
| 3198 | config MIPS_CMDLINE_FROM_BOOTLOADER |
| 3199 | bool "Bootloader kernel arguments if available" |
Rabin Vincent | ed47e15 | 2016-04-28 11:03:09 +0200 | [diff] [blame] | 3200 | |
| 3201 | config MIPS_CMDLINE_BUILTIN_EXTEND |
| 3202 | depends on CMDLINE_BOOL |
| 3203 | bool "Extend builtin kernel arguments with bootloader arguments" |
Jonas Gorski | 2024972 | 2015-10-12 13:13:02 +0200 | [diff] [blame] | 3204 | endchoice |
| 3205 | |
Ralf Baechle | 5e83d43 | 2005-10-29 19:32:41 +0100 | [diff] [blame] | 3206 | endmenu |
| 3207 | |
Atsushi Nemoto | 1df0f0f | 2006-09-26 23:44:01 +0900 | [diff] [blame] | 3208 | config LOCKDEP_SUPPORT |
| 3209 | bool |
| 3210 | default y |
| 3211 | |
| 3212 | config STACKTRACE_SUPPORT |
| 3213 | bool |
| 3214 | default y |
| 3215 | |
Kirill A. Shutemov | a728ab5 | 2015-04-14 15:45:51 -0700 | [diff] [blame] | 3216 | config PGTABLE_LEVELS |
| 3217 | int |
Alex Belits | 3377e22 | 2017-02-16 17:27:34 -0800 | [diff] [blame] | 3218 | default 4 if PAGE_SIZE_4KB && MIPS_VA_BITS_48 |
Kirill A. Shutemov | a728ab5 | 2015-04-14 15:45:51 -0700 | [diff] [blame] | 3219 | default 3 if 64BIT && !PAGE_SIZE_64KB |
| 3220 | default 2 |
| 3221 | |
Paul Burton | 6c359eb | 2018-07-27 18:23:20 -0700 | [diff] [blame] | 3222 | config MIPS_AUTO_PFN_OFFSET |
| 3223 | bool |
| 3224 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3225 | menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" |
| 3226 | |
Paul Burton | c5611df | 2016-10-05 18:18:12 +0100 | [diff] [blame] | 3227 | config PCI_DRIVERS_GENERIC |
Christoph Hellwig | 2eac9c2 | 2018-11-15 20:05:33 +0100 | [diff] [blame] | 3228 | select PCI_DOMAINS_GENERIC if PCI |
Paul Burton | c5611df | 2016-10-05 18:18:12 +0100 | [diff] [blame] | 3229 | bool |
| 3230 | |
| 3231 | config PCI_DRIVERS_LEGACY |
| 3232 | def_bool !PCI_DRIVERS_GENERIC |
| 3233 | select NO_GENERIC_PCI_IOPORT_MAP |
Christoph Hellwig | 2eac9c2 | 2018-11-15 20:05:33 +0100 | [diff] [blame] | 3234 | select PCI_DOMAINS if PCI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3235 | |
| 3236 | # |
| 3237 | # ISA support is now enabled via select. Too many systems still have the one |
| 3238 | # or other ISA chip on the board that users don't know about so don't expect |
| 3239 | # users to choose the right thing ... |
| 3240 | # |
| 3241 | config ISA |
| 3242 | bool |
| 3243 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3244 | config TC |
| 3245 | bool "TURBOchannel support" |
| 3246 | depends on MACH_DECSTATION |
| 3247 | help |
Justin P. Mattock | 50a23e6 | 2010-10-16 10:36:23 -0700 | [diff] [blame] | 3248 | TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS |
| 3249 | processors. TURBOchannel programming specifications are available |
| 3250 | at: |
| 3251 | <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/> |
| 3252 | and: |
| 3253 | <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/> |
| 3254 | Linux driver support status is documented at: |
| 3255 | <http://www.linux-mips.org/wiki/DECstation> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3256 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3257 | config MMU |
| 3258 | bool |
| 3259 | default y |
| 3260 | |
Matt Redfearn | 109c32f | 2016-11-24 17:32:45 +0000 | [diff] [blame] | 3261 | config ARCH_MMAP_RND_BITS_MIN |
| 3262 | default 12 if 64BIT |
| 3263 | default 8 |
| 3264 | |
| 3265 | config ARCH_MMAP_RND_BITS_MAX |
| 3266 | default 18 if 64BIT |
| 3267 | default 15 |
| 3268 | |
| 3269 | config ARCH_MMAP_RND_COMPAT_BITS_MIN |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 3270 | default 8 |
Matt Redfearn | 109c32f | 2016-11-24 17:32:45 +0000 | [diff] [blame] | 3271 | |
| 3272 | config ARCH_MMAP_RND_COMPAT_BITS_MAX |
Enrico Weigelt, metux IT consult | 371a415 | 2019-03-11 16:54:27 +0100 | [diff] [blame] | 3273 | default 15 |
Matt Redfearn | 109c32f | 2016-11-24 17:32:45 +0000 | [diff] [blame] | 3274 | |
Ralf Baechle | d865bea | 2007-10-11 23:46:10 +0100 | [diff] [blame] | 3275 | config I8253 |
| 3276 | bool |
Russell King | 798778b | 2011-05-08 19:03:03 +0100 | [diff] [blame] | 3277 | select CLKSRC_I8253 |
Thomas Gleixner | 2d02612 | 2011-06-09 13:08:27 +0000 | [diff] [blame] | 3278 | select CLKEVT_I8253 |
Wu Zhangjin | 9726b43 | 2009-11-17 01:32:58 +0800 | [diff] [blame] | 3279 | select MIPS_EXTERNAL_TIMER |
Ralf Baechle | d865bea | 2007-10-11 23:46:10 +0100 | [diff] [blame] | 3280 | |
Ralf Baechle | e05eb3f | 2013-06-12 10:54:11 +0200 | [diff] [blame] | 3281 | config ZONE_DMA |
| 3282 | bool |
| 3283 | |
Ralf Baechle | cce335a | 2007-11-03 02:05:43 +0000 | [diff] [blame] | 3284 | config ZONE_DMA32 |
| 3285 | bool |
| 3286 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3287 | endmenu |
| 3288 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3289 | config TRAD_SIGNALS |
| 3290 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3291 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3292 | config MIPS32_COMPAT |
Ralf Baechle | 78aaf95 | 2014-12-19 01:18:03 +0100 | [diff] [blame] | 3293 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3294 | |
| 3295 | config COMPAT |
| 3296 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3297 | |
Atsushi Nemoto | 05e4396 | 2006-11-07 18:02:44 +0900 | [diff] [blame] | 3298 | config SYSVIPC_COMPAT |
| 3299 | bool |
Atsushi Nemoto | 05e4396 | 2006-11-07 18:02:44 +0900 | [diff] [blame] | 3300 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3301 | config MIPS32_O32 |
| 3302 | bool "Kernel support for o32 binaries" |
Ralf Baechle | 78aaf95 | 2014-12-19 01:18:03 +0100 | [diff] [blame] | 3303 | depends on 64BIT |
| 3304 | select ARCH_WANT_OLD_COMPAT_IPC |
| 3305 | select COMPAT |
| 3306 | select MIPS32_COMPAT |
| 3307 | select SYSVIPC_COMPAT if SYSVIPC |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3308 | help |
| 3309 | Select this option if you want to run o32 binaries. These are pure |
| 3310 | 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of |
| 3311 | existing binaries are in this format. |
| 3312 | |
| 3313 | If unsure, say Y. |
| 3314 | |
| 3315 | config MIPS32_N32 |
| 3316 | bool "Kernel support for n32 binaries" |
Ralf Baechle | c22eacf | 2015-01-03 12:10:23 +0100 | [diff] [blame] | 3317 | depends on 64BIT |
Arnd Bergmann | 5a9372f | 2019-01-10 17:24:31 +0100 | [diff] [blame] | 3318 | select ARCH_WANT_COMPAT_IPC_PARSE_VERSION |
Ralf Baechle | 78aaf95 | 2014-12-19 01:18:03 +0100 | [diff] [blame] | 3319 | select COMPAT |
| 3320 | select MIPS32_COMPAT |
| 3321 | select SYSVIPC_COMPAT if SYSVIPC |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3322 | help |
| 3323 | Select this option if you want to run n32 binaries. These are |
| 3324 | 64-bit binaries using 32-bit quantities for addressing and certain |
| 3325 | data that would normally be 64-bit. They are used in special |
| 3326 | cases. |
| 3327 | |
| 3328 | If unsure, say N. |
| 3329 | |
Ralf Baechle | 2116245 | 2007-02-09 17:08:58 +0000 | [diff] [blame] | 3330 | menu "Power management options" |
Rodolfo Giometti | 952fa95 | 2006-06-05 17:43:10 +0200 | [diff] [blame] | 3331 | |
Wu Zhangjin | 363c55c | 2009-06-04 20:27:10 +0800 | [diff] [blame] | 3332 | config ARCH_HIBERNATION_POSSIBLE |
| 3333 | def_bool y |
Ralf Baechle | 3f5b3e1 | 2009-07-02 11:48:07 +0100 | [diff] [blame] | 3334 | depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP |
Wu Zhangjin | 363c55c | 2009-06-04 20:27:10 +0800 | [diff] [blame] | 3335 | |
Johannes Berg | f4cb570 | 2007-12-08 02:14:00 +0100 | [diff] [blame] | 3336 | config ARCH_SUSPEND_POSSIBLE |
| 3337 | def_bool y |
Ralf Baechle | 3f5b3e1 | 2009-07-02 11:48:07 +0100 | [diff] [blame] | 3338 | depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP |
Johannes Berg | f4cb570 | 2007-12-08 02:14:00 +0100 | [diff] [blame] | 3339 | |
Ralf Baechle | 2116245 | 2007-02-09 17:08:58 +0000 | [diff] [blame] | 3340 | source "kernel/power/Kconfig" |
Rodolfo Giometti | 952fa95 | 2006-06-05 17:43:10 +0200 | [diff] [blame] | 3341 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3342 | endmenu |
| 3343 | |
Viresh Kumar | 7a99893 | 2013-04-04 12:54:21 +0000 | [diff] [blame] | 3344 | config MIPS_EXTERNAL_TIMER |
| 3345 | bool |
| 3346 | |
Viresh Kumar | 7a99893 | 2013-04-04 12:54:21 +0000 | [diff] [blame] | 3347 | menu "CPU Power Management" |
Paul Burton | c095eba | 2014-04-14 16:24:22 +0100 | [diff] [blame] | 3348 | |
| 3349 | if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER |
Viresh Kumar | 7a99893 | 2013-04-04 12:54:21 +0000 | [diff] [blame] | 3350 | source "drivers/cpufreq/Kconfig" |
Viresh Kumar | 7a99893 | 2013-04-04 12:54:21 +0000 | [diff] [blame] | 3351 | endif |
Wu Zhangjin | 9726b43 | 2009-11-17 01:32:58 +0800 | [diff] [blame] | 3352 | |
Paul Burton | c095eba | 2014-04-14 16:24:22 +0100 | [diff] [blame] | 3353 | source "drivers/cpuidle/Kconfig" |
| 3354 | |
| 3355 | endmenu |
| 3356 | |
Ralf Baechle | 98cdee0 | 2012-11-15 10:35:42 +0100 | [diff] [blame] | 3357 | source "drivers/firmware/Kconfig" |
| 3358 | |
Sanjay Lal | 2235a54 | 2012-11-21 18:33:59 -0800 | [diff] [blame] | 3359 | source "arch/mips/kvm/Kconfig" |
Nathan Chancellor | e91946d | 2020-04-28 15:14:16 -0700 | [diff] [blame] | 3360 | |
| 3361 | source "arch/mips/vdso/Kconfig" |