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 SUPERH |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 3 | def_bool y |
Christoph Hellwig | aef0f78 | 2019-06-13 09:08:57 +0200 | [diff] [blame] | 4 | select ARCH_HAS_BINFMT_FLAT if !MMU |
Laurent Dufour | 3010a5e | 2018-06-07 17:06:08 -0700 | [diff] [blame] | 5 | select ARCH_HAS_PTE_SPECIAL |
Rich Felker | 45624ac | 2016-02-12 22:05:11 +0000 | [diff] [blame] | 6 | select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST |
Mark Salter | 09d8dd9 | 2013-10-07 22:15:58 -0400 | [diff] [blame] | 7 | select ARCH_MIGHT_HAVE_PC_PARPORT |
Rob Landley | 560b8c0 | 2015-02-10 14:08:35 -0800 | [diff] [blame] | 8 | select HAVE_PATA_PLATFORM |
Jean-Christop PLAGNIOL-VILLARD | 6d803ba | 2010-11-17 10:04:33 +0100 | [diff] [blame] | 9 | select CLKDEV_LOOKUP |
Christoph Hellwig | ff4c25f | 2019-02-03 20:12:02 +0100 | [diff] [blame] | 10 | select DMA_DECLARE_COHERENT |
Uwe Kleine-König | ce816fa | 2014-04-07 15:39:19 -0700 | [diff] [blame] | 11 | select HAVE_IDE if HAS_IOPORT_MAP |
Tejun Heo | 534cfbe | 2011-12-08 10:22:08 -0800 | [diff] [blame] | 12 | select HAVE_MEMBLOCK_NODE_MAP |
Mathieu Desnoyers | 42d4b83 | 2008-02-02 15:10:34 -0500 | [diff] [blame] | 13 | select HAVE_OPROFILE |
Paul Mundt | d7b01f7 | 2008-12-10 20:17:15 +0900 | [diff] [blame] | 14 | select HAVE_ARCH_TRACEHOOK |
Ingo Molnar | cdd6c48 | 2009-09-21 12:02:48 +0200 | [diff] [blame] | 15 | select HAVE_PERF_EVENTS |
Catalin Marinas | 9b2a60c | 2012-10-08 16:28:13 -0700 | [diff] [blame] | 16 | select HAVE_DEBUG_BUGVERBOSE |
Christoph Hellwig | 67a929e | 2019-07-11 20:57:14 -0700 | [diff] [blame] | 17 | select HAVE_FAST_GUP if MMU |
Mark Brown | 7563bbf | 2012-04-15 10:52:54 +0100 | [diff] [blame] | 18 | select ARCH_HAVE_CUSTOM_GPIO_H |
Huang Ying | df013ff | 2011-07-13 13:14:22 +0800 | [diff] [blame] | 19 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) |
Riku Voipio | 957e3fa | 2014-12-12 16:57:44 -0800 | [diff] [blame] | 20 | select ARCH_HAS_GCOV_PROFILE_ALL |
Paul Mundt | 72f0c13 | 2009-10-27 17:08:55 +0900 | [diff] [blame] | 21 | select PERF_USE_VMALLOC |
Catalin Marinas | b69ec42 | 2012-10-08 16:28:11 -0700 | [diff] [blame] | 22 | select HAVE_DEBUG_KMEMLEAK |
Paul Mundt | df8ce25 | 2009-07-12 01:37:30 +0900 | [diff] [blame] | 23 | select HAVE_KERNEL_GZIP |
Zhaoxiu Zeng | fff7fb0 | 2016-05-20 17:03:57 -0700 | [diff] [blame] | 24 | select CPU_NO_EFFICIENT_FFS |
Paul Mundt | 07e88e1 | 2009-07-11 13:21:19 -0400 | [diff] [blame] | 25 | select HAVE_KERNEL_BZIP2 |
| 26 | select HAVE_KERNEL_LZMA |
Paul Mundt | 50cfa79 | 2011-01-14 15:52:54 +0900 | [diff] [blame] | 27 | select HAVE_KERNEL_XZ |
Paul Mundt | c7b16ef | 2010-01-13 13:29:19 +0900 | [diff] [blame] | 28 | select HAVE_KERNEL_LZO |
Catalin Marinas | af1839e | 2012-10-08 16:28:08 -0700 | [diff] [blame] | 29 | select HAVE_UID16 |
Will Deacon | c1d7e01 | 2012-07-30 14:42:46 -0700 | [diff] [blame] | 30 | select ARCH_WANT_IPC_PARSE_VERSION |
Paul Mundt | a74f7e0 | 2009-09-16 14:30:34 +0900 | [diff] [blame] | 31 | select HAVE_SYSCALL_TRACEPOINTS |
Paul Mundt | eaaaeef | 2010-06-14 15:16:53 +0900 | [diff] [blame] | 32 | select HAVE_REGS_AND_STACK_ACCESS_API |
Rob Herring | 2ed86b1 | 2012-01-25 20:02:40 -0600 | [diff] [blame] | 33 | select MAY_HAVE_SPARSE_IRQ |
Paul Mundt | ed17092 | 2011-04-18 11:45:27 +0900 | [diff] [blame] | 34 | select IRQ_FORCED_THREADING |
Paul Mundt | 6eac1af | 2009-05-08 19:48:47 +0900 | [diff] [blame] | 35 | select RTC_LIB |
Paul Mundt | f01789c | 2009-06-17 10:43:13 +0900 | [diff] [blame] | 36 | select GENERIC_ATOMIC64 |
Paul Mundt | 3d44ae4 | 2011-03-17 17:31:51 +0900 | [diff] [blame] | 37 | select GENERIC_IRQ_SHOW |
Thomas Gleixner | ea0588c | 2012-04-20 13:05:54 +0000 | [diff] [blame] | 38 | select GENERIC_SMP_IDLE_THREAD |
Thomas Gleixner | dc775dd | 2013-03-21 22:49:59 +0100 | [diff] [blame] | 39 | select GENERIC_IDLE_POLL_SETUP |
Anna-Maria Gleixner | 8cf200d | 2012-05-18 16:45:53 +0000 | [diff] [blame] | 40 | select GENERIC_CLOCKEVENTS |
| 41 | select GENERIC_CMOS_UPDATE if SH_SH03 || SH_DREAMCAST |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 42 | select GENERIC_PCI_IOMAP if PCI |
Rich Felker | b46ed37 | 2016-05-26 22:18:52 +0000 | [diff] [blame] | 43 | select GENERIC_SCHED_CLOCK |
Paul Mundt | 0e100e1 | 2012-05-25 13:02:48 +0900 | [diff] [blame] | 44 | select GENERIC_STRNCPY_FROM_USER |
Paul Mundt | cba8df4 | 2012-06-04 15:46:05 +0900 | [diff] [blame] | 45 | select GENERIC_STRNLEN_USER |
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 46 | select HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER |
| 47 | select MODULES_USE_ELF_RELA |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 48 | select NO_GENERIC_PCI_IOPORT_MAP if PCI |
Al Viro | 881e252 | 2012-12-25 16:20:46 -0500 | [diff] [blame] | 49 | select OLD_SIGSUSPEND |
Al Viro | 0679a85 | 2012-12-25 19:23:55 -0500 | [diff] [blame] | 50 | select OLD_SIGACTION |
Christoph Hellwig | eb01d42 | 2018-11-15 20:05:32 +0100 | [diff] [blame] | 51 | select PCI_DOMAINS if PCI |
AKASHI Takahiro | 7a01772 | 2014-02-25 18:16:24 +0900 | [diff] [blame] | 52 | select HAVE_ARCH_AUDITSYSCALL |
Rich Felker | 72cc564 | 2016-07-15 03:46:52 +0000 | [diff] [blame] | 53 | select HAVE_FUTEX_CMPXCHG if FUTEX |
Petr Mladek | 42a0bb3 | 2016-05-20 17:00:33 -0700 | [diff] [blame] | 54 | select HAVE_NMI |
Christoph Hellwig | 86596f0 | 2018-04-05 09:44:52 +0200 | [diff] [blame] | 55 | select NEED_SG_DMA_LENGTH |
Alexandre Ghiti | 4eb0716 | 2019-05-13 17:19:04 -0700 | [diff] [blame] | 56 | select ARCH_HAS_GIGANTIC_PAGE |
Christoph Hellwig | 86596f0 | 2018-04-05 09:44:52 +0200 | [diff] [blame] | 57 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | help |
| 59 | The SuperH is a RISC processor targeted for use in embedded systems |
| 60 | and consumer electronics; it was also used in the Sega Dreamcast |
| 61 | gaming console. The SuperH port has a home page at |
| 62 | <http://www.linux-sh.org/>. |
| 63 | |
Paul Mundt | 39d28a2 | 2007-11-08 18:39:33 +0900 | [diff] [blame] | 64 | config SUPERH32 |
Masahiro Yamada | 104daea | 2018-05-28 18:21:40 +0900 | [diff] [blame] | 65 | def_bool "$(ARCH)" = "sh" |
Yury Norov | 942fa98 | 2018-05-16 11:18:49 +0300 | [diff] [blame] | 66 | select ARCH_32BIT_OFF_T |
Christoph Hellwig | 3c9b9ac | 2019-07-11 20:57:00 -0700 | [diff] [blame] | 67 | select GUP_GET_PTE_LOW_HIGH if X2TLB |
Chris Smith | d39f545 | 2008-09-05 17:15:39 +0900 | [diff] [blame] | 68 | select HAVE_KPROBES |
| 69 | select HAVE_KRETPROBES |
Paul Mundt | 6d63e73 | 2010-01-19 14:00:14 +0900 | [diff] [blame] | 70 | select HAVE_IOREMAP_PROT if MMU && !X2TLB |
Paul Mundt | 694f94f | 2008-10-31 16:20:36 +0900 | [diff] [blame] | 71 | select HAVE_FUNCTION_TRACER |
Matt Fleming | fad57fe | 2008-11-12 20:11:47 +0900 | [diff] [blame] | 72 | select HAVE_FTRACE_MCOUNT_RECORD |
| 73 | select HAVE_DYNAMIC_FTRACE |
Paul Mundt | e4b053d | 2009-10-13 16:52:50 +0900 | [diff] [blame] | 74 | select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE |
Will Deacon | c1d7e01 | 2012-07-30 14:42:46 -0700 | [diff] [blame] | 75 | select ARCH_WANT_IPC_PARSE_VERSION |
Matt Fleming | 327933f | 2009-07-11 00:29:03 +0000 | [diff] [blame] | 76 | select HAVE_FUNCTION_GRAPH_TRACER |
Paul Mundt | ab6e570 | 2008-12-11 18:46:46 +0900 | [diff] [blame] | 77 | select HAVE_ARCH_KGDB |
Paul Mundt | 6fbfe8d | 2010-01-06 15:46:53 +0900 | [diff] [blame] | 78 | select HAVE_HW_BREAKPOINT |
Frederic Weisbecker | 0102752 | 2010-04-11 18:55:56 +0200 | [diff] [blame] | 79 | select HAVE_MIXED_BREAKPOINTS_REGS |
Sam Ravnborg | e583d6b | 2010-08-14 12:23:39 +0000 | [diff] [blame] | 80 | select PERF_EVENTS |
Paul Mundt | 8dafc34 | 2009-04-02 11:56:38 +0900 | [diff] [blame] | 81 | select ARCH_HIBERNATION_POSSIBLE if MMU |
Paul Mundt | 57b8133 | 2010-10-26 15:20:51 +0900 | [diff] [blame] | 82 | select SPARSE_IRQ |
Masahiro Yamada | d148eac | 2018-06-14 19:36:45 +0900 | [diff] [blame] | 83 | select HAVE_STACKPROTECTOR |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 84 | |
| 85 | config SUPERH64 |
Masahiro Yamada | 104daea | 2018-05-28 18:21:40 +0900 | [diff] [blame] | 86 | def_bool "$(ARCH)" = "sh64" |
Jiri Slaby | 5f56a5d | 2016-05-20 17:00:16 -0700 | [diff] [blame] | 87 | select HAVE_EXIT_THREAD |
Paul Mundt | 3a898c0 | 2012-05-24 15:05:29 +0900 | [diff] [blame] | 88 | select KALLSYMS |
Paul Mundt | 39d28a2 | 2007-11-08 18:39:33 +0900 | [diff] [blame] | 89 | |
Paul Mundt | f42b7e3 | 2008-07-29 20:12:51 +0900 | [diff] [blame] | 90 | config ARCH_DEFCONFIG |
| 91 | string |
| 92 | default "arch/sh/configs/shx3_defconfig" if SUPERH32 |
| 93 | default "arch/sh/configs/cayman_defconfig" if SUPERH64 |
| 94 | |
Paul Mundt | fa69151 | 2007-03-08 19:41:21 +0900 | [diff] [blame] | 95 | config GENERIC_BUG |
| 96 | def_bool y |
Paul Mundt | a82d53e | 2007-11-21 18:22:05 +0900 | [diff] [blame] | 97 | depends on BUG && SUPERH32 |
Paul Mundt | fa69151 | 2007-03-08 19:41:21 +0900 | [diff] [blame] | 98 | |
Paul Mundt | 3767f3f | 2009-06-15 00:00:42 +0900 | [diff] [blame] | 99 | config GENERIC_CSUM |
| 100 | def_bool y |
| 101 | depends on SUPERH64 |
| 102 | |
Akinobu Mita | e2268c7 | 2006-03-26 01:39:35 -0800 | [diff] [blame] | 103 | config GENERIC_HWEIGHT |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 104 | def_bool y |
Akinobu Mita | e2268c7 | 2006-03-26 01:39:35 -0800 | [diff] [blame] | 105 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 106 | config GENERIC_CALIBRATE_DELAY |
Paul Mundt | cf204fa | 2008-09-08 20:47:42 +0900 | [diff] [blame] | 107 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 108 | |
Paul Mundt | bdcab87 | 2008-08-04 14:09:15 +0900 | [diff] [blame] | 109 | config GENERIC_LOCKBREAK |
| 110 | def_bool y |
Thomas Gleixner | 7be60cc | 2019-10-15 21:18:05 +0200 | [diff] [blame^] | 111 | depends on SMP && PREEMPTION |
Paul Mundt | bdcab87 | 2008-08-04 14:09:15 +0900 | [diff] [blame] | 112 | |
Magnus Damm | af998a9 | 2008-12-04 22:45:12 +0900 | [diff] [blame] | 113 | config ARCH_SUSPEND_POSSIBLE |
| 114 | def_bool n |
| 115 | |
| 116 | config ARCH_HIBERNATION_POSSIBLE |
| 117 | def_bool n |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 118 | |
Paul Mundt | 0a9b0db | 2007-01-24 21:56:20 +0900 | [diff] [blame] | 119 | config SYS_SUPPORTS_APM_EMULATION |
| 120 | bool |
Magnus Damm | af998a9 | 2008-12-04 22:45:12 +0900 | [diff] [blame] | 121 | select ARCH_SUSPEND_POSSIBLE |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 122 | |
Paul Mundt | ffb4a73 | 2009-10-27 07:22:37 +0900 | [diff] [blame] | 123 | config SYS_SUPPORTS_HUGETLBFS |
| 124 | bool |
| 125 | |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 126 | config SYS_SUPPORTS_SMP |
| 127 | bool |
| 128 | |
| 129 | config SYS_SUPPORTS_NUMA |
| 130 | bool |
| 131 | |
Paul Mundt | afbfb52 | 2006-12-04 18:17:28 +0900 | [diff] [blame] | 132 | config STACKTRACE_SUPPORT |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 133 | def_bool y |
Paul Mundt | afbfb52 | 2006-12-04 18:17:28 +0900 | [diff] [blame] | 134 | |
| 135 | config LOCKDEP_SUPPORT |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 136 | def_bool y |
Paul Mundt | afbfb52 | 2006-12-04 18:17:28 +0900 | [diff] [blame] | 137 | |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 138 | config ARCH_HAS_ILOG2_U32 |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 139 | def_bool n |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 140 | |
| 141 | config ARCH_HAS_ILOG2_U64 |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 142 | def_bool n |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 143 | |
Uwe Kleine-König | ce816fa | 2014-04-07 15:39:19 -0700 | [diff] [blame] | 144 | config NO_IOPORT_MAP |
Paul Mundt | 37b7a97 | 2010-11-01 09:49:04 -0400 | [diff] [blame] | 145 | def_bool !PCI |
Paul Mundt | c30b9c4 | 2012-05-21 18:19:18 +0900 | [diff] [blame] | 146 | depends on !SH_CAYMAN && !SH_SH4202_MICRODEV && !SH_SHMIN && \ |
| 147 | !SH_HP6XX && !SH_SOLUTION_ENGINE |
Paul Mundt | 86e4dd5 | 2010-05-25 20:06:13 +0900 | [diff] [blame] | 148 | |
Magnus Damm | e7cc9a7 | 2008-02-07 20:18:21 +0900 | [diff] [blame] | 149 | config IO_TRAPPED |
| 150 | bool |
| 151 | |
Paul Mundt | b7e68d6 | 2012-03-29 16:05:10 +0900 | [diff] [blame] | 152 | config SWAP_IO_SPACE |
| 153 | bool |
| 154 | |
Paul Mundt | 01be5d6 | 2009-10-27 10:35:02 +0900 | [diff] [blame] | 155 | config DMA_COHERENT |
| 156 | bool |
| 157 | |
| 158 | config DMA_NONCOHERENT |
| 159 | def_bool !DMA_COHERENT |
Christoph Hellwig | 6fa1d28 | 2018-05-11 08:36:53 +0200 | [diff] [blame] | 160 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE |
Paul Mundt | 01be5d6 | 2009-10-27 10:35:02 +0900 | [diff] [blame] | 161 | |
Kirill A. Shutemov | 69543d6 | 2015-04-14 15:46:02 -0700 | [diff] [blame] | 162 | config PGTABLE_LEVELS |
| 163 | default 3 if X2TLB |
| 164 | default 2 |
| 165 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 166 | menu "System type" |
| 167 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 168 | # |
| 169 | # Processor families |
| 170 | # |
| 171 | config CPU_SH2 |
| 172 | bool |
Geert Uytterhoeven | 049d280 | 2014-08-20 15:39:22 +0200 | [diff] [blame] | 173 | select SH_INTC |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 174 | |
| 175 | config CPU_SH2A |
| 176 | bool |
| 177 | select CPU_SH2 |
Paul Mundt | e2fcf74 | 2010-11-04 12:32:24 +0900 | [diff] [blame] | 178 | select UNCACHED_MAPPING |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 179 | |
Rich Felker | 5a846ab | 2016-03-17 23:09:37 +0000 | [diff] [blame] | 180 | config CPU_J2 |
| 181 | bool |
| 182 | select CPU_SH2 |
| 183 | select OF |
| 184 | select OF_EARLY_FLATTREE |
| 185 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 186 | config CPU_SH3 |
| 187 | bool |
| 188 | select CPU_HAS_INTEVT |
| 189 | select CPU_HAS_SR_RB |
Geert Uytterhoeven | 049d280 | 2014-08-20 15:39:22 +0200 | [diff] [blame] | 190 | select SH_INTC |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 191 | select SYS_SUPPORTS_SH_TMU |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 192 | |
| 193 | config CPU_SH4 |
| 194 | bool |
| 195 | select CPU_HAS_INTEVT |
| 196 | select CPU_HAS_SR_RB |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 197 | select CPU_HAS_FPU if !CPU_SH4AL_DSP |
Geert Uytterhoeven | 049d280 | 2014-08-20 15:39:22 +0200 | [diff] [blame] | 198 | select SH_INTC |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 199 | select SYS_SUPPORTS_SH_TMU |
Paul Mundt | ffb4a73 | 2009-10-27 07:22:37 +0900 | [diff] [blame] | 200 | select SYS_SUPPORTS_HUGETLBFS if MMU |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 201 | |
| 202 | config CPU_SH4A |
| 203 | bool |
| 204 | select CPU_SH4 |
| 205 | |
| 206 | config CPU_SH4AL_DSP |
| 207 | bool |
| 208 | select CPU_SH4A |
| 209 | select CPU_HAS_DSP |
| 210 | |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 211 | config CPU_SH5 |
| 212 | bool |
| 213 | select CPU_HAS_FPU |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 214 | select SYS_SUPPORTS_SH_TMU |
Paul Mundt | ffb4a73 | 2009-10-27 07:22:37 +0900 | [diff] [blame] | 215 | select SYS_SUPPORTS_HUGETLBFS if MMU |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 216 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 217 | config CPU_SHX2 |
| 218 | bool |
| 219 | |
| 220 | config CPU_SHX3 |
| 221 | bool |
Paul Mundt | 01be5d6 | 2009-10-27 10:35:02 +0900 | [diff] [blame] | 222 | select DMA_COHERENT |
Paul Mundt | 4b478ee | 2010-05-11 15:24:04 +0900 | [diff] [blame] | 223 | select SYS_SUPPORTS_SMP |
| 224 | select SYS_SUPPORTS_NUMA |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 225 | |
Paul Mundt | dc65a97 | 2009-03-10 16:26:29 +0900 | [diff] [blame] | 226 | config ARCH_SHMOBILE |
| 227 | bool |
Magnus Damm | 7759491 | 2009-03-13 15:23:04 +0000 | [diff] [blame] | 228 | select ARCH_SUSPEND_POSSIBLE |
Rafael J. Wysocki | 464ed18 | 2014-12-19 15:37:54 +0100 | [diff] [blame] | 229 | select PM |
Paul Mundt | dc65a97 | 2009-03-10 16:26:29 +0900 | [diff] [blame] | 230 | |
Matt Fleming | 86c8c04 | 2010-09-10 20:36:23 +0100 | [diff] [blame] | 231 | config CPU_HAS_PMU |
| 232 | depends on CPU_SH4 || CPU_SH4A |
| 233 | default y |
| 234 | bool |
| 235 | |
Paul Mundt | 3cc000b | 2009-04-11 08:39:27 +0900 | [diff] [blame] | 236 | if SUPERH32 |
| 237 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 238 | choice |
| 239 | prompt "Processor sub-type selection" |
| 240 | |
| 241 | # |
| 242 | # Processor subtypes |
| 243 | # |
| 244 | |
| 245 | # SH-2 Processor Support |
| 246 | |
| 247 | config CPU_SUBTYPE_SH7619 |
| 248 | bool "Support SH7619 processor" |
| 249 | select CPU_SH2 |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 250 | select SYS_SUPPORTS_SH_CMT |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 251 | |
Rich Felker | 5a846ab | 2016-03-17 23:09:37 +0000 | [diff] [blame] | 252 | config CPU_SUBTYPE_J2 |
| 253 | bool "Support J2 processor" |
| 254 | select CPU_J2 |
Rich Felker | b4214e4 | 2016-02-15 18:36:13 +0000 | [diff] [blame] | 255 | select SYS_SUPPORTS_SMP |
| 256 | select GENERIC_CLOCKEVENTS_BROADCAST if SMP |
Rich Felker | 5a846ab | 2016-03-17 23:09:37 +0000 | [diff] [blame] | 257 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 258 | # SH-2A Processor Support |
| 259 | |
Peter Griffin | 2825999 | 2008-11-28 22:48:20 +0900 | [diff] [blame] | 260 | config CPU_SUBTYPE_SH7201 |
| 261 | bool "Support SH7201 processor" |
| 262 | select CPU_SH2A |
| 263 | select CPU_HAS_FPU |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 264 | select SYS_SUPPORTS_SH_MTU2 |
Peter Griffin | 2825999 | 2008-11-28 22:48:20 +0900 | [diff] [blame] | 265 | |
Paul Mundt | 6d01f51 | 2007-11-26 18:17:21 +0900 | [diff] [blame] | 266 | config CPU_SUBTYPE_SH7203 |
| 267 | bool "Support SH7203 processor" |
| 268 | select CPU_SH2A |
Paul Mundt | 74d99a5 | 2007-11-26 20:38:36 +0900 | [diff] [blame] | 269 | select CPU_HAS_FPU |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 270 | select SYS_SUPPORTS_SH_CMT |
| 271 | select SYS_SUPPORTS_SH_MTU2 |
Laurent Pinchart | b768ecbc | 2012-12-15 23:51:05 +0100 | [diff] [blame] | 272 | select PINCTRL |
Paul Mundt | 6d01f51 | 2007-11-26 18:17:21 +0900 | [diff] [blame] | 273 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 274 | config CPU_SUBTYPE_SH7206 |
| 275 | bool "Support SH7206 processor" |
| 276 | select CPU_SH2A |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 277 | select SYS_SUPPORTS_SH_CMT |
| 278 | select SYS_SUPPORTS_SH_MTU2 |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 279 | |
Paul Mundt | a8f67f4 | 2007-11-26 19:54:02 +0900 | [diff] [blame] | 280 | config CPU_SUBTYPE_SH7263 |
| 281 | bool "Support SH7263 processor" |
| 282 | select CPU_SH2A |
Paul Mundt | 74d99a5 | 2007-11-26 20:38:36 +0900 | [diff] [blame] | 283 | select CPU_HAS_FPU |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 284 | select SYS_SUPPORTS_SH_CMT |
| 285 | select SYS_SUPPORTS_SH_MTU2 |
Paul Mundt | a8f67f4 | 2007-11-26 19:54:02 +0900 | [diff] [blame] | 286 | |
Phil Edworthy | 51ce306 | 2012-05-09 07:59:27 +0100 | [diff] [blame] | 287 | config CPU_SUBTYPE_SH7264 |
| 288 | bool "Support SH7264 processor" |
| 289 | select CPU_SH2A |
| 290 | select CPU_HAS_FPU |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 291 | select SYS_SUPPORTS_SH_CMT |
| 292 | select SYS_SUPPORTS_SH_MTU2 |
Laurent Pinchart | 5946e7b | 2012-12-15 23:51:06 +0100 | [diff] [blame] | 293 | select PINCTRL |
Phil Edworthy | 51ce306 | 2012-05-09 07:59:27 +0100 | [diff] [blame] | 294 | |
Phil Edworthy | 0b25b7c | 2012-05-10 09:26:52 +0100 | [diff] [blame] | 295 | config CPU_SUBTYPE_SH7269 |
| 296 | bool "Support SH7269 processor" |
| 297 | select CPU_SH2A |
| 298 | select CPU_HAS_FPU |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 299 | select SYS_SUPPORTS_SH_CMT |
| 300 | select SYS_SUPPORTS_SH_MTU2 |
Laurent Pinchart | fb872fc | 2012-12-15 23:51:07 +0100 | [diff] [blame] | 301 | select PINCTRL |
Phil Edworthy | 0b25b7c | 2012-05-10 09:26:52 +0100 | [diff] [blame] | 302 | |
Paul Mundt | 2ad6990 | 2008-03-13 12:52:44 +0900 | [diff] [blame] | 303 | config CPU_SUBTYPE_MXG |
| 304 | bool "Support MX-G processor" |
| 305 | select CPU_SH2A |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 306 | select SYS_SUPPORTS_SH_MTU2 |
Paul Mundt | 2ad6990 | 2008-03-13 12:52:44 +0900 | [diff] [blame] | 307 | help |
| 308 | Select MX-G if running on an R8A03022BG part. |
| 309 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 310 | # SH-3 Processor Support |
| 311 | |
| 312 | config CPU_SUBTYPE_SH7705 |
| 313 | bool "Support SH7705 processor" |
| 314 | select CPU_SH3 |
| 315 | |
| 316 | config CPU_SUBTYPE_SH7706 |
| 317 | bool "Support SH7706 processor" |
| 318 | select CPU_SH3 |
| 319 | help |
| 320 | Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU. |
| 321 | |
| 322 | config CPU_SUBTYPE_SH7707 |
| 323 | bool "Support SH7707 processor" |
| 324 | select CPU_SH3 |
| 325 | help |
| 326 | Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU. |
| 327 | |
| 328 | config CPU_SUBTYPE_SH7708 |
| 329 | bool "Support SH7708 processor" |
| 330 | select CPU_SH3 |
| 331 | help |
| 332 | Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or |
| 333 | if you have a 100 Mhz SH-3 HD6417708R CPU. |
| 334 | |
| 335 | config CPU_SUBTYPE_SH7709 |
| 336 | bool "Support SH7709 processor" |
| 337 | select CPU_SH3 |
| 338 | help |
| 339 | Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. |
| 340 | |
| 341 | config CPU_SUBTYPE_SH7710 |
| 342 | bool "Support SH7710 processor" |
| 343 | select CPU_SH3 |
| 344 | select CPU_HAS_DSP |
| 345 | help |
| 346 | Select SH7710 if you have a SH3-DSP SH7710 CPU. |
| 347 | |
| 348 | config CPU_SUBTYPE_SH7712 |
| 349 | bool "Support SH7712 processor" |
| 350 | select CPU_SH3 |
| 351 | select CPU_HAS_DSP |
| 352 | help |
| 353 | Select SH7712 if you have a SH3-DSP SH7712 CPU. |
| 354 | |
| 355 | config CPU_SUBTYPE_SH7720 |
| 356 | bool "Support SH7720 processor" |
| 357 | select CPU_SH3 |
| 358 | select CPU_HAS_DSP |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 359 | select SYS_SUPPORTS_SH_CMT |
Paul Mundt | 7b61ca5 | 2011-06-30 15:04:38 +0900 | [diff] [blame] | 360 | select USB_OHCI_SH if USB_OHCI_HCD |
Laurent Pinchart | 85db6bf | 2012-12-15 23:51:08 +0100 | [diff] [blame] | 361 | select PINCTRL |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 362 | help |
| 363 | Select SH7720 if you have a SH3-DSP SH7720 CPU. |
| 364 | |
Yoshihiro Shimoda | 31a49c4 | 2007-12-26 11:45:06 +0900 | [diff] [blame] | 365 | config CPU_SUBTYPE_SH7721 |
| 366 | bool "Support SH7721 processor" |
| 367 | select CPU_SH3 |
| 368 | select CPU_HAS_DSP |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 369 | select SYS_SUPPORTS_SH_CMT |
Paul Mundt | 7b61ca5 | 2011-06-30 15:04:38 +0900 | [diff] [blame] | 370 | select USB_OHCI_SH if USB_OHCI_HCD |
Yoshihiro Shimoda | 31a49c4 | 2007-12-26 11:45:06 +0900 | [diff] [blame] | 371 | help |
| 372 | Select SH7721 if you have a SH3-DSP SH7721 CPU. |
| 373 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 374 | # SH-4 Processor Support |
| 375 | |
| 376 | config CPU_SUBTYPE_SH7750 |
| 377 | bool "Support SH7750 processor" |
| 378 | select CPU_SH4 |
| 379 | help |
| 380 | Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. |
| 381 | |
| 382 | config CPU_SUBTYPE_SH7091 |
| 383 | bool "Support SH7091 processor" |
| 384 | select CPU_SH4 |
| 385 | help |
| 386 | Select SH7091 if you have an SH-4 based Sega device (such as |
| 387 | the Dreamcast, Naomi, and Naomi 2). |
| 388 | |
| 389 | config CPU_SUBTYPE_SH7750R |
| 390 | bool "Support SH7750R processor" |
| 391 | select CPU_SH4 |
| 392 | |
| 393 | config CPU_SUBTYPE_SH7750S |
| 394 | bool "Support SH7750S processor" |
| 395 | select CPU_SH4 |
| 396 | |
| 397 | config CPU_SUBTYPE_SH7751 |
| 398 | bool "Support SH7751 processor" |
| 399 | select CPU_SH4 |
| 400 | help |
| 401 | Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, |
| 402 | or if you have a HD6417751R CPU. |
| 403 | |
| 404 | config CPU_SUBTYPE_SH7751R |
| 405 | bool "Support SH7751R processor" |
| 406 | select CPU_SH4 |
| 407 | |
| 408 | config CPU_SUBTYPE_SH7760 |
| 409 | bool "Support SH7760 processor" |
| 410 | select CPU_SH4 |
| 411 | |
| 412 | config CPU_SUBTYPE_SH4_202 |
| 413 | bool "Support SH4-202 processor" |
| 414 | select CPU_SH4 |
| 415 | |
| 416 | # SH-4A Processor Support |
| 417 | |
Paul Mundt | 178dd0c | 2008-04-09 17:56:18 +0900 | [diff] [blame] | 418 | config CPU_SUBTYPE_SH7723 |
| 419 | bool "Support SH7723 processor" |
| 420 | select CPU_SH4A |
| 421 | select CPU_SHX2 |
Paul Mundt | dc65a97 | 2009-03-10 16:26:29 +0900 | [diff] [blame] | 422 | select ARCH_SHMOBILE |
Paul Mundt | 178dd0c | 2008-04-09 17:56:18 +0900 | [diff] [blame] | 423 | select ARCH_SPARSEMEM_ENABLE |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 424 | select SYS_SUPPORTS_SH_CMT |
Laurent Pinchart | 16941a8 | 2012-12-15 23:51:10 +0100 | [diff] [blame] | 425 | select PINCTRL |
Paul Mundt | 178dd0c | 2008-04-09 17:56:18 +0900 | [diff] [blame] | 426 | help |
| 427 | Select SH7723 if you have an SH-MobileR2 CPU. |
| 428 | |
Kuninori Morimoto | 0207a2e | 2009-04-16 14:40:56 +0900 | [diff] [blame] | 429 | config CPU_SUBTYPE_SH7724 |
| 430 | bool "Support SH7724 processor" |
| 431 | select CPU_SH4A |
| 432 | select CPU_SHX2 |
Paul Mundt | 59fe700 | 2009-04-16 15:43:42 +0900 | [diff] [blame] | 433 | select ARCH_SHMOBILE |
Kuninori Morimoto | 0207a2e | 2009-04-16 14:40:56 +0900 | [diff] [blame] | 434 | select ARCH_SPARSEMEM_ENABLE |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 435 | select SYS_SUPPORTS_SH_CMT |
Laurent Pinchart | 18ebd22 | 2012-12-15 23:51:11 +0100 | [diff] [blame] | 436 | select PINCTRL |
Kuninori Morimoto | 0207a2e | 2009-04-16 14:40:56 +0900 | [diff] [blame] | 437 | help |
| 438 | Select SH7724 if you have an SH-MobileR2R CPU. |
| 439 | |
Nobuhiro Iwamatsu | fea88a0 | 2012-04-12 15:45:32 +0900 | [diff] [blame] | 440 | config CPU_SUBTYPE_SH7734 |
| 441 | bool "Support SH7734 processor" |
| 442 | select CPU_SH4A |
| 443 | select CPU_SHX2 |
Laurent Pinchart | 2c17218 | 2012-12-15 23:51:12 +0100 | [diff] [blame] | 444 | select PINCTRL |
Nobuhiro Iwamatsu | fea88a0 | 2012-04-12 15:45:32 +0900 | [diff] [blame] | 445 | help |
| 446 | Select SH7734 if you have a SH4A SH7734 CPU. |
| 447 | |
Yoshihiro Shimoda | c01f0f1 | 2009-08-21 16:30:28 +0900 | [diff] [blame] | 448 | config CPU_SUBTYPE_SH7757 |
| 449 | bool "Support SH7757 processor" |
| 450 | select CPU_SH4A |
| 451 | select CPU_SHX2 |
Laurent Pinchart | eb61b77 | 2012-12-15 23:51:13 +0100 | [diff] [blame] | 452 | select PINCTRL |
Yoshihiro Shimoda | c01f0f1 | 2009-08-21 16:30:28 +0900 | [diff] [blame] | 453 | help |
| 454 | Select SH7757 if you have a SH4A SH7757 CPU. |
| 455 | |
Yoshihiro Shimoda | 7d740a0 | 2008-01-07 14:40:07 +0900 | [diff] [blame] | 456 | config CPU_SUBTYPE_SH7763 |
| 457 | bool "Support SH7763 processor" |
| 458 | select CPU_SH4A |
Paul Mundt | 7b61ca5 | 2011-06-30 15:04:38 +0900 | [diff] [blame] | 459 | select USB_OHCI_SH if USB_OHCI_HCD |
Yoshihiro Shimoda | 7d740a0 | 2008-01-07 14:40:07 +0900 | [diff] [blame] | 460 | help |
| 461 | Select SH7763 if you have a SH4A SH7763(R5S77631) CPU. |
| 462 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 463 | config CPU_SUBTYPE_SH7770 |
| 464 | bool "Support SH7770 processor" |
| 465 | select CPU_SH4A |
| 466 | |
| 467 | config CPU_SUBTYPE_SH7780 |
| 468 | bool "Support SH7780 processor" |
| 469 | select CPU_SH4A |
| 470 | |
| 471 | config CPU_SUBTYPE_SH7785 |
| 472 | bool "Support SH7785 processor" |
| 473 | select CPU_SH4A |
| 474 | select CPU_SHX2 |
| 475 | select ARCH_SPARSEMEM_ENABLE |
| 476 | select SYS_SUPPORTS_NUMA |
Laurent Pinchart | 77bd27b | 2012-12-15 23:51:14 +0100 | [diff] [blame] | 477 | select PINCTRL |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 478 | |
Kuninori Morimoto | 55ba99e | 2009-03-03 15:40:25 +0900 | [diff] [blame] | 479 | config CPU_SUBTYPE_SH7786 |
| 480 | bool "Support SH7786 processor" |
| 481 | select CPU_SH4A |
Paul Mundt | 37042fb | 2009-03-03 15:57:02 +0900 | [diff] [blame] | 482 | select CPU_SHX3 |
Paul Mundt | 8263a67 | 2009-03-17 17:49:49 +0900 | [diff] [blame] | 483 | select CPU_HAS_PTEAEX |
Paul Mundt | 2eb2a43 | 2009-06-19 16:00:00 +0900 | [diff] [blame] | 484 | select GENERIC_CLOCKEVENTS_BROADCAST if SMP |
Paul Mundt | 7b61ca5 | 2011-06-30 15:04:38 +0900 | [diff] [blame] | 485 | select USB_OHCI_SH if USB_OHCI_HCD |
Paul Mundt | 7b61ca5 | 2011-06-30 15:04:38 +0900 | [diff] [blame] | 486 | select USB_EHCI_SH if USB_EHCI_HCD |
Laurent Pinchart | c0fdbff | 2012-12-15 23:51:15 +0100 | [diff] [blame] | 487 | select PINCTRL |
Kuninori Morimoto | 55ba99e | 2009-03-03 15:40:25 +0900 | [diff] [blame] | 488 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 489 | config CPU_SUBTYPE_SHX3 |
| 490 | bool "Support SH-X3 processor" |
| 491 | select CPU_SH4A |
| 492 | select CPU_SHX3 |
Paul Mundt | 5840263 | 2008-09-05 15:36:39 +0900 | [diff] [blame] | 493 | select GENERIC_CLOCKEVENTS_BROADCAST if SMP |
Linus Walleij | fdcfdfa | 2016-04-19 13:26:08 +0200 | [diff] [blame] | 494 | select GPIOLIB |
Laurent Pinchart | 3e347f0 | 2012-12-15 23:51:16 +0100 | [diff] [blame] | 495 | select PINCTRL |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 496 | |
| 497 | # SH4AL-DSP Processor Support |
| 498 | |
| 499 | config CPU_SUBTYPE_SH7343 |
| 500 | bool "Support SH7343 processor" |
| 501 | select CPU_SH4AL_DSP |
Paul Mundt | dc65a97 | 2009-03-10 16:26:29 +0900 | [diff] [blame] | 502 | select ARCH_SHMOBILE |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 503 | select SYS_SUPPORTS_SH_CMT |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 504 | |
| 505 | config CPU_SUBTYPE_SH7722 |
| 506 | bool "Support SH7722 processor" |
| 507 | select CPU_SH4AL_DSP |
| 508 | select CPU_SHX2 |
Paul Mundt | dc65a97 | 2009-03-10 16:26:29 +0900 | [diff] [blame] | 509 | select ARCH_SHMOBILE |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 510 | select ARCH_SPARSEMEM_ENABLE |
| 511 | select SYS_SUPPORTS_NUMA |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 512 | select SYS_SUPPORTS_SH_CMT |
Laurent Pinchart | ef97c3c | 2012-12-15 23:51:09 +0100 | [diff] [blame] | 513 | select PINCTRL |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 514 | |
Magnus Damm | 9109a30 | 2008-02-08 17:31:24 +0900 | [diff] [blame] | 515 | config CPU_SUBTYPE_SH7366 |
| 516 | bool "Support SH7366 processor" |
| 517 | select CPU_SH4AL_DSP |
| 518 | select CPU_SHX2 |
Paul Mundt | dc65a97 | 2009-03-10 16:26:29 +0900 | [diff] [blame] | 519 | select ARCH_SHMOBILE |
Magnus Damm | 9109a30 | 2008-02-08 17:31:24 +0900 | [diff] [blame] | 520 | select ARCH_SPARSEMEM_ENABLE |
| 521 | select SYS_SUPPORTS_NUMA |
Magnus Damm | fbfa893 | 2014-02-20 12:54:47 +0100 | [diff] [blame] | 522 | select SYS_SUPPORTS_SH_CMT |
Magnus Damm | 9109a30 | 2008-02-08 17:31:24 +0900 | [diff] [blame] | 523 | |
Paul Mundt | 3cc000b | 2009-04-11 08:39:27 +0900 | [diff] [blame] | 524 | endchoice |
| 525 | |
| 526 | endif |
| 527 | |
| 528 | if SUPERH64 |
| 529 | |
| 530 | choice |
| 531 | prompt "Processor sub-type selection" |
| 532 | |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 533 | # SH-5 Processor Support |
| 534 | |
| 535 | config CPU_SUBTYPE_SH5_101 |
| 536 | bool "Support SH5-101 processor" |
| 537 | select CPU_SH5 |
| 538 | |
| 539 | config CPU_SUBTYPE_SH5_103 |
| 540 | bool "Support SH5-103 processor" |
Paul Mundt | 8ef97dd | 2008-02-14 15:30:54 +0900 | [diff] [blame] | 541 | select CPU_SH5 |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 542 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 543 | endchoice |
| 544 | |
Paul Mundt | 3cc000b | 2009-04-11 08:39:27 +0900 | [diff] [blame] | 545 | endif |
| 546 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 547 | source "arch/sh/mm/Kconfig" |
Paul Mundt | 939a24a | 2008-07-29 21:41:37 +0900 | [diff] [blame] | 548 | |
Paul Mundt | 4690bdc | 2007-11-09 13:45:42 +0900 | [diff] [blame] | 549 | source "arch/sh/Kconfig.cpu" |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 550 | |
Paul Mundt | 939a24a | 2008-07-29 21:41:37 +0900 | [diff] [blame] | 551 | source "arch/sh/boards/Kconfig" |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 552 | |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 553 | menu "Timer and clock configuration" |
| 554 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 555 | config SH_PCLK_FREQ |
| 556 | int "Peripheral clock frequency (in Hz)" |
Paul Mundt | 8152a74 | 2009-12-29 11:09:30 +0900 | [diff] [blame] | 557 | depends on SH_CLK_CPG_LEGACY |
Yoshinori Sato | 9d4436a | 2006-11-05 15:40:13 +0900 | [diff] [blame] | 558 | default "31250000" if CPU_SUBTYPE_SH7619 |
Paul Mundt | 8152a74 | 2009-12-29 11:09:30 +0900 | [diff] [blame] | 559 | default "33333333" if CPU_SUBTYPE_SH7770 || \ |
| 560 | CPU_SUBTYPE_SH7760 || \ |
| 561 | CPU_SUBTYPE_SH7705 || \ |
| 562 | CPU_SUBTYPE_SH7203 || \ |
| 563 | CPU_SUBTYPE_SH7206 || \ |
| 564 | CPU_SUBTYPE_SH7263 || \ |
Paul Mundt | 43a1839 | 2010-01-19 19:37:14 +0900 | [diff] [blame] | 565 | CPU_SUBTYPE_MXG |
Paul Mundt | 0562748 | 2007-05-15 16:25:47 +0900 | [diff] [blame] | 566 | default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 567 | default "66000000" if CPU_SUBTYPE_SH4_202 |
Paul Mundt | 0562748 | 2007-05-15 16:25:47 +0900 | [diff] [blame] | 568 | default "50000000" |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 569 | help |
| 570 | This option is used to specify the peripheral clock frequency. |
| 571 | This is necessary for determining the reference clock value on |
| 572 | platforms lacking an RTC. |
| 573 | |
Paul Mundt | 36aa1e3 | 2009-05-22 14:00:34 +0900 | [diff] [blame] | 574 | config SH_CLK_CPG |
| 575 | def_bool y |
| 576 | |
Paul Mundt | 253b088 | 2009-05-13 17:38:11 +0900 | [diff] [blame] | 577 | config SH_CLK_CPG_LEGACY |
Paul Mundt | 36aa1e3 | 2009-05-22 14:00:34 +0900 | [diff] [blame] | 578 | depends on SH_CLK_CPG |
Paul Mundt | 43a1839 | 2010-01-19 19:37:14 +0900 | [diff] [blame] | 579 | def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \ |
Phil Edworthy | 51ce306 | 2012-05-09 07:59:27 +0100 | [diff] [blame] | 580 | !CPU_SHX3 && !CPU_SUBTYPE_SH7757 && \ |
Paul Mundt | bcb86e0 | 2012-05-10 17:20:56 +0900 | [diff] [blame] | 581 | !CPU_SUBTYPE_SH7734 && !CPU_SUBTYPE_SH7264 && \ |
| 582 | !CPU_SUBTYPE_SH7269 |
Paul Mundt | 253b088 | 2009-05-13 17:38:11 +0900 | [diff] [blame] | 583 | |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 584 | endmenu |
| 585 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 586 | menu "CPU Frequency scaling" |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 587 | source "drivers/cpufreq/Kconfig" |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 588 | endmenu |
| 589 | |
Paul Mundt | 9f5e8ee | 2006-11-24 11:22:57 +0900 | [diff] [blame] | 590 | source "arch/sh/drivers/Kconfig" |
| 591 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 592 | endmenu |
| 593 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 594 | menu "Kernel features" |
| 595 | |
Masahiro Yamada | 8636a1f | 2018-12-11 20:01:04 +0900 | [diff] [blame] | 596 | source "kernel/Kconfig.hz" |
Paul Mundt | 91b91d0 | 2006-09-27 18:08:33 +0900 | [diff] [blame] | 597 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 598 | config KEXEC |
| 599 | bool "kexec system call (EXPERIMENTAL)" |
Kees Cook | 0d57af1 | 2013-01-16 18:53:26 -0800 | [diff] [blame] | 600 | depends on SUPERH32 && MMU |
Dave Young | 2965faa | 2015-09-09 15:38:55 -0700 | [diff] [blame] | 601 | select KEXEC_CORE |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 602 | help |
| 603 | kexec is a system call that implements the ability to shutdown your |
| 604 | current kernel, and to start another kernel. It is like a reboot |
Matt LaPlante | 1f1332f | 2006-06-29 01:32:47 -0400 | [diff] [blame] | 605 | but it is independent of the system firmware. And like a reboot |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 606 | you can start any kernel with it, not just Linux. |
| 607 | |
Matt LaPlante | 1f1332f | 2006-06-29 01:32:47 -0400 | [diff] [blame] | 608 | The name comes from the similarity to the exec system call. |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 609 | |
| 610 | It is an ongoing process to be certain the hardware in a machine |
| 611 | 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] | 612 | initially work for you. As of this writing the exact hardware |
| 613 | interface is strongly in flux, so no good recommendation can be |
| 614 | made. |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 615 | |
Paul Mundt | 4d5ade5 | 2007-04-27 11:25:57 +0900 | [diff] [blame] | 616 | config CRASH_DUMP |
| 617 | bool "kernel crash dumps (EXPERIMENTAL)" |
Kees Cook | 0d57af1 | 2013-01-16 18:53:26 -0800 | [diff] [blame] | 618 | depends on SUPERH32 && BROKEN_ON_SMP |
Paul Mundt | 4d5ade5 | 2007-04-27 11:25:57 +0900 | [diff] [blame] | 619 | help |
| 620 | Generate crash dump after being started by kexec. |
| 621 | This should be normally only set in special crash dump kernels |
| 622 | which are loaded in the main kernel with kexec-tools into |
| 623 | a specially reserved region and then later executed after |
| 624 | a crash by kdump/kexec. The crash dump kernel must be compiled |
| 625 | to a memory address not used by the main kernel using |
Simon Horman | e66ac3f | 2011-09-15 20:13:00 +0900 | [diff] [blame] | 626 | PHYSICAL_START. |
Paul Mundt | 4d5ade5 | 2007-04-27 11:25:57 +0900 | [diff] [blame] | 627 | |
Mauro Carvalho Chehab | 330d481 | 2019-06-13 15:21:39 -0300 | [diff] [blame] | 628 | For more details see Documentation/admin-guide/kdump/kdump.rst |
Paul Mundt | 4d5ade5 | 2007-04-27 11:25:57 +0900 | [diff] [blame] | 629 | |
Magnus Damm | b7cf6dd | 2009-03-18 08:51:29 +0000 | [diff] [blame] | 630 | config KEXEC_JUMP |
| 631 | bool "kexec jump (EXPERIMENTAL)" |
Kees Cook | 0d57af1 | 2013-01-16 18:53:26 -0800 | [diff] [blame] | 632 | depends on SUPERH32 && KEXEC && HIBERNATION |
Magnus Damm | b7cf6dd | 2009-03-18 08:51:29 +0000 | [diff] [blame] | 633 | help |
| 634 | Jump between original kernel and kexeced kernel and invoke |
| 635 | code via KEXEC |
| 636 | |
Simon Horman | e66ac3f | 2011-09-15 20:13:00 +0900 | [diff] [blame] | 637 | config PHYSICAL_START |
| 638 | hex "Physical address where the kernel is loaded" if (EXPERT || CRASH_DUMP) |
| 639 | default MEMORY_START |
| 640 | ---help--- |
| 641 | This gives the physical address where the kernel is loaded |
| 642 | and is ordinarily the same as MEMORY_START. |
| 643 | |
| 644 | Different values are primarily used in the case of kexec on panic |
| 645 | where the fail safe kernel needs to run at a different address |
| 646 | than the panic-ed kernel. |
| 647 | |
Paul Mundt | c4637d4 | 2008-07-30 15:30:52 +0900 | [diff] [blame] | 648 | config SECCOMP |
| 649 | bool "Enable seccomp to safely compute untrusted bytecode" |
| 650 | depends on PROC_FS |
Paul Mundt | c4637d4 | 2008-07-30 15:30:52 +0900 | [diff] [blame] | 651 | help |
| 652 | This kernel feature is useful for number crunching applications |
| 653 | that may need to compute untrusted bytecode during their |
| 654 | execution. By using pipes or other transports made available to |
| 655 | the process as file descriptors supporting the read/write |
| 656 | syscalls, it's possible to isolate those applications in |
| 657 | their own address space using seccomp. Once seccomp is |
| 658 | enabled via prctl, it cannot be disabled and the task is only |
| 659 | allowed to execute a few safe syscalls defined by each seccomp |
| 660 | mode. |
| 661 | |
| 662 | If unsure, say N. |
| 663 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 664 | config SMP |
| 665 | bool "Symmetric multi-processing support" |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 666 | depends on SYS_SUPPORTS_SMP |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 667 | ---help--- |
| 668 | 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] | 669 | a system with only one CPU, say N. If you have a system with more |
| 670 | than one CPU, say Y. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 671 | |
Robert Graffham | 4a47415 | 2014-01-23 15:55:29 -0800 | [diff] [blame] | 672 | 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] | 673 | machines, but will use only one CPU of a multiprocessor machine. If |
| 674 | 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] | 675 | uniprocessor machines. On a uniprocessor machine, the kernel |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 676 | will run faster if you say N here. |
| 677 | |
| 678 | People using multiprocessor machines who say Y here should also say |
| 679 | Y to "Enhanced Real Time Clock Support", below. |
| 680 | |
Mauro Carvalho Chehab | 4f4cfa6 | 2019-06-27 14:56:51 -0300 | [diff] [blame] | 681 | See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO |
Adrian Bunk | 03502fa | 2008-02-03 15:50:21 +0200 | [diff] [blame] | 682 | available at <http://www.tldp.org/docs.html#howto>. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 683 | |
| 684 | If you don't know what to do here, say N. |
| 685 | |
| 686 | config NR_CPUS |
| 687 | int "Maximum number of CPUs (2-32)" |
| 688 | range 2 32 |
| 689 | depends on SMP |
Paul Mundt | 2eb2a43 | 2009-06-19 16:00:00 +0900 | [diff] [blame] | 690 | default "4" if CPU_SUBTYPE_SHX3 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 691 | default "2" |
| 692 | help |
| 693 | This allows you to specify the maximum number of CPUs which this |
| 694 | kernel will support. The maximum supported value is 32 and the |
| 695 | minimum value which makes sense is 2. |
| 696 | |
| 697 | This is purely to save memory - each supported CPU adds |
| 698 | approximately eight kilobytes to the kernel image. |
| 699 | |
Paul Mundt | 763142d | 2010-04-26 19:08:55 +0900 | [diff] [blame] | 700 | config HOTPLUG_CPU |
| 701 | bool "Support for hot-pluggable CPUs (EXPERIMENTAL)" |
Stephen Rothwell | 40b3136 | 2013-05-21 13:49:35 +1000 | [diff] [blame] | 702 | depends on SMP |
Paul Mundt | 763142d | 2010-04-26 19:08:55 +0900 | [diff] [blame] | 703 | help |
| 704 | Say Y here to experiment with turning CPUs off and on. CPUs |
| 705 | can be controlled through /sys/devices/system/cpu. |
| 706 | |
Paul Mundt | 8366246 | 2007-09-28 16:04:49 +0900 | [diff] [blame] | 707 | config GUSA |
| 708 | def_bool y |
Stuart Menefy | 1efe4ce | 2007-11-30 16:12:36 +0900 | [diff] [blame] | 709 | depends on !SMP && SUPERH32 |
Paul Mundt | 8366246 | 2007-09-28 16:04:49 +0900 | [diff] [blame] | 710 | help |
| 711 | This enables support for gUSA (general UserSpace Atomicity). |
| 712 | This is the default implementation for both UP and non-ll/sc |
| 713 | CPUs, and is used by the libc, amongst others. |
| 714 | |
| 715 | For additional information, design information can be found |
| 716 | in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>. |
| 717 | |
| 718 | This should only be disabled for special cases where alternate |
| 719 | atomicity implementations exist. |
| 720 | |
Stuart Menefy | 1efe4ce | 2007-11-30 16:12:36 +0900 | [diff] [blame] | 721 | config GUSA_RB |
| 722 | bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)" |
| 723 | depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A) |
| 724 | help |
| 725 | Enabling this option will allow the kernel to implement some |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 726 | atomic operations using a software implementation of load-locked/ |
Stuart Menefy | 1efe4ce | 2007-11-30 16:12:36 +0900 | [diff] [blame] | 727 | store-conditional (LLSC). On machines which do not have hardware |
| 728 | LLSC, this should be more efficient than the other alternative of |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 729 | disabling interrupts around the atomic sequence. |
Stuart Menefy | 1efe4ce | 2007-11-30 16:12:36 +0900 | [diff] [blame] | 730 | |
Matt Fleming | 86c8c04 | 2010-09-10 20:36:23 +0100 | [diff] [blame] | 731 | config HW_PERF_EVENTS |
| 732 | bool "Enable hardware performance counter support for perf events" |
| 733 | depends on PERF_EVENTS && CPU_HAS_PMU |
| 734 | default y |
| 735 | help |
| 736 | Enable hardware performance counter support for perf events. If |
| 737 | disabled, perf events will use software events only. |
| 738 | |
Paul Mundt | 43b8774 | 2010-04-13 14:43:03 +0900 | [diff] [blame] | 739 | source "drivers/sh/Kconfig" |
| 740 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 741 | endmenu |
| 742 | |
| 743 | menu "Boot options" |
| 744 | |
Rich Felker | 190fe19 | 2016-03-26 01:24:30 +0000 | [diff] [blame] | 745 | config USE_BUILTIN_DTB |
| 746 | bool "Use builtin DTB" |
| 747 | default n |
| 748 | depends on SH_DEVICE_TREE |
| 749 | help |
| 750 | Link a device tree blob for particular hardware into the kernel, |
| 751 | suppressing use of the DTB pointer provided by the bootloader. |
| 752 | This option should only be used with legacy bootloaders that are |
| 753 | not capable of providing a DTB to the kernel, or for experimental |
| 754 | hardware without stable device tree bindings. |
| 755 | |
| 756 | config BUILTIN_DTB_SOURCE |
| 757 | string "Source file for builtin DTB" |
| 758 | default "" |
| 759 | depends on USE_BUILTIN_DTB |
| 760 | help |
| 761 | Base name (without suffix, relative to arch/sh/boot/dts) for the |
| 762 | a DTS file that will be used to produce the DTB linked into the |
| 763 | kernel. |
| 764 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 765 | config ZERO_PAGE_OFFSET |
Paul Mundt | b412a49a | 2009-05-10 01:23:25 +0900 | [diff] [blame] | 766 | hex |
| 767 | default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \ |
| 768 | SH_7751_SOLUTION_ENGINE |
| 769 | default "0x00004000" if PAGE_SIZE_16KB || SH_SH03 |
Paul Mundt | 7a847f8 | 2006-12-26 15:29:19 +0900 | [diff] [blame] | 770 | default "0x00002000" if PAGE_SIZE_8KB |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 771 | default "0x00001000" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 772 | help |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 773 | This sets the default offset of zero page. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 774 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 775 | config BOOT_LINK_OFFSET |
Paul Mundt | b412a49a | 2009-05-10 01:23:25 +0900 | [diff] [blame] | 776 | hex |
| 777 | default "0x00210000" if SH_SHMIN |
Paul Mundt | a2e76c8 | 2009-05-10 00:54:39 +0900 | [diff] [blame] | 778 | default "0x00400000" if SH_CAYMAN |
Paul Mundt | b412a49a | 2009-05-10 01:23:25 +0900 | [diff] [blame] | 779 | default "0x00810000" if SH_7780_SOLUTION_ENGINE |
| 780 | default "0x009e0000" if SH_TITAN |
| 781 | default "0x01800000" if SH_SDK7780 |
| 782 | default "0x02000000" if SH_EDOSK7760 |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 783 | default "0x00800000" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 784 | help |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 785 | This option allows you to set the link address offset of the zImage. |
| 786 | This can be useful if you are on a board which has a small amount of |
| 787 | memory. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 788 | |
Paul Mundt | b412a49a | 2009-05-10 01:23:25 +0900 | [diff] [blame] | 789 | config ENTRY_OFFSET |
| 790 | hex |
| 791 | default "0x00001000" if PAGE_SIZE_4KB |
| 792 | default "0x00002000" if PAGE_SIZE_8KB |
| 793 | default "0x00004000" if PAGE_SIZE_16KB |
| 794 | default "0x00010000" if PAGE_SIZE_64KB |
| 795 | default "0x00000000" |
| 796 | |
Magnus Damm | 4705b2e | 2010-05-18 14:43:15 +0000 | [diff] [blame] | 797 | config ROMIMAGE_MMCIF |
| 798 | bool "Include MMCIF loader in romImage (EXPERIMENTAL)" |
Kees Cook | 0d57af1 | 2013-01-16 18:53:26 -0800 | [diff] [blame] | 799 | depends on CPU_SUBTYPE_SH7724 |
Magnus Damm | 4705b2e | 2010-05-18 14:43:15 +0000 | [diff] [blame] | 800 | help |
| 801 | Say Y here to include experimental MMCIF loading code in |
| 802 | romImage. With this enabled it is possible to write the romImage |
| 803 | kernel image to an MMC card and boot the kernel straight from |
| 804 | the reset vector. At reset the processor Mask ROM will load the |
| 805 | first part of the romImage which in turn loads the rest the kernel |
| 806 | image to RAM using the MMCIF hardware block. |
| 807 | |
Pawel Moll | d724a9c | 2009-08-24 16:25:38 +0900 | [diff] [blame] | 808 | choice |
| 809 | prompt "Kernel command line" |
| 810 | optional |
| 811 | default CMDLINE_OVERWRITE |
| 812 | help |
| 813 | Setting this option allows the kernel command line arguments |
| 814 | to be set. |
| 815 | |
| 816 | config CMDLINE_OVERWRITE |
| 817 | bool "Overwrite bootloader kernel arguments" |
| 818 | help |
| 819 | Given string will overwrite any arguments passed in by |
| 820 | a bootloader. |
| 821 | |
| 822 | config CMDLINE_EXTEND |
| 823 | bool "Extend bootloader kernel arguments" |
| 824 | help |
| 825 | Given string will be concatenated with arguments passed in |
| 826 | by a bootloader. |
| 827 | |
| 828 | endchoice |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 829 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 830 | config CMDLINE |
Pawel Moll | d724a9c | 2009-08-24 16:25:38 +0900 | [diff] [blame] | 831 | string "Kernel command line arguments string" |
| 832 | depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 833 | default "console=ttySC1,115200" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 834 | |
| 835 | endmenu |
| 836 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 837 | menu "Bus options" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 838 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 839 | config SUPERHYWAY |
| 840 | tristate "SuperHyway Bus support" |
| 841 | depends on CPU_SUBTYPE_SH4_202 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 842 | |
Adrian McMenamin | 17be2d2 | 2007-09-21 15:55:55 +0900 | [diff] [blame] | 843 | config MAPLE |
Paul Mundt | e16038a | 2009-01-09 15:12:30 +0900 | [diff] [blame] | 844 | bool "Maple Bus support" |
| 845 | depends on SH_DREAMCAST |
| 846 | help |
| 847 | The Maple Bus is SEGA's serial communication bus for peripherals |
| 848 | on the Dreamcast. Without this bus support you won't be able to |
| 849 | get your Dreamcast keyboard etc to work, so most users |
| 850 | probably want to say 'Y' here, unless you are only using the |
| 851 | Dreamcast with a serial line terminal or a remote network |
| 852 | connection. |
Adrian McMenamin | 17be2d2 | 2007-09-21 15:55:55 +0900 | [diff] [blame] | 853 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 854 | endmenu |
| 855 | |
Andriy Skulysh | 3aa770e | 2006-09-27 16:20:22 +0900 | [diff] [blame] | 856 | menu "Power management options (EXPERIMENTAL)" |
Johannes Berg | f4cb570 | 2007-12-08 02:14:00 +0100 | [diff] [blame] | 857 | |
Magnus Damm | c6f17cb | 2008-12-04 22:45:20 +0900 | [diff] [blame] | 858 | source "kernel/power/Kconfig" |
| 859 | |
| 860 | source "drivers/cpuidle/Kconfig" |
Andriy Skulysh | 3aa770e | 2006-09-27 16:20:22 +0900 | [diff] [blame] | 861 | |
Andriy Skulysh | 3aa770e | 2006-09-27 16:20:22 +0900 | [diff] [blame] | 862 | endmenu |