Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see Documentation/kbuild/kconfig-language.txt. |
| 4 | # |
| 5 | |
| 6 | mainmenu "Linux/SuperH Kernel Configuration" |
| 7 | |
| 8 | config SUPERH |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 9 | def_bool y |
Paul Mundt | 7a440c9 | 2006-09-27 18:18:31 +0900 | [diff] [blame] | 10 | select EMBEDDED |
David Brownell | 9483a57 | 2008-07-23 21:26:48 -0700 | [diff] [blame] | 11 | select HAVE_CLK |
Sam Ravnborg | ec7748b | 2008-02-09 10:46:40 +0100 | [diff] [blame] | 12 | select HAVE_IDE |
Mathieu Desnoyers | 42d4b83 | 2008-02-02 15:10:34 -0500 | [diff] [blame] | 13 | select HAVE_OPROFILE |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | help |
| 15 | The SuperH is a RISC processor targeted for use in embedded systems |
| 16 | and consumer electronics; it was also used in the Sega Dreamcast |
| 17 | gaming console. The SuperH port has a home page at |
| 18 | <http://www.linux-sh.org/>. |
| 19 | |
Paul Mundt | 39d28a2 | 2007-11-08 18:39:33 +0900 | [diff] [blame] | 20 | config SUPERH32 |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 21 | def_bool !SUPERH64 |
| 22 | |
| 23 | config SUPERH64 |
| 24 | def_bool y if CPU_SH5 |
Paul Mundt | 39d28a2 | 2007-11-08 18:39:33 +0900 | [diff] [blame] | 25 | |
Paul Mundt | f42b7e3 | 2008-07-29 20:12:51 +0900 | [diff] [blame^] | 26 | config ARCH_DEFCONFIG |
| 27 | string |
| 28 | default "arch/sh/configs/shx3_defconfig" if SUPERH32 |
| 29 | default "arch/sh/configs/cayman_defconfig" if SUPERH64 |
| 30 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | config RWSEM_GENERIC_SPINLOCK |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 32 | def_bool y |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | |
| 34 | config RWSEM_XCHGADD_ALGORITHM |
| 35 | bool |
| 36 | |
Paul Mundt | fa69151 | 2007-03-08 19:41:21 +0900 | [diff] [blame] | 37 | config GENERIC_BUG |
| 38 | def_bool y |
Paul Mundt | a82d53e | 2007-11-21 18:22:05 +0900 | [diff] [blame] | 39 | depends on BUG && SUPERH32 |
Paul Mundt | fa69151 | 2007-03-08 19:41:21 +0900 | [diff] [blame] | 40 | |
Akinobu Mita | e2268c7 | 2006-03-26 01:39:35 -0800 | [diff] [blame] | 41 | config GENERIC_FIND_NEXT_BIT |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 42 | def_bool y |
Akinobu Mita | e2268c7 | 2006-03-26 01:39:35 -0800 | [diff] [blame] | 43 | |
| 44 | config GENERIC_HWEIGHT |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 45 | def_bool y |
Akinobu Mita | e2268c7 | 2006-03-26 01:39:35 -0800 | [diff] [blame] | 46 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | config GENERIC_HARDIRQS |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 48 | def_bool y |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | |
| 50 | config GENERIC_IRQ_PROBE |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 51 | def_bool y |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 52 | |
| 53 | config GENERIC_CALIBRATE_DELAY |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 54 | def_bool y |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 55 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 56 | config GENERIC_IOMAP |
| 57 | bool |
| 58 | |
Paul Mundt | 4588214 | 2006-10-04 13:21:45 +0900 | [diff] [blame] | 59 | config GENERIC_TIME |
| 60 | def_bool n |
| 61 | |
Paul Mundt | 57be2b4 | 2007-05-09 17:33:24 +0900 | [diff] [blame] | 62 | config GENERIC_CLOCKEVENTS |
| 63 | def_bool n |
| 64 | |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 65 | config SYS_SUPPORTS_PM |
| 66 | bool |
| 67 | |
Paul Mundt | 0a9b0db | 2007-01-24 21:56:20 +0900 | [diff] [blame] | 68 | config SYS_SUPPORTS_APM_EMULATION |
| 69 | bool |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 70 | select SYS_SUPPORTS_PM |
| 71 | |
| 72 | config SYS_SUPPORTS_SMP |
| 73 | bool |
| 74 | |
| 75 | config SYS_SUPPORTS_NUMA |
| 76 | bool |
| 77 | |
| 78 | config SYS_SUPPORTS_PCI |
| 79 | bool |
Paul Mundt | 0a9b0db | 2007-01-24 21:56:20 +0900 | [diff] [blame] | 80 | |
Paul Mundt | afbfb52 | 2006-12-04 18:17:28 +0900 | [diff] [blame] | 81 | config STACKTRACE_SUPPORT |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 82 | def_bool y |
Paul Mundt | afbfb52 | 2006-12-04 18:17:28 +0900 | [diff] [blame] | 83 | |
| 84 | config LOCKDEP_SUPPORT |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 85 | def_bool y |
Paul Mundt | afbfb52 | 2006-12-04 18:17:28 +0900 | [diff] [blame] | 86 | |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 87 | config ARCH_HAS_ILOG2_U32 |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 88 | def_bool n |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 89 | |
| 90 | config ARCH_HAS_ILOG2_U64 |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 91 | def_bool n |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 92 | |
Paul Mundt | e257ad0 | 2007-07-25 11:18:00 +0900 | [diff] [blame] | 93 | config ARCH_NO_VIRT_TO_BUS |
| 94 | def_bool y |
| 95 | |
David Howells | b0b933c | 2008-02-08 04:19:27 -0800 | [diff] [blame] | 96 | config ARCH_SUPPORTS_AOUT |
| 97 | def_bool y |
| 98 | |
Magnus Damm | e7cc9a7 | 2008-02-07 20:18:21 +0900 | [diff] [blame] | 99 | config IO_TRAPPED |
| 100 | bool |
| 101 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 102 | source "init/Kconfig" |
| 103 | |
| 104 | menu "System type" |
| 105 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 106 | # |
| 107 | # Processor families |
| 108 | # |
| 109 | config CPU_SH2 |
| 110 | bool |
| 111 | |
| 112 | config CPU_SH2A |
| 113 | bool |
| 114 | select CPU_SH2 |
| 115 | |
| 116 | config CPU_SH3 |
| 117 | bool |
| 118 | select CPU_HAS_INTEVT |
| 119 | select CPU_HAS_SR_RB |
| 120 | |
| 121 | config CPU_SH4 |
| 122 | bool |
| 123 | select CPU_HAS_INTEVT |
| 124 | select CPU_HAS_SR_RB |
| 125 | select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2 |
| 126 | select CPU_HAS_FPU if !CPU_SH4AL_DSP |
| 127 | |
| 128 | config CPU_SH4A |
| 129 | bool |
| 130 | select CPU_SH4 |
| 131 | |
| 132 | config CPU_SH4AL_DSP |
| 133 | bool |
| 134 | select CPU_SH4A |
| 135 | select CPU_HAS_DSP |
| 136 | |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 137 | config CPU_SH5 |
| 138 | bool |
| 139 | select CPU_HAS_FPU |
| 140 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 141 | config CPU_SHX2 |
| 142 | bool |
| 143 | |
| 144 | config CPU_SHX3 |
| 145 | bool |
| 146 | |
| 147 | choice |
| 148 | prompt "Processor sub-type selection" |
| 149 | |
| 150 | # |
| 151 | # Processor subtypes |
| 152 | # |
| 153 | |
| 154 | # SH-2 Processor Support |
| 155 | |
| 156 | config CPU_SUBTYPE_SH7619 |
| 157 | bool "Support SH7619 processor" |
| 158 | select CPU_SH2 |
| 159 | |
| 160 | # SH-2A Processor Support |
| 161 | |
Paul Mundt | 6d01f51 | 2007-11-26 18:17:21 +0900 | [diff] [blame] | 162 | config CPU_SUBTYPE_SH7203 |
| 163 | bool "Support SH7203 processor" |
| 164 | select CPU_SH2A |
Paul Mundt | 74d99a5 | 2007-11-26 20:38:36 +0900 | [diff] [blame] | 165 | select CPU_HAS_FPU |
Paul Mundt | 6d01f51 | 2007-11-26 18:17:21 +0900 | [diff] [blame] | 166 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 167 | config CPU_SUBTYPE_SH7206 |
| 168 | bool "Support SH7206 processor" |
| 169 | select CPU_SH2A |
| 170 | |
Paul Mundt | a8f67f4 | 2007-11-26 19:54:02 +0900 | [diff] [blame] | 171 | config CPU_SUBTYPE_SH7263 |
| 172 | bool "Support SH7263 processor" |
| 173 | select CPU_SH2A |
Paul Mundt | 74d99a5 | 2007-11-26 20:38:36 +0900 | [diff] [blame] | 174 | select CPU_HAS_FPU |
Paul Mundt | a8f67f4 | 2007-11-26 19:54:02 +0900 | [diff] [blame] | 175 | |
Paul Mundt | 2ad6990 | 2008-03-13 12:52:44 +0900 | [diff] [blame] | 176 | config CPU_SUBTYPE_MXG |
| 177 | bool "Support MX-G processor" |
| 178 | select CPU_SH2A |
| 179 | help |
| 180 | Select MX-G if running on an R8A03022BG part. |
| 181 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 182 | # SH-3 Processor Support |
| 183 | |
| 184 | config CPU_SUBTYPE_SH7705 |
| 185 | bool "Support SH7705 processor" |
| 186 | select CPU_SH3 |
| 187 | |
| 188 | config CPU_SUBTYPE_SH7706 |
| 189 | bool "Support SH7706 processor" |
| 190 | select CPU_SH3 |
| 191 | help |
| 192 | Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU. |
| 193 | |
| 194 | config CPU_SUBTYPE_SH7707 |
| 195 | bool "Support SH7707 processor" |
| 196 | select CPU_SH3 |
| 197 | help |
| 198 | Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU. |
| 199 | |
| 200 | config CPU_SUBTYPE_SH7708 |
| 201 | bool "Support SH7708 processor" |
| 202 | select CPU_SH3 |
| 203 | help |
| 204 | Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or |
| 205 | if you have a 100 Mhz SH-3 HD6417708R CPU. |
| 206 | |
| 207 | config CPU_SUBTYPE_SH7709 |
| 208 | bool "Support SH7709 processor" |
| 209 | select CPU_SH3 |
| 210 | help |
| 211 | Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. |
| 212 | |
| 213 | config CPU_SUBTYPE_SH7710 |
| 214 | bool "Support SH7710 processor" |
| 215 | select CPU_SH3 |
| 216 | select CPU_HAS_DSP |
| 217 | help |
| 218 | Select SH7710 if you have a SH3-DSP SH7710 CPU. |
| 219 | |
| 220 | config CPU_SUBTYPE_SH7712 |
| 221 | bool "Support SH7712 processor" |
| 222 | select CPU_SH3 |
| 223 | select CPU_HAS_DSP |
| 224 | help |
| 225 | Select SH7712 if you have a SH3-DSP SH7712 CPU. |
| 226 | |
| 227 | config CPU_SUBTYPE_SH7720 |
| 228 | bool "Support SH7720 processor" |
| 229 | select CPU_SH3 |
| 230 | select CPU_HAS_DSP |
| 231 | help |
| 232 | Select SH7720 if you have a SH3-DSP SH7720 CPU. |
| 233 | |
Yoshihiro Shimoda | 31a49c4 | 2007-12-26 11:45:06 +0900 | [diff] [blame] | 234 | config CPU_SUBTYPE_SH7721 |
| 235 | bool "Support SH7721 processor" |
| 236 | select CPU_SH3 |
| 237 | select CPU_HAS_DSP |
| 238 | help |
| 239 | Select SH7721 if you have a SH3-DSP SH7721 CPU. |
| 240 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 241 | # SH-4 Processor Support |
| 242 | |
| 243 | config CPU_SUBTYPE_SH7750 |
| 244 | bool "Support SH7750 processor" |
| 245 | select CPU_SH4 |
| 246 | help |
| 247 | Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. |
| 248 | |
| 249 | config CPU_SUBTYPE_SH7091 |
| 250 | bool "Support SH7091 processor" |
| 251 | select CPU_SH4 |
| 252 | help |
| 253 | Select SH7091 if you have an SH-4 based Sega device (such as |
| 254 | the Dreamcast, Naomi, and Naomi 2). |
| 255 | |
| 256 | config CPU_SUBTYPE_SH7750R |
| 257 | bool "Support SH7750R processor" |
| 258 | select CPU_SH4 |
| 259 | |
| 260 | config CPU_SUBTYPE_SH7750S |
| 261 | bool "Support SH7750S processor" |
| 262 | select CPU_SH4 |
| 263 | |
| 264 | config CPU_SUBTYPE_SH7751 |
| 265 | bool "Support SH7751 processor" |
| 266 | select CPU_SH4 |
| 267 | help |
| 268 | Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, |
| 269 | or if you have a HD6417751R CPU. |
| 270 | |
| 271 | config CPU_SUBTYPE_SH7751R |
| 272 | bool "Support SH7751R processor" |
| 273 | select CPU_SH4 |
| 274 | |
| 275 | config CPU_SUBTYPE_SH7760 |
| 276 | bool "Support SH7760 processor" |
| 277 | select CPU_SH4 |
| 278 | |
| 279 | config CPU_SUBTYPE_SH4_202 |
| 280 | bool "Support SH4-202 processor" |
| 281 | select CPU_SH4 |
| 282 | |
| 283 | # SH-4A Processor Support |
| 284 | |
Paul Mundt | 178dd0c | 2008-04-09 17:56:18 +0900 | [diff] [blame] | 285 | config CPU_SUBTYPE_SH7723 |
| 286 | bool "Support SH7723 processor" |
| 287 | select CPU_SH4A |
| 288 | select CPU_SHX2 |
| 289 | select ARCH_SPARSEMEM_ENABLE |
Paul Mundt | 178dd0c | 2008-04-09 17:56:18 +0900 | [diff] [blame] | 290 | help |
| 291 | Select SH7723 if you have an SH-MobileR2 CPU. |
| 292 | |
Yoshihiro Shimoda | 7d740a0 | 2008-01-07 14:40:07 +0900 | [diff] [blame] | 293 | config CPU_SUBTYPE_SH7763 |
| 294 | bool "Support SH7763 processor" |
| 295 | select CPU_SH4A |
| 296 | help |
| 297 | Select SH7763 if you have a SH4A SH7763(R5S77631) CPU. |
| 298 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 299 | config CPU_SUBTYPE_SH7770 |
| 300 | bool "Support SH7770 processor" |
| 301 | select CPU_SH4A |
| 302 | |
| 303 | config CPU_SUBTYPE_SH7780 |
| 304 | bool "Support SH7780 processor" |
| 305 | select CPU_SH4A |
| 306 | |
| 307 | config CPU_SUBTYPE_SH7785 |
| 308 | bool "Support SH7785 processor" |
| 309 | select CPU_SH4A |
| 310 | select CPU_SHX2 |
| 311 | select ARCH_SPARSEMEM_ENABLE |
| 312 | select SYS_SUPPORTS_NUMA |
| 313 | |
| 314 | config CPU_SUBTYPE_SHX3 |
| 315 | bool "Support SH-X3 processor" |
| 316 | select CPU_SH4A |
| 317 | select CPU_SHX3 |
| 318 | select ARCH_SPARSEMEM_ENABLE |
| 319 | select SYS_SUPPORTS_NUMA |
| 320 | select SYS_SUPPORTS_SMP |
| 321 | |
| 322 | # SH4AL-DSP Processor Support |
| 323 | |
| 324 | config CPU_SUBTYPE_SH7343 |
| 325 | bool "Support SH7343 processor" |
| 326 | select CPU_SH4AL_DSP |
| 327 | |
| 328 | config CPU_SUBTYPE_SH7722 |
| 329 | bool "Support SH7722 processor" |
| 330 | select CPU_SH4AL_DSP |
| 331 | select CPU_SHX2 |
| 332 | select ARCH_SPARSEMEM_ENABLE |
| 333 | select SYS_SUPPORTS_NUMA |
| 334 | |
Magnus Damm | 9109a30 | 2008-02-08 17:31:24 +0900 | [diff] [blame] | 335 | config CPU_SUBTYPE_SH7366 |
| 336 | bool "Support SH7366 processor" |
| 337 | select CPU_SH4AL_DSP |
| 338 | select CPU_SHX2 |
| 339 | select ARCH_SPARSEMEM_ENABLE |
| 340 | select SYS_SUPPORTS_NUMA |
| 341 | |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 342 | # SH-5 Processor Support |
| 343 | |
| 344 | config CPU_SUBTYPE_SH5_101 |
| 345 | bool "Support SH5-101 processor" |
| 346 | select CPU_SH5 |
| 347 | |
| 348 | config CPU_SUBTYPE_SH5_103 |
| 349 | bool "Support SH5-103 processor" |
Paul Mundt | 8ef97dd | 2008-02-14 15:30:54 +0900 | [diff] [blame] | 350 | select CPU_SH5 |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 351 | |
Paul Mundt | b5f42db | 2007-11-08 18:38:14 +0900 | [diff] [blame] | 352 | endchoice |
| 353 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 354 | source "arch/sh/mm/Kconfig" |
Paul Mundt | 4690bdc | 2007-11-09 13:45:42 +0900 | [diff] [blame] | 355 | source "arch/sh/Kconfig.cpu" |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 356 | |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 357 | menu "Board support" |
| 358 | |
| 359 | config SOLUTION_ENGINE |
| 360 | bool |
| 361 | |
| 362 | config SH_SOLUTION_ENGINE |
| 363 | bool "SolutionEngine" |
| 364 | select SOLUTION_ENGINE |
Magnus Damm | 56386f6 | 2007-07-20 18:44:49 +0900 | [diff] [blame] | 365 | select CPU_HAS_IPR_IRQ |
Nobuhiro Iwamatsu | a819907 | 2007-11-05 07:44:41 +0900 | [diff] [blame] | 366 | depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \ |
| 367 | CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \ |
| 368 | CPU_SUBTYPE_SH7750R |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 369 | help |
Nobuhiro Iwamatsu | a819907 | 2007-11-05 07:44:41 +0900 | [diff] [blame] | 370 | Select SolutionEngine if configuring for a Hitachi SH7705, SH7709, |
| 371 | SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board. |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 372 | |
| 373 | config SH_7206_SOLUTION_ENGINE |
| 374 | bool "SolutionEngine7206" |
| 375 | select SOLUTION_ENGINE |
| 376 | depends on CPU_SUBTYPE_SH7206 |
| 377 | help |
| 378 | Select 7206 SolutionEngine if configuring for a Hitachi SH7206 |
| 379 | evaluation board. |
| 380 | |
| 381 | config SH_7619_SOLUTION_ENGINE |
| 382 | bool "SolutionEngine7619" |
| 383 | select SOLUTION_ENGINE |
| 384 | depends on CPU_SUBTYPE_SH7619 |
| 385 | help |
| 386 | Select 7619 SolutionEngine if configuring for a Hitachi SH7619 |
| 387 | evaluation board. |
| 388 | |
Yoshihiro Shimoda | 6e86299 | 2008-03-21 15:54:13 +0900 | [diff] [blame] | 389 | config SH_7721_SOLUTION_ENGINE |
| 390 | bool "SolutionEngine7721" |
| 391 | select SOLUTION_ENGINE |
| 392 | depends on CPU_SUBTYPE_SH7721 |
| 393 | help |
| 394 | Select 7721 SolutionEngine if configuring for a Hitachi SH7721 |
| 395 | evaluation board. |
| 396 | |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 397 | config SH_7722_SOLUTION_ENGINE |
| 398 | bool "SolutionEngine7722" |
| 399 | select SOLUTION_ENGINE |
| 400 | depends on CPU_SUBTYPE_SH7722 |
| 401 | help |
| 402 | Select 7722 SolutionEngine if configuring for a Hitachi SH772 |
| 403 | evaluation board. |
| 404 | |
| 405 | config SH_7751_SOLUTION_ENGINE |
| 406 | bool "SolutionEngine7751" |
| 407 | select SOLUTION_ENGINE |
Magnus Damm | 56386f6 | 2007-07-20 18:44:49 +0900 | [diff] [blame] | 408 | select CPU_HAS_IPR_IRQ |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 409 | depends on CPU_SUBTYPE_SH7751 |
| 410 | help |
| 411 | Select 7751 SolutionEngine if configuring for a Hitachi SH7751 |
| 412 | evaluation board. |
| 413 | |
| 414 | config SH_7780_SOLUTION_ENGINE |
| 415 | bool "SolutionEngine7780" |
| 416 | select SOLUTION_ENGINE |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 417 | select SYS_SUPPORTS_PCI |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 418 | depends on CPU_SUBTYPE_SH7780 |
| 419 | help |
| 420 | Select 7780 SolutionEngine if configuring for a Renesas SH7780 |
| 421 | evaluation board. |
| 422 | |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 423 | config SH_7343_SOLUTION_ENGINE |
| 424 | bool "SolutionEngine7343" |
| 425 | select SOLUTION_ENGINE |
| 426 | depends on CPU_SUBTYPE_SH7343 |
| 427 | help |
| 428 | Select 7343 SolutionEngine if configuring for a Hitachi |
| 429 | SH7343 (SH-Mobile 3AS) evaluation board. |
| 430 | |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 431 | config SH_7751_SYSTEMH |
| 432 | bool "SystemH7751R" |
| 433 | depends on CPU_SUBTYPE_SH7751R |
| 434 | help |
| 435 | Select SystemH if you are configuring for a Renesas SystemH |
| 436 | 7751R evaluation board. |
| 437 | |
| 438 | config SH_HP6XX |
| 439 | bool "HP6XX" |
| 440 | select SYS_SUPPORTS_APM_EMULATION |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 441 | select HD6446X_SERIES |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 442 | depends on CPU_SUBTYPE_SH7709 |
| 443 | help |
| 444 | Select HP6XX if configuring for a HP jornada HP6xx. |
| 445 | More information (hardware only) at |
| 446 | <http://www.hp.com/jornada/>. |
| 447 | |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 448 | config SH_DREAMCAST |
| 449 | bool "Dreamcast" |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 450 | select SYS_SUPPORTS_PCI |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 451 | depends on CPU_SUBTYPE_SH7091 |
| 452 | help |
| 453 | Select Dreamcast if configuring for a SEGA Dreamcast. |
Adrian McMenamin | ad07b10 | 2007-10-15 10:38:31 +0900 | [diff] [blame] | 454 | More information at <http://www.linux-sh.org> |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 455 | |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 456 | config SH_SH03 |
| 457 | bool "Interface CTP/PCI-SH03" |
Magnus Damm | d59645d | 2007-08-03 14:23:35 +0900 | [diff] [blame] | 458 | depends on CPU_SUBTYPE_SH7751 |
Magnus Damm | 56386f6 | 2007-07-20 18:44:49 +0900 | [diff] [blame] | 459 | select CPU_HAS_IPR_IRQ |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 460 | select SYS_SUPPORTS_PCI |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 461 | help |
| 462 | CTP/PCI-SH03 is a CPU module computer that is produced |
| 463 | by Interface Corporation. |
| 464 | More information at <http://www.interface.co.jp> |
| 465 | |
| 466 | config SH_SECUREEDGE5410 |
| 467 | bool "SecureEdge5410" |
| 468 | depends on CPU_SUBTYPE_SH7751R |
Magnus Damm | 56386f6 | 2007-07-20 18:44:49 +0900 | [diff] [blame] | 469 | select CPU_HAS_IPR_IRQ |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 470 | select SYS_SUPPORTS_PCI |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 471 | help |
| 472 | Select SecureEdge5410 if configuring for a SnapGear SH board. |
| 473 | This includes both the OEM SecureEdge products as well as the |
| 474 | SME product line. |
| 475 | |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 476 | config SH_RTS7751R2D |
| 477 | bool "RTS7751R2D" |
| 478 | depends on CPU_SUBTYPE_SH7751R |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 479 | select SYS_SUPPORTS_PCI |
Magnus Damm | 2d952b4 | 2008-02-07 20:21:10 +0900 | [diff] [blame] | 480 | select IO_TRAPPED |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 481 | help |
| 482 | Select RTS7751R2D if configuring for a Renesas Technology |
| 483 | Sales SH-Graphics board. |
| 484 | |
Paul Mundt | 3787aa1 | 2008-05-19 16:47:56 +0900 | [diff] [blame] | 485 | config SH_RSK7203 |
| 486 | bool "RSK7203" |
| 487 | depends on CPU_SUBTYPE_SH7203 |
| 488 | |
Nicholas Beck | 4862ec0 | 2008-01-23 12:50:51 +0900 | [diff] [blame] | 489 | config SH_SDK7780 |
| 490 | bool "SDK7780R3" |
| 491 | depends on CPU_SUBTYPE_SH7780 |
| 492 | select SYS_SUPPORTS_PCI |
| 493 | help |
| 494 | Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3 |
| 495 | evaluation board. |
| 496 | |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 497 | config SH_HIGHLANDER |
| 498 | bool "Highlander" |
| 499 | depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 500 | select SYS_SUPPORTS_PCI |
Magnus Damm | c1a34e4 | 2008-02-07 20:23:53 +0900 | [diff] [blame] | 501 | select IO_TRAPPED |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 502 | |
Yoshihiro Shimoda | cbe9da0 | 2008-07-16 20:21:09 +0900 | [diff] [blame] | 503 | config SH_SH7785LCR |
| 504 | bool "SH7785LCR" |
| 505 | depends on CPU_SUBTYPE_SH7785 |
| 506 | select SYS_SUPPORTS_PCI |
| 507 | select IO_TRAPPED |
| 508 | |
| 509 | config SH_SH7785LCR_29BIT_PHYSMAPS |
| 510 | bool "SH7785LCR 29bit physmaps" |
| 511 | depends on SH_SH7785LCR |
| 512 | default y |
| 513 | help |
| 514 | This board has 2 physical memory maps. It can be changed with |
| 515 | DIP switch(S2-5). If you set the DIP switch for S2-5 = ON, |
| 516 | you can access all on-board device in 29bit address mode. |
| 517 | |
Magnus Damm | 70f784e | 2008-02-07 00:38:24 +0900 | [diff] [blame] | 518 | config SH_MIGOR |
| 519 | bool "Migo-R" |
| 520 | depends on CPU_SUBTYPE_SH7722 |
| 521 | help |
| 522 | Select Migo-R if configuring for the SH7722 Migo-R platform |
| 523 | by Renesas System Solutions Asia Pte. Ltd. |
| 524 | |
Yusuke Goda | 04e917b | 2008-06-06 17:03:23 +0900 | [diff] [blame] | 525 | config SH_AP325RXA |
| 526 | bool "AP-325RXA" |
Nobuhiro Iwamatsu | 7c93d87 | 2008-06-19 19:27:55 +0900 | [diff] [blame] | 527 | depends on CPU_SUBTYPE_SH7723 |
Yusuke Goda | 04e917b | 2008-06-06 17:03:23 +0900 | [diff] [blame] | 528 | help |
| 529 | Renesas "AP-325RXA" support. |
| 530 | Compatible with ALGO SYSTEM CO.,LTD. "AP-320A" |
| 531 | |
Nobuhiro Iwamatsu | 4cec1a3 | 2008-06-06 17:04:56 +0900 | [diff] [blame] | 532 | config SH_SH7763RDP |
| 533 | bool "SH7763RDP" |
| 534 | depends on CPU_SUBTYPE_SH7763 |
| 535 | help |
| 536 | Select SH7763RDP if configuring for a Renesas SH7763 |
| 537 | evaluation board. |
| 538 | |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 539 | config SH_EDOSK7705 |
| 540 | bool "EDOSK7705" |
| 541 | depends on CPU_SUBTYPE_SH7705 |
| 542 | |
| 543 | config SH_SH4202_MICRODEV |
| 544 | bool "SH4-202 MicroDev" |
| 545 | depends on CPU_SUBTYPE_SH4_202 |
| 546 | help |
| 547 | Select SH4-202 MicroDev if configuring for a SuperH MicroDev board |
| 548 | with an SH4-202 CPU. |
| 549 | |
| 550 | config SH_LANDISK |
| 551 | bool "LANDISK" |
| 552 | depends on CPU_SUBTYPE_SH7751R |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 553 | select SYS_SUPPORTS_PCI |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 554 | help |
| 555 | I-O DATA DEVICE, INC. "LANDISK Series" support. |
| 556 | |
| 557 | config SH_TITAN |
| 558 | bool "TITAN" |
| 559 | depends on CPU_SUBTYPE_SH7751R |
Magnus Damm | 56386f6 | 2007-07-20 18:44:49 +0900 | [diff] [blame] | 560 | select CPU_HAS_IPR_IRQ |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 561 | select SYS_SUPPORTS_PCI |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 562 | help |
| 563 | Select Titan if you are configuring for a Nimble Microsystems |
| 564 | NetEngine NP51R. |
| 565 | |
| 566 | config SH_SHMIN |
| 567 | bool "SHMIN" |
| 568 | depends on CPU_SUBTYPE_SH7706 |
Magnus Damm | 56386f6 | 2007-07-20 18:44:49 +0900 | [diff] [blame] | 569 | select CPU_HAS_IPR_IRQ |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 570 | help |
| 571 | Select SHMIN if configuring for the SHMIN board. |
| 572 | |
| 573 | config SH_LBOX_RE2 |
| 574 | bool "L-BOX RE2" |
| 575 | depends on CPU_SUBTYPE_SH7751R |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 576 | select SYS_SUPPORTS_PCI |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 577 | help |
| 578 | Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2. |
| 579 | |
Paul Mundt | 94807a3 | 2007-08-08 15:22:04 +0900 | [diff] [blame] | 580 | config SH_X3PROTO |
| 581 | bool "SH-X3 Prototype board" |
| 582 | depends on CPU_SUBTYPE_SHX3 |
| 583 | |
Markus Brunner | ded5431 | 2007-09-12 11:54:58 +0900 | [diff] [blame] | 584 | config SH_MAGIC_PANEL_R2 |
| 585 | bool "Magic Panel R2" |
| 586 | depends on CPU_SUBTYPE_SH7720 |
| 587 | help |
| 588 | Select Magic Panel R2 if configuring for Magic Panel R2. |
| 589 | |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 590 | config SH_CAYMAN |
| 591 | bool "Hitachi Cayman" |
| 592 | depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103 |
Paul Mundt | b6d7b66 | 2007-11-22 16:29:10 +0900 | [diff] [blame] | 593 | select SYS_SUPPORTS_PCI |
Paul Mundt | ea0e1a9 | 2007-11-21 15:58:01 +0900 | [diff] [blame] | 594 | |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 595 | endmenu |
| 596 | |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 597 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" |
| 598 | source "arch/sh/boards/renesas/r7780rp/Kconfig" |
Nicholas Beck | 4862ec0 | 2008-01-23 12:50:51 +0900 | [diff] [blame] | 599 | source "arch/sh/boards/renesas/sdk7780/Kconfig" |
Magnus Damm | 8b1285f | 2008-07-28 18:47:30 +0900 | [diff] [blame] | 600 | source "arch/sh/boards/renesas/migor/Kconfig" |
Markus Brunner | ded5431 | 2007-09-12 11:54:58 +0900 | [diff] [blame] | 601 | source "arch/sh/boards/magicpanelr2/Kconfig" |
Paul Mundt | f3d2229 | 2007-05-14 17:29:12 +0900 | [diff] [blame] | 602 | |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 603 | menu "Timer and clock configuration" |
| 604 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 605 | config SH_TMU |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 606 | def_bool y |
| 607 | prompt "TMU timer support" |
Yoshinori Sato | 9d4436a | 2006-11-05 15:40:13 +0900 | [diff] [blame] | 608 | depends on CPU_SH3 || CPU_SH4 |
Paul Mundt | 57be2b4 | 2007-05-09 17:33:24 +0900 | [diff] [blame] | 609 | select GENERIC_TIME |
| 610 | select GENERIC_CLOCKEVENTS |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 611 | help |
| 612 | This enables the use of the TMU as the system timer. |
| 613 | |
Yoshinori Sato | 9d4436a | 2006-11-05 15:40:13 +0900 | [diff] [blame] | 614 | config SH_CMT |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 615 | def_bool y |
| 616 | prompt "CMT timer support" |
Paul Mundt | 2ad6990 | 2008-03-13 12:52:44 +0900 | [diff] [blame] | 617 | depends on CPU_SH2 && !CPU_SUBTYPE_MXG |
Yoshinori Sato | 9d4436a | 2006-11-05 15:40:13 +0900 | [diff] [blame] | 618 | help |
| 619 | This enables the use of the CMT as the system timer. |
| 620 | |
| 621 | config SH_MTU2 |
Harvey Harrison | d7ef4fb | 2007-12-11 13:49:35 +0900 | [diff] [blame] | 622 | def_bool n |
| 623 | prompt "MTU2 timer support" |
Yoshinori Sato | 9d4436a | 2006-11-05 15:40:13 +0900 | [diff] [blame] | 624 | depends on CPU_SH2A |
Yoshinori Sato | 9d4436a | 2006-11-05 15:40:13 +0900 | [diff] [blame] | 625 | help |
| 626 | This enables the use of the MTU2 as the system timer. |
| 627 | |
Paul Mundt | 417528a | 2006-11-20 11:18:30 +0900 | [diff] [blame] | 628 | config SH_TIMER_IRQ |
| 629 | int |
Yoshihiro Shimoda | 7d740a0 | 2008-01-07 14:40:07 +0900 | [diff] [blame] | 630 | default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \ |
| 631 | CPU_SUBTYPE_SH7763 |
Paul Mundt | 417528a | 2006-11-20 11:18:30 +0900 | [diff] [blame] | 632 | default "86" if CPU_SUBTYPE_SH7619 |
| 633 | default "140" if CPU_SUBTYPE_SH7206 |
Paul Mundt | 2b2d4e7 | 2008-03-13 19:51:06 +0900 | [diff] [blame] | 634 | default "142" if CPU_SUBTYPE_SH7203 |
Paul Mundt | 2ad6990 | 2008-03-13 12:52:44 +0900 | [diff] [blame] | 635 | default "238" if CPU_SUBTYPE_MXG |
Paul Mundt | 417528a | 2006-11-20 11:18:30 +0900 | [diff] [blame] | 636 | default "16" |
| 637 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 638 | config SH_PCLK_FREQ |
| 639 | int "Peripheral clock frequency (in Hz)" |
Magnus Damm | 870e8a2 | 2007-07-25 10:49:21 +0900 | [diff] [blame] | 640 | default "27000000" if CPU_SUBTYPE_SH7343 |
Yoshinori Sato | 9d4436a | 2006-11-05 15:40:13 +0900 | [diff] [blame] | 641 | default "31250000" if CPU_SUBTYPE_SH7619 |
Paul Mundt | 0562748 | 2007-05-15 16:25:47 +0900 | [diff] [blame] | 642 | default "32000000" if CPU_SUBTYPE_SH7722 |
Paul Mundt | 178dd0c | 2008-04-09 17:56:18 +0900 | [diff] [blame] | 643 | default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \ |
Yoshinori Sato | 9d4436a | 2006-11-05 15:40:13 +0900 | [diff] [blame] | 644 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ |
Paul Mundt | a8f67f4 | 2007-11-26 19:54:02 +0900 | [diff] [blame] | 645 | CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \ |
Paul Mundt | 2ad6990 | 2008-03-13 12:52:44 +0900 | [diff] [blame] | 646 | CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG |
Paul Mundt | 0562748 | 2007-05-15 16:25:47 +0900 | [diff] [blame] | 647 | default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 648 | default "66000000" if CPU_SUBTYPE_SH4_202 |
Paul Mundt | 0562748 | 2007-05-15 16:25:47 +0900 | [diff] [blame] | 649 | default "50000000" |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 650 | help |
| 651 | This option is used to specify the peripheral clock frequency. |
| 652 | This is necessary for determining the reference clock value on |
| 653 | platforms lacking an RTC. |
| 654 | |
Yoshinori Sato | 9d4436a | 2006-11-05 15:40:13 +0900 | [diff] [blame] | 655 | config SH_CLK_MD |
| 656 | int "CPU Mode Pin Setting" |
Paul Mundt | 6d01f51 | 2007-11-26 18:17:21 +0900 | [diff] [blame] | 657 | depends on CPU_SH2 |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 658 | default 6 if CPU_SUBTYPE_SH7206 |
| 659 | default 5 if CPU_SUBTYPE_SH7619 |
| 660 | default 0 |
Yoshinori Sato | 9d4436a | 2006-11-05 15:40:13 +0900 | [diff] [blame] | 661 | help |
Yoshinori Sato | 11cbb70 | 2006-12-07 18:07:27 +0900 | [diff] [blame] | 662 | MD2 - MD0 pin setting. |
Yoshinori Sato | 9d4436a | 2006-11-05 15:40:13 +0900 | [diff] [blame] | 663 | |
Paul Mundt | 57be2b4 | 2007-05-09 17:33:24 +0900 | [diff] [blame] | 664 | source "kernel/time/Kconfig" |
| 665 | |
Paul Mundt | 32351a2 | 2007-03-12 14:38:59 +0900 | [diff] [blame] | 666 | endmenu |
| 667 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 668 | menu "CPU Frequency scaling" |
| 669 | |
| 670 | source "drivers/cpufreq/Kconfig" |
| 671 | |
| 672 | config SH_CPU_FREQ |
| 673 | tristate "SuperH CPU Frequency driver" |
Paul Mundt | cb5ec75 | 2007-07-20 13:38:19 +0900 | [diff] [blame] | 674 | depends on CPU_FREQ |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 675 | select CPU_FREQ_TABLE |
| 676 | help |
| 677 | This adds the cpufreq driver for SuperH. At present, only |
| 678 | the SH-4 is supported. |
| 679 | |
| 680 | For details, take a look at <file:Documentation/cpu-freq>. |
| 681 | |
| 682 | If unsure, say N. |
| 683 | |
| 684 | endmenu |
| 685 | |
Paul Mundt | 9f5e8ee | 2006-11-24 11:22:57 +0900 | [diff] [blame] | 686 | source "arch/sh/drivers/Kconfig" |
| 687 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 688 | endmenu |
| 689 | |
| 690 | config ISA_DMA_API |
Adrian Bunk | f5f826c | 2008-03-31 01:40:17 +0300 | [diff] [blame] | 691 | bool |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 692 | |
| 693 | menu "Kernel features" |
| 694 | |
Paul Mundt | 91b91d0 | 2006-09-27 18:08:33 +0900 | [diff] [blame] | 695 | source kernel/Kconfig.hz |
| 696 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 697 | config KEXEC |
| 698 | bool "kexec system call (EXPERIMENTAL)" |
Paul Mundt | 640f748 | 2008-04-25 13:04:56 +0900 | [diff] [blame] | 699 | depends on SUPERH32 && EXPERIMENTAL |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 700 | help |
| 701 | kexec is a system call that implements the ability to shutdown your |
| 702 | current kernel, and to start another kernel. It is like a reboot |
Matt LaPlante | 1f1332f | 2006-06-29 01:32:47 -0400 | [diff] [blame] | 703 | but it is independent of the system firmware. And like a reboot |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 704 | you can start any kernel with it, not just Linux. |
| 705 | |
Matt LaPlante | 1f1332f | 2006-06-29 01:32:47 -0400 | [diff] [blame] | 706 | The name comes from the similarity to the exec system call. |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 707 | |
| 708 | It is an ongoing process to be certain the hardware in a machine |
| 709 | is properly shutdown, so do not be surprised if this code does not |
| 710 | initially work for you. It may help to enable device hotplugging |
| 711 | support. As of this writing the exact hardware interface is |
| 712 | strongly in flux, so no good recommendation can be made. |
| 713 | |
Paul Mundt | 4d5ade5 | 2007-04-27 11:25:57 +0900 | [diff] [blame] | 714 | config CRASH_DUMP |
| 715 | bool "kernel crash dumps (EXPERIMENTAL)" |
Paul Mundt | 640f748 | 2008-04-25 13:04:56 +0900 | [diff] [blame] | 716 | depends on SUPERH32 && EXPERIMENTAL |
Paul Mundt | 4d5ade5 | 2007-04-27 11:25:57 +0900 | [diff] [blame] | 717 | help |
| 718 | Generate crash dump after being started by kexec. |
| 719 | This should be normally only set in special crash dump kernels |
| 720 | which are loaded in the main kernel with kexec-tools into |
| 721 | a specially reserved region and then later executed after |
| 722 | a crash by kdump/kexec. The crash dump kernel must be compiled |
| 723 | to a memory address not used by the main kernel using |
| 724 | MEMORY_START. |
| 725 | |
| 726 | For more details see Documentation/kdump/kdump.txt |
| 727 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 728 | config SMP |
| 729 | bool "Symmetric multi-processing support" |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 730 | depends on SYS_SUPPORTS_SMP |
Jens Axboe | 490f5de | 2008-06-10 20:52:59 +0200 | [diff] [blame] | 731 | select USE_GENERIC_SMP_HELPERS |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 732 | ---help--- |
| 733 | This enables support for systems with more than one CPU. If you have |
| 734 | a system with only one CPU, like most personal computers, say N. If |
| 735 | you have a system with more than one CPU, say Y. |
| 736 | |
| 737 | If you say N here, the kernel will run on single and multiprocessor |
| 738 | machines, but will use only one CPU of a multiprocessor machine. If |
| 739 | you say Y here, the kernel will run on many, but not all, |
| 740 | singleprocessor machines. On a singleprocessor machine, the kernel |
| 741 | will run faster if you say N here. |
| 742 | |
| 743 | People using multiprocessor machines who say Y here should also say |
| 744 | Y to "Enhanced Real Time Clock Support", below. |
| 745 | |
Adrian Bunk | 03502fa | 2008-02-03 15:50:21 +0200 | [diff] [blame] | 746 | See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO |
| 747 | available at <http://www.tldp.org/docs.html#howto>. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 748 | |
| 749 | If you don't know what to do here, say N. |
| 750 | |
| 751 | config NR_CPUS |
| 752 | int "Maximum number of CPUs (2-32)" |
| 753 | range 2 32 |
| 754 | depends on SMP |
Paul Mundt | 2b1bd1a | 2007-06-20 18:27:10 +0900 | [diff] [blame] | 755 | default "4" if CPU_SHX3 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 756 | default "2" |
| 757 | help |
| 758 | This allows you to specify the maximum number of CPUs which this |
| 759 | kernel will support. The maximum supported value is 32 and the |
| 760 | minimum value which makes sense is 2. |
| 761 | |
| 762 | This is purely to save memory - each supported CPU adds |
| 763 | approximately eight kilobytes to the kernel image. |
| 764 | |
Paul Mundt | 91b91d0 | 2006-09-27 18:08:33 +0900 | [diff] [blame] | 765 | source "kernel/Kconfig.preempt" |
| 766 | |
Paul Mundt | 8366246 | 2007-09-28 16:04:49 +0900 | [diff] [blame] | 767 | config GUSA |
| 768 | def_bool y |
Stuart Menefy | 1efe4ce | 2007-11-30 16:12:36 +0900 | [diff] [blame] | 769 | depends on !SMP && SUPERH32 |
Paul Mundt | 8366246 | 2007-09-28 16:04:49 +0900 | [diff] [blame] | 770 | help |
| 771 | This enables support for gUSA (general UserSpace Atomicity). |
| 772 | This is the default implementation for both UP and non-ll/sc |
| 773 | CPUs, and is used by the libc, amongst others. |
| 774 | |
| 775 | For additional information, design information can be found |
| 776 | in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>. |
| 777 | |
| 778 | This should only be disabled for special cases where alternate |
| 779 | atomicity implementations exist. |
| 780 | |
Stuart Menefy | 1efe4ce | 2007-11-30 16:12:36 +0900 | [diff] [blame] | 781 | config GUSA_RB |
| 782 | bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)" |
| 783 | depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A) |
| 784 | help |
| 785 | Enabling this option will allow the kernel to implement some |
| 786 | atomic operations using a software implemention of load-locked/ |
| 787 | store-conditional (LLSC). On machines which do not have hardware |
| 788 | LLSC, this should be more efficient than the other alternative of |
| 789 | disabling insterrupts around the atomic sequence. |
| 790 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 791 | endmenu |
| 792 | |
| 793 | menu "Boot options" |
| 794 | |
| 795 | config ZERO_PAGE_OFFSET |
| 796 | hex "Zero page offset" |
Adrian Bunk | f5f826c | 2008-03-31 01:40:17 +0300 | [diff] [blame] | 797 | default "0x00004000" if SH_SH03 |
Paul Mundt | 7a847f8 | 2006-12-26 15:29:19 +0900 | [diff] [blame] | 798 | default "0x00010000" if PAGE_SIZE_64KB |
| 799 | default "0x00002000" if PAGE_SIZE_8KB |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 800 | default "0x00001000" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 801 | help |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 802 | This sets the default offset of zero page. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 803 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 804 | config BOOT_LINK_OFFSET |
| 805 | hex "Link address offset for booting" |
| 806 | default "0x00800000" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 807 | help |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 808 | This option allows you to set the link address offset of the zImage. |
| 809 | This can be useful if you are on a board which has a small amount of |
| 810 | memory. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 811 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 812 | config UBC_WAKEUP |
| 813 | bool "Wakeup UBC on startup" |
Paul Mundt | 0e3a9aa | 2007-11-06 15:55:36 +0900 | [diff] [blame] | 814 | depends on CPU_SH4 && !CPU_SH4A |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 815 | help |
| 816 | Selecting this option will wakeup the User Break Controller (UBC) on |
| 817 | startup. Although the UBC is left in an awake state when the processor |
| 818 | comes up, some boot loaders misbehave by putting the UBC to sleep in a |
| 819 | power saving state, which causes issues with things like ptrace(). |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 820 | |
| 821 | If unsure, say N. |
| 822 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 823 | config CMDLINE_BOOL |
| 824 | bool "Default bootloader kernel arguments" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 825 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 826 | config CMDLINE |
| 827 | string "Initial kernel command string" |
| 828 | depends on CMDLINE_BOOL |
| 829 | default "console=ttySC1,115200" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 830 | |
| 831 | endmenu |
| 832 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 833 | menu "Bus options" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 834 | |
| 835 | # Even on SuperH devices which don't have an ISA bus, |
| 836 | # this variable helps the PCMCIA modules handle |
| 837 | # IRQ requesting properly -- Greg Banks. |
| 838 | # |
| 839 | # Though we're generally not interested in it when |
| 840 | # we're not using PCMCIA, so we make it dependent on |
| 841 | # PCMCIA outright. -- PFM. |
| 842 | config ISA |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 843 | def_bool y |
| 844 | depends on PCMCIA && HD6446X_SERIES |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 845 | help |
| 846 | Find out whether you have ISA slots on your motherboard. ISA is the |
| 847 | name of a bus system, i.e. the way the CPU talks to the other stuff |
| 848 | inside your box. Other bus systems are PCI, EISA, MicroChannel |
| 849 | (MCA) or VESA. ISA is an older system, now being displaced by PCI; |
| 850 | newer boards don't support it. If you have ISA, say Y, otherwise N. |
| 851 | |
| 852 | config EISA |
| 853 | bool |
| 854 | ---help--- |
| 855 | The Extended Industry Standard Architecture (EISA) bus was |
| 856 | developed as an open alternative to the IBM MicroChannel bus. |
| 857 | |
| 858 | The EISA bus provided some of the features of the IBM MicroChannel |
| 859 | bus while maintaining backward compatibility with cards made for |
| 860 | the older ISA bus. The EISA bus saw limited use between 1988 and |
| 861 | 1995 when it was made obsolete by the PCI bus. |
| 862 | |
| 863 | Say Y here if you are building a kernel for an EISA-based machine. |
| 864 | |
| 865 | Otherwise, say N. |
| 866 | |
| 867 | config MCA |
| 868 | bool |
| 869 | help |
| 870 | MicroChannel Architecture is found in some IBM PS/2 machines and |
| 871 | laptops. It is a bus system similar to PCI or ISA. See |
| 872 | <file:Documentation/mca.txt> (and especially the web page given |
| 873 | there) before attempting to build an MCA bus kernel. |
| 874 | |
| 875 | config SBUS |
| 876 | bool |
| 877 | |
Paul Mundt | cad8244 | 2006-01-16 22:14:19 -0800 | [diff] [blame] | 878 | config SUPERHYWAY |
| 879 | tristate "SuperHyway Bus support" |
| 880 | depends on CPU_SUBTYPE_SH4_202 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 881 | |
Adrian McMenamin | 17be2d2 | 2007-09-21 15:55:55 +0900 | [diff] [blame] | 882 | config MAPLE |
| 883 | bool "Maple Bus support" |
| 884 | depends on SH_DREAMCAST |
| 885 | help |
| 886 | The Maple Bus is SEGA's serial communication bus for peripherals |
| 887 | on the Dreamcast. Without this bus support you won't be able to |
| 888 | get your Dreamcast keyboard etc to work, so most users |
| 889 | probably want to say 'Y' here, unless you are only using the |
| 890 | Dreamcast with a serial line terminal or a remote network |
| 891 | connection. |
| 892 | |
Paul Mundt | 824e55f | 2007-06-20 18:01:52 +0900 | [diff] [blame] | 893 | config CF_ENABLER |
| 894 | bool "Compact Flash Enabler support" |
| 895 | depends on SOLUTION_ENGINE || SH_SH03 |
| 896 | ---help--- |
| 897 | Compact Flash is a small, removable mass storage device introduced |
| 898 | in 1994 originally as a PCMCIA device. If you say `Y' here, you |
| 899 | compile in support for Compact Flash devices directly connected to |
| 900 | a SuperH processor. A Compact Flash FAQ is available at |
| 901 | <http://www.compactflash.org/faqs/faq.htm>. |
| 902 | |
| 903 | If your board has "Directly Connected" CompactFlash at area 5 or 6, |
| 904 | you may want to enable this option. Then, you can use CF as |
| 905 | primary IDE drive (only tested for SanDisk). |
| 906 | |
| 907 | If in doubt, select 'N'. |
| 908 | |
| 909 | choice |
| 910 | prompt "Compact Flash Connection Area" |
| 911 | depends on CF_ENABLER |
| 912 | default CF_AREA6 |
| 913 | |
| 914 | config CF_AREA5 |
| 915 | bool "Area5" |
| 916 | help |
| 917 | If your board has "Directly Connected" CompactFlash, You should |
| 918 | select the area where your CF is connected to. |
| 919 | |
| 920 | - "Area5" if CompactFlash is connected to Area 5 (0x14000000) |
| 921 | - "Area6" if it is connected to Area 6 (0x18000000) |
| 922 | |
| 923 | "Area6" will work for most boards. |
| 924 | |
| 925 | config CF_AREA6 |
| 926 | bool "Area6" |
| 927 | |
| 928 | endchoice |
| 929 | |
| 930 | config CF_BASE_ADDR |
| 931 | hex |
| 932 | depends on CF_ENABLER |
| 933 | default "0xb8000000" if CF_AREA6 |
| 934 | default "0xb4000000" if CF_AREA5 |
| 935 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 936 | source "arch/sh/drivers/pci/Kconfig" |
| 937 | |
| 938 | source "drivers/pci/Kconfig" |
| 939 | |
| 940 | source "drivers/pcmcia/Kconfig" |
| 941 | |
| 942 | source "drivers/pci/hotplug/Kconfig" |
| 943 | |
| 944 | endmenu |
| 945 | |
| 946 | menu "Executable file formats" |
| 947 | |
| 948 | source "fs/Kconfig.binfmt" |
| 949 | |
| 950 | endmenu |
| 951 | |
Andriy Skulysh | 3aa770e | 2006-09-27 16:20:22 +0900 | [diff] [blame] | 952 | menu "Power management options (EXPERIMENTAL)" |
Paul Mundt | 357d594 | 2007-06-11 15:32:07 +0900 | [diff] [blame] | 953 | depends on EXPERIMENTAL && SYS_SUPPORTS_PM |
Andriy Skulysh | 3aa770e | 2006-09-27 16:20:22 +0900 | [diff] [blame] | 954 | |
Johannes Berg | f4cb570 | 2007-12-08 02:14:00 +0100 | [diff] [blame] | 955 | config ARCH_SUSPEND_POSSIBLE |
| 956 | def_bool y |
| 957 | depends on !SMP |
| 958 | |
Andriy Skulysh | 3aa770e | 2006-09-27 16:20:22 +0900 | [diff] [blame] | 959 | source kernel/power/Kconfig |
| 960 | |
Andriy Skulysh | 3aa770e | 2006-09-27 16:20:22 +0900 | [diff] [blame] | 961 | endmenu |
| 962 | |
Sam Ravnborg | d5950b4 | 2005-07-11 21:03:49 -0700 | [diff] [blame] | 963 | source "net/Kconfig" |
| 964 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 965 | source "drivers/Kconfig" |
| 966 | |
| 967 | source "fs/Kconfig" |
| 968 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 969 | source "arch/sh/Kconfig.debug" |
| 970 | |
| 971 | source "security/Kconfig" |
| 972 | |
| 973 | source "crypto/Kconfig" |
| 974 | |
| 975 | source "lib/Kconfig" |