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 |
| 9 | bool |
| 10 | default y |
| 11 | help |
| 12 | The SuperH is a RISC processor targeted for use in embedded systems |
| 13 | and consumer electronics; it was also used in the Sega Dreamcast |
| 14 | gaming console. The SuperH port has a home page at |
| 15 | <http://www.linux-sh.org/>. |
| 16 | |
| 17 | config UID16 |
| 18 | bool |
| 19 | default y |
| 20 | |
| 21 | config RWSEM_GENERIC_SPINLOCK |
| 22 | bool |
| 23 | default y |
| 24 | |
| 25 | config RWSEM_XCHGADD_ALGORITHM |
| 26 | bool |
| 27 | |
| 28 | config GENERIC_HARDIRQS |
| 29 | bool |
| 30 | default y |
| 31 | |
| 32 | config GENERIC_IRQ_PROBE |
| 33 | bool |
| 34 | default y |
| 35 | |
| 36 | config GENERIC_CALIBRATE_DELAY |
| 37 | bool |
| 38 | default y |
| 39 | |
| 40 | source "init/Kconfig" |
| 41 | |
| 42 | menu "System type" |
| 43 | |
| 44 | choice |
| 45 | prompt "SuperH system type" |
| 46 | default SH_UNKNOWN |
| 47 | |
| 48 | config SH_SOLUTION_ENGINE |
| 49 | bool "SolutionEngine" |
| 50 | help |
| 51 | Select SolutionEngine if configuring for a Hitachi SH7709 |
| 52 | or SH7750 evaluation board. |
| 53 | |
| 54 | config SH_7751_SOLUTION_ENGINE |
| 55 | bool "SolutionEngine7751" |
| 56 | help |
| 57 | Select 7751 SolutionEngine if configuring for a Hitachi SH7751 |
| 58 | evaluation board. |
| 59 | |
| 60 | config SH_7300_SOLUTION_ENGINE |
| 61 | bool "SolutionEngine7300" |
| 62 | help |
| 63 | Select 7300 SolutionEngine if configuring for a Hitachi SH7300(SH-Mobile V) |
| 64 | evaluation board. |
| 65 | |
| 66 | config SH_73180_SOLUTION_ENGINE |
| 67 | bool "SolutionEngine73180" |
| 68 | help |
| 69 | Select 73180 SolutionEngine if configuring for a Hitachi SH73180(SH-Mobile 3) |
| 70 | evaluation board. |
| 71 | |
| 72 | config SH_7751_SYSTEMH |
| 73 | bool "SystemH7751R" |
| 74 | help |
| 75 | Select SystemH if you are configuring for a Renesas SystemH |
| 76 | 7751R evaluation board. |
| 77 | |
| 78 | config SH_STB1_HARP |
| 79 | bool "STB1_Harp" |
| 80 | |
| 81 | config SH_STB1_OVERDRIVE |
| 82 | bool "STB1_Overdrive" |
| 83 | |
| 84 | config SH_HP620 |
| 85 | bool "HP620" |
| 86 | help |
| 87 | Select HP620 if configuring for a HP jornada HP620. |
| 88 | More information (hardware only) at |
| 89 | <http://www.hp.com/jornada/>. |
| 90 | |
| 91 | config SH_HP680 |
| 92 | bool "HP680" |
| 93 | help |
| 94 | Select HP680 if configuring for a HP Jornada HP680. |
| 95 | More information (hardware only) at |
| 96 | <http://www.hp.com/jornada/products/680/>. |
| 97 | |
| 98 | config SH_HP690 |
| 99 | bool "HP690" |
| 100 | help |
| 101 | Select HP690 if configuring for a HP Jornada HP690. |
| 102 | More information (hardware only) |
| 103 | at <http://www.hp.com/jornada/products/680/>. |
| 104 | |
| 105 | config SH_CQREEK |
| 106 | bool "CqREEK" |
| 107 | help |
| 108 | Select CqREEK if configuring for a CqREEK SH7708 or SH7750. |
| 109 | More information at |
| 110 | <http://sources.redhat.com/ecos/hardware.html#SuperH>. |
| 111 | |
| 112 | config SH_DMIDA |
| 113 | bool "DMIDA" |
| 114 | help |
| 115 | Select DMIDA if configuring for a DataMyte 4000 Industrial |
| 116 | Digital Assistant. More information at <http://www.dmida.com/>. |
| 117 | |
| 118 | config SH_EC3104 |
| 119 | bool "EC3104" |
| 120 | help |
| 121 | Select EC3104 if configuring for a system with an Eclipse |
| 122 | International EC3104 chip, e.g. the Harris AD2000. |
| 123 | |
| 124 | config SH_SATURN |
| 125 | bool "Saturn" |
| 126 | help |
| 127 | Select Saturn if configuring for a SEGA Saturn. |
| 128 | |
| 129 | config SH_DREAMCAST |
| 130 | bool "Dreamcast" |
| 131 | help |
| 132 | Select Dreamcast if configuring for a SEGA Dreamcast. |
| 133 | More information at |
| 134 | <http://www.m17n.org/linux-sh/dreamcast/>. There is a |
| 135 | Dreamcast project is at <http://linuxdc.sourceforge.net/>. |
| 136 | |
| 137 | config SH_CAT68701 |
| 138 | bool "CAT68701" |
| 139 | |
| 140 | config SH_BIGSUR |
| 141 | bool "BigSur" |
| 142 | |
| 143 | config SH_SH2000 |
| 144 | bool "SH2000" |
| 145 | help |
| 146 | SH-2000 is a single-board computer based around SH7709A chip |
| 147 | intended for embedded applications. |
| 148 | It has an Ethernet interface (CS8900A), direct connected |
| 149 | Compact Flash socket, three serial ports and PC-104 bus. |
| 150 | More information at <http://sh2000.sh-linux.org>. |
| 151 | |
| 152 | config SH_ADX |
| 153 | bool "ADX" |
| 154 | |
| 155 | config SH_MPC1211 |
| 156 | bool "MPC1211" |
| 157 | |
| 158 | config SH_SH03 |
| 159 | bool "SH03" |
| 160 | help |
| 161 | CTP/PCI-SH03 is a CPU module computer that produced |
| 162 | by Interface Corporation. |
| 163 | It is compact and excellent in durability. |
| 164 | It will play an active part in your factory or laboratory |
| 165 | as a FA computer. |
| 166 | More information at <http://www.interface.co.jp> |
| 167 | |
| 168 | config SH_SECUREEDGE5410 |
| 169 | bool "SecureEdge5410" |
| 170 | help |
| 171 | Select SecureEdge5410 if configuring for a SnapGear SH board. |
| 172 | This includes both the OEM SecureEdge products as well as the |
| 173 | SME product line. |
| 174 | |
| 175 | config SH_HS7751RVOIP |
| 176 | bool "HS7751RVOIP" |
| 177 | help |
| 178 | Select HS7751RVOIP if configuring for a Renesas Technology |
| 179 | Sales VoIP board. |
| 180 | |
| 181 | config SH_RTS7751R2D |
| 182 | bool "RTS7751R2D" |
| 183 | help |
| 184 | Select RTS7751R2D if configuring for a Renesas Technology |
| 185 | Sales SH-Graphics board. |
| 186 | |
| 187 | config SH_EDOSK7705 |
| 188 | bool "EDOSK7705" |
| 189 | |
| 190 | config SH_SH4202_MICRODEV |
| 191 | bool "SH4-202 MicroDev" |
| 192 | help |
| 193 | Select SH4-202 MicroDev if configuring for a SuperH MicroDev board |
| 194 | with an SH4-202 CPU. |
| 195 | |
| 196 | config SH_UNKNOWN |
| 197 | bool "BareCPU" |
| 198 | help |
| 199 | "Bare CPU" aka "unknown" means an SH-based system which is not one |
| 200 | of the specific ones mentioned above, which means you need to enter |
| 201 | all sorts of stuff like CONFIG_MEMORY_START because the config |
| 202 | system doesn't already know what it is. You get a machine vector |
| 203 | without any platform-specific code in it, so things like the RTC may |
| 204 | not work. |
| 205 | |
| 206 | This option is for the early stages of porting to a new machine. |
| 207 | |
| 208 | endchoice |
| 209 | |
| 210 | choice |
| 211 | prompt "Processor family" |
| 212 | default CPU_SH4 |
| 213 | help |
| 214 | This option determines the CPU family to compile for. Supported |
| 215 | targets are SH-2, SH-3, and SH-4. These options are independent of |
| 216 | CPU functionality. As such, SH-DSP users will still want to select |
| 217 | their respective processor family in addition to the DSP support |
| 218 | option. |
| 219 | |
| 220 | config CPU_SH2 |
| 221 | bool "SH-2" |
| 222 | select SH_WRITETHROUGH |
| 223 | |
| 224 | config CPU_SH3 |
| 225 | bool "SH-3" |
| 226 | |
| 227 | config CPU_SH4 |
| 228 | bool "SH-4" |
| 229 | |
| 230 | endchoice |
| 231 | |
| 232 | choice |
| 233 | prompt "Processor subtype" |
| 234 | |
| 235 | config CPU_SUBTYPE_SH7604 |
| 236 | bool "SH7604" |
| 237 | depends on CPU_SH2 |
| 238 | help |
| 239 | Select SH7604 if you have SH7604 |
| 240 | |
| 241 | config CPU_SUBTYPE_SH7300 |
| 242 | bool "SH7300" |
| 243 | depends on CPU_SH3 |
| 244 | |
| 245 | config CPU_SUBTYPE_SH7705 |
| 246 | bool "SH7705" |
| 247 | depends on CPU_SH3 |
| 248 | |
| 249 | config CPU_SUBTYPE_SH7707 |
| 250 | bool "SH7707" |
| 251 | depends on CPU_SH3 |
| 252 | help |
| 253 | Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU. |
| 254 | |
| 255 | config CPU_SUBTYPE_SH7708 |
| 256 | bool "SH7708" |
| 257 | depends on CPU_SH3 |
| 258 | help |
| 259 | Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or |
| 260 | if you have a 100 Mhz SH-3 HD6417708R CPU. |
| 261 | |
| 262 | config CPU_SUBTYPE_SH7709 |
| 263 | bool "SH7709" |
| 264 | depends on CPU_SH3 |
| 265 | help |
| 266 | Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. |
| 267 | |
| 268 | config CPU_SUBTYPE_SH7750 |
| 269 | bool "SH7750" |
| 270 | depends on CPU_SH4 |
| 271 | help |
| 272 | Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. |
| 273 | |
| 274 | config CPU_SUBTYPE_SH7751 |
| 275 | bool "SH7751/SH7751R" |
| 276 | depends on CPU_SH4 |
| 277 | help |
| 278 | Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, |
| 279 | or if you have a HD6417751R CPU. |
| 280 | |
| 281 | config CPU_SUBTYPE_SH7760 |
| 282 | bool "SH7760" |
| 283 | depends on CPU_SH4 |
| 284 | |
| 285 | config CPU_SUBTYPE_SH73180 |
| 286 | bool "SH73180" |
| 287 | depends on CPU_SH4 |
| 288 | |
| 289 | config CPU_SUBTYPE_ST40STB1 |
| 290 | bool "ST40STB1 / ST40RA" |
| 291 | depends on CPU_SH4 |
| 292 | help |
| 293 | Select ST40STB1 if you have a ST40RA CPU. |
| 294 | This was previously called the ST40STB1, hence the option name. |
| 295 | |
| 296 | config CPU_SUBTYPE_ST40GX1 |
| 297 | bool "ST40GX1" |
| 298 | depends on CPU_SH4 |
| 299 | help |
| 300 | Select ST40GX1 if you have a ST40GX1 CPU. |
| 301 | |
| 302 | config CPU_SUBTYPE_SH4_202 |
| 303 | bool "SH4-202" |
| 304 | depends on CPU_SH4 |
| 305 | |
| 306 | endchoice |
| 307 | |
| 308 | config SH7705_CACHE_32KB |
| 309 | bool "Enable 32KB cache size for SH7705" |
| 310 | depends on CPU_SUBTYPE_SH7705 |
| 311 | default y |
| 312 | |
| 313 | config MMU |
| 314 | bool "Support for memory management hardware" |
| 315 | depends on !CPU_SH2 |
| 316 | default y |
| 317 | help |
| 318 | Early SH processors (such as the SH7604) lack an MMU. In order to |
| 319 | boot on these systems, this option must not be set. |
| 320 | |
| 321 | On other systems (such as the SH-3 and 4) where an MMU exists, |
| 322 | turning this off will boot the kernel on these machines with the |
| 323 | MMU implicitly switched off. |
| 324 | |
| 325 | choice |
| 326 | prompt "HugeTLB page size" |
| 327 | depends on HUGETLB_PAGE && CPU_SH4 && MMU |
| 328 | default HUGETLB_PAGE_SIZE_64K |
| 329 | |
| 330 | config HUGETLB_PAGE_SIZE_64K |
| 331 | bool "64K" |
| 332 | |
| 333 | config HUGETLB_PAGE_SIZE_1MB |
| 334 | bool "1MB" |
| 335 | |
| 336 | endchoice |
| 337 | |
| 338 | config CMDLINE_BOOL |
| 339 | bool "Default bootloader kernel arguments" |
| 340 | |
| 341 | config CMDLINE |
| 342 | string "Initial kernel command string" |
| 343 | depends on CMDLINE_BOOL |
| 344 | default "console=ttySC1,115200" |
| 345 | |
| 346 | # Platform-specific memory start and size definitions |
| 347 | config MEMORY_START |
| 348 | hex "Physical memory start address" if !MEMORY_SET || MEMORY_OVERRIDE |
| 349 | default "0x08000000" if !MEMORY_SET || MEMORY_OVERRIDE || !MEMORY_OVERRIDE && SH_ADX || SH_MPC1211 || SH_SH03 || SH_SECUREEDGE5410 || SH_SH4202_MICRODEV |
| 350 | default "0x0c000000" if !MEMORY_OVERRIDE && (SH_DREAMCAST || SH_HP600 || SH_BIGSUR || SH_SH2000 || SH_73180_SOLUTION_ENGINE || SH_7300_SOLUTION_ENGINE || SH_7751_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_HS7751RVOIP || SH_RTS7751R2D || SH_EDOSK7705) |
| 351 | ---help--- |
| 352 | Computers built with Hitachi SuperH processors always |
| 353 | map the ROM starting at address zero. But the processor |
| 354 | does not specify the range that RAM takes. |
| 355 | |
| 356 | The physical memory (RAM) start address will be automatically |
| 357 | set to 08000000, unless you selected one of the following |
| 358 | processor types: SolutionEngine, Overdrive, HP620, HP680, HP690, |
| 359 | in which case the start address will be set to 0c000000. |
| 360 | |
| 361 | Tweak this only when porting to a new machine which is not already |
| 362 | known by the config system. Changing it from the known correct |
| 363 | value on any of the known systems will only lead to disaster. |
| 364 | |
| 365 | config MEMORY_SIZE |
| 366 | hex "Physical memory size" if !MEMORY_SET || MEMORY_OVERRIDE |
| 367 | default "0x00400000" if !MEMORY_SET || MEMORY_OVERRIDE || !MEMORY_OVERRIDE && SH_ADX || !MEMORY_OVERRIDE && (SH_HP600 || SH_BIGSUR || SH_SH2000) |
| 368 | default "0x01000000" if !MEMORY_OVERRIDE && SH_DREAMCAST || SH_SECUREEDGE5410 || SH_EDOSK7705 |
| 369 | default "0x02000000" if !MEMORY_OVERRIDE && (SH_73180_SOLUTION_ENGINE || SH_SOLUTION_ENGINE) |
| 370 | default "0x04000000" if !MEMORY_OVERRIDE && (SH_7300_SOLUTION_ENGINE || SH_7751_SOLUTION_ENGINE || SH_HS7751RVOIP || SH_RTS7751R2D || SH_SH4202_MICRODEV) |
| 371 | default "0x08000000" if SH_MPC1211 || SH_SH03 |
| 372 | help |
| 373 | This sets the default memory size assumed by your SH kernel. It can |
| 374 | be overridden as normal by the 'mem=' argument on the kernel command |
| 375 | line. If unsure, consult your board specifications or just leave it |
| 376 | as 0x00400000 which was the default value before this became |
| 377 | configurable. |
| 378 | |
| 379 | config MEMORY_SET |
| 380 | bool |
| 381 | depends on !MEMORY_OVERRIDE && (SH_MPC1211 || SH_SH03 || SH_ADX || SH_DREAMCAST || SH_HP600 || SH_BIGSUR || SH_SH2000 || SH_7751_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_SECUREEDGE5410 || SH_HS7751RVOIP || SH_RTS7751R2D || SH_SH4202_MICRODEV || SH_EDOSK7705) |
| 382 | default y |
| 383 | help |
| 384 | This is an option about which you will never be asked a question. |
| 385 | Therefore, I conclude that you do not exist - go away. |
| 386 | |
| 387 | There is a grue here. |
| 388 | |
| 389 | # If none of the above have set memory start/size, ask the user. |
| 390 | config MEMORY_OVERRIDE |
| 391 | bool "Override default load address and memory size" |
| 392 | |
| 393 | # XXX: break these out into the board-specific configs below |
| 394 | config CF_ENABLER |
| 395 | bool "Compact Flash Enabler support" |
| 396 | depends on SH_ADX || SH_SOLUTION_ENGINE || SH_UNKNOWN || SH_CAT68701 || SH_SH03 |
| 397 | ---help--- |
| 398 | Compact Flash is a small, removable mass storage device introduced |
| 399 | in 1994 originally as a PCMCIA device. If you say `Y' here, you |
| 400 | compile in support for Compact Flash devices directly connected to |
| 401 | a SuperH processor. A Compact Flash FAQ is available at |
| 402 | <http://www.compactflash.org/faqs/faq.htm>. |
| 403 | |
| 404 | If your board has "Directly Connected" CompactFlash at area 5 or 6, |
| 405 | you may want to enable this option. Then, you can use CF as |
| 406 | primary IDE drive (only tested for SanDisk). |
| 407 | |
| 408 | If in doubt, select 'N'. |
| 409 | |
| 410 | choice |
| 411 | prompt "Compact Flash Connection Area" |
| 412 | depends on CF_ENABLER |
| 413 | default CF_AREA6 |
| 414 | |
| 415 | config CF_AREA5 |
| 416 | bool "Area5" |
| 417 | help |
| 418 | If your board has "Directly Connected" CompactFlash, You should |
| 419 | select the area where your CF is connected to. |
| 420 | |
| 421 | - "Area5" if CompactFlash is connected to Area 5 (0x14000000) |
| 422 | - "Area6" if it is connected to Area 6 (0x18000000) |
| 423 | |
| 424 | "Area6" will work for most boards. For ADX, select "Area5". |
| 425 | |
| 426 | config CF_AREA6 |
| 427 | bool "Area6" |
| 428 | |
| 429 | endchoice |
| 430 | |
| 431 | config CF_BASE_ADDR |
| 432 | hex |
| 433 | depends on CF_ENABLER |
| 434 | default "0xb8000000" if CF_AREA6 |
| 435 | default "0xb4000000" if CF_AREA5 |
| 436 | |
| 437 | # The SH7750 RTC module is disabled in the Dreamcast |
| 438 | config SH_RTC |
| 439 | bool |
| 440 | depends on !SH_DREAMCAST && !SH_SATURN && !SH_7300_SOLUTION_ENGINE && !SH_73180_SOLUTION_ENGINE |
| 441 | default y |
| 442 | help |
| 443 | Selecting this option will allow the Linux kernel to emulate |
| 444 | PC's RTC. |
| 445 | |
| 446 | If unsure, say N. |
| 447 | |
| 448 | config SH_FPU |
| 449 | bool "FPU support" |
| 450 | depends on !CPU_SH3 |
| 451 | default y |
| 452 | help |
| 453 | Selecting this option will enable support for SH processors that |
| 454 | have FPU units (ie, SH77xx). |
| 455 | |
| 456 | This option must be set in order to enable the FPU. |
| 457 | |
| 458 | config SH_DSP |
| 459 | bool "DSP support" |
| 460 | depends on !CPU_SH4 |
| 461 | default y |
| 462 | help |
| 463 | Selecting this option will enable support for SH processors that |
| 464 | have DSP units (ie, SH2-DSP and SH3-DSP). It is safe to say Y here |
| 465 | by default, as the existance of the DSP will be probed at runtime. |
| 466 | |
| 467 | This option must be set in order to enable the DSP. |
| 468 | |
| 469 | config SH_ADC |
| 470 | bool "ADC support" |
| 471 | depends on CPU_SH3 |
| 472 | default y |
| 473 | help |
| 474 | Selecting this option will allow the Linux kernel to use SH3 on-chip |
| 475 | ADC module. |
| 476 | |
| 477 | If unsure, say N. |
| 478 | |
| 479 | config SH_HP600 |
| 480 | bool |
| 481 | depends on SH_HP620 || SH_HP680 || SH_HP690 |
| 482 | default y |
| 483 | |
| 484 | config CPU_SUBTYPE_ST40 |
| 485 | bool |
| 486 | depends on CPU_SUBTYPE_ST40STB1 || CPU_SUBTYPE_ST40GX1 |
| 487 | default y |
| 488 | |
Dave Hansen | 3f22ab2 | 2005-06-23 00:07:43 -0700 | [diff] [blame] | 489 | config ARCH_DISCONTIGMEM_ENABLE |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 490 | bool |
| 491 | depends on SH_HP690 |
| 492 | default y |
| 493 | help |
| 494 | Say Y to upport efficient handling of discontiguous physical memory, |
| 495 | for architectures which are either NUMA (Non-Uniform Memory Access) |
| 496 | or have huge holes in the physical address space for other reasons. |
| 497 | See <file:Documentation/vm/numa> for more. |
| 498 | |
Dave Hansen | 3f22ab2 | 2005-06-23 00:07:43 -0700 | [diff] [blame] | 499 | source "mm/Kconfig" |
| 500 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 501 | config ZERO_PAGE_OFFSET |
| 502 | hex "Zero page offset" |
| 503 | default "0x00001000" if !(SH_MPC1211 || SH_SH03) |
| 504 | default "0x00004000" if SH_MPC1211 || SH_SH03 |
| 505 | help |
| 506 | This sets the default offset of zero page. |
| 507 | |
| 508 | # XXX: needs to lose subtype for system type |
| 509 | config ST40_LMI_MEMORY |
| 510 | bool "Memory on LMI" |
| 511 | depends on CPU_SUBTYPE_ST40STB1 |
| 512 | |
| 513 | config MEMORY_START |
| 514 | hex |
| 515 | depends on CPU_SUBTYPE_ST40STB1 && ST40_LMI_MEMORY |
| 516 | default "0x08000000" |
| 517 | |
| 518 | config MEMORY_SIZE |
| 519 | hex |
| 520 | depends on CPU_SUBTYPE_ST40STB1 && ST40_LMI_MEMORY |
| 521 | default "0x00400000" |
| 522 | |
| 523 | config MEMORY_SET |
| 524 | bool |
| 525 | depends on CPU_SUBTYPE_ST40STB1 && ST40_LMI_MEMORY |
| 526 | default y |
| 527 | |
| 528 | config BOOT_LINK_OFFSET |
| 529 | hex "Link address offset for booting" |
| 530 | default "0x00800000" |
| 531 | help |
| 532 | This option allows you to set the link address offset of the zImage. |
| 533 | This can be useful if you are on a board which has a small amount of |
| 534 | memory. |
| 535 | |
| 536 | config CPU_LITTLE_ENDIAN |
| 537 | bool "Little Endian" |
| 538 | help |
| 539 | Some SuperH machines can be configured for either little or big |
| 540 | endian byte order. These modes require different kernels. Say Y if |
| 541 | your machine is little endian, N if it's a big endian machine. |
| 542 | |
| 543 | config PREEMPT |
| 544 | bool "Preemptible Kernel (EXPERIMENTAL)" |
| 545 | depends on EXPERIMENTAL |
| 546 | |
| 547 | config UBC_WAKEUP |
| 548 | bool "Wakeup UBC on startup" |
| 549 | help |
| 550 | Selecting this option will wakeup the User Break Controller (UBC) on |
| 551 | startup. Although the UBC is left in an awake state when the processor |
| 552 | comes up, some boot loaders misbehave by putting the UBC to sleep in a |
| 553 | power saving state, which causes issues with things like ptrace(). |
| 554 | |
| 555 | If unsure, say N. |
| 556 | |
| 557 | config SH_WRITETHROUGH |
| 558 | bool "Use write-through caching" |
| 559 | default y if CPU_SH2 |
| 560 | help |
| 561 | Selecting this option will configure the caches in write-through |
| 562 | mode, as opposed to the default write-back configuration. |
| 563 | |
| 564 | Since there's sill some aliasing issues on SH-4, this option will |
| 565 | unfortunately still require the majority of flushing functions to |
| 566 | be implemented to deal with aliasing. |
| 567 | |
| 568 | If unsure, say N. |
| 569 | |
| 570 | config SH_OCRAM |
| 571 | bool "Operand Cache RAM (OCRAM) support" |
| 572 | help |
| 573 | Selecting this option will automatically tear down the number of |
| 574 | sets in the dcache by half, which in turn exposes a memory range. |
| 575 | |
| 576 | The addresses for the OC RAM base will vary according to the |
| 577 | processor version. Consult vendor documentation for specifics. |
| 578 | |
| 579 | If unsure, say N. |
| 580 | |
| 581 | config SH_STORE_QUEUES |
| 582 | bool "Support for Store Queues" |
| 583 | depends on CPU_SH4 |
| 584 | help |
| 585 | Selecting this option will enable an in-kernel API for manipulating |
| 586 | the store queues integrated in the SH-4 processors. |
| 587 | |
| 588 | config SMP |
| 589 | bool "Symmetric multi-processing support" |
| 590 | ---help--- |
| 591 | This enables support for systems with more than one CPU. If you have |
| 592 | a system with only one CPU, like most personal computers, say N. If |
| 593 | you have a system with more than one CPU, say Y. |
| 594 | |
| 595 | If you say N here, the kernel will run on single and multiprocessor |
| 596 | machines, but will use only one CPU of a multiprocessor machine. If |
| 597 | you say Y here, the kernel will run on many, but not all, |
| 598 | singleprocessor machines. On a singleprocessor machine, the kernel |
| 599 | will run faster if you say N here. |
| 600 | |
| 601 | People using multiprocessor machines who say Y here should also say |
| 602 | Y to "Enhanced Real Time Clock Support", below. |
| 603 | |
| 604 | See also the <file:Documentation/smp.txt>, |
| 605 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available |
| 606 | at <http://www.tldp.org/docs.html#howto>. |
| 607 | |
| 608 | If you don't know what to do here, say N. |
| 609 | |
| 610 | config NR_CPUS |
| 611 | int "Maximum number of CPUs (2-32)" |
| 612 | range 2 32 |
| 613 | depends on SMP |
| 614 | default "2" |
| 615 | help |
| 616 | This allows you to specify the maximum number of CPUs which this |
| 617 | kernel will support. The maximum supported value is 32 and the |
| 618 | minimum value which makes sense is 2. |
| 619 | |
| 620 | This is purely to save memory - each supported CPU adds |
| 621 | approximately eight kilobytes to the kernel image. |
| 622 | |
| 623 | config HS7751RVOIP_CODEC |
| 624 | bool "Support VoIP Codec section" |
| 625 | depends on SH_HS7751RVOIP |
| 626 | help |
| 627 | Selecting this option will support CODEC section. |
| 628 | |
| 629 | config RTS7751R2D_REV11 |
| 630 | bool "RTS7751R2D Rev. 1.1 board support" |
| 631 | depends on SH_RTS7751R2D |
| 632 | help |
| 633 | Selecting this option will support version rev. 1.1. |
| 634 | |
| 635 | config SH_PCLK_CALC |
| 636 | bool |
| 637 | default n if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH73180 |
| 638 | default y |
| 639 | help |
| 640 | This option will cause the PCLK value to be probed at run-time. It |
| 641 | will display a notification if the probed value has greater than a |
| 642 | 1% variance of the hardcoded CONFIG_SH_PCLK_FREQ. |
| 643 | |
| 644 | config SH_PCLK_FREQ |
| 645 | int "Peripheral clock frequency (in Hz)" |
| 646 | default "50000000" if CPU_SUBTYPE_SH7750 |
| 647 | default "60000000" if CPU_SUBTYPE_SH7751 |
| 648 | default "33333333" if CPU_SUBTYPE_SH7300 |
| 649 | default "27000000" if CPU_SUBTYPE_SH73180 |
| 650 | default "66000000" if CPU_SUBTYPE_SH4_202 |
| 651 | default "1193182" |
| 652 | help |
| 653 | This option is used to specify the peripheral clock frequency. This |
| 654 | option must be set for each processor in order for the kernel to |
| 655 | function reliably. If no sane default exists, we use a default from |
| 656 | the legacy i8254. Any discrepancies will be reported on boot time |
| 657 | with an auto-probed frequency which should be considered the proper |
| 658 | value for your hardware. |
| 659 | |
| 660 | menu "CPU Frequency scaling" |
| 661 | |
| 662 | source "drivers/cpufreq/Kconfig" |
| 663 | |
| 664 | config SH_CPU_FREQ |
| 665 | tristate "SuperH CPU Frequency driver" |
| 666 | depends on CPU_FREQ |
| 667 | select CPU_FREQ_TABLE |
| 668 | help |
| 669 | This adds the cpufreq driver for SuperH. At present, only |
| 670 | the SH-4 is supported. |
| 671 | |
| 672 | For details, take a look at <file:Documentation/cpu-freq>. |
| 673 | |
| 674 | If unsure, say N. |
| 675 | |
| 676 | endmenu |
| 677 | |
| 678 | source "arch/sh/drivers/dma/Kconfig" |
| 679 | |
| 680 | source "arch/sh/cchips/Kconfig" |
| 681 | |
| 682 | config HEARTBEAT |
| 683 | bool "Heartbeat LED" |
| 684 | depends on SH_MPC1211 || SH_SH03 || SH_CAT68701 || SH_STB1_HARP || SH_STB1_OVERDRIVE || SH_BIGSUR || SH_7751_SOLUTION_ENGINE || SH_7300_SOLUTION_ENGINE || SH_73180_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || SH_RTS7751R2D || SH_SH4202_MICRODEV |
| 685 | help |
| 686 | Use the power-on LED on your machine as a load meter. The exact |
| 687 | behavior is platform-dependent, but normally the flash frequency is |
| 688 | a hyperbolic function of the 5-minute load average. |
| 689 | |
| 690 | config RTC_9701JE |
| 691 | tristate "EPSON RTC-9701JE support" |
| 692 | depends on SH_RTS7751R2D |
| 693 | help |
| 694 | Selecting this option will support EPSON RTC-9701JE. |
| 695 | |
| 696 | endmenu |
| 697 | |
Al Viro | 5cae841 | 2005-05-04 05:39:22 +0100 | [diff] [blame] | 698 | config ISA_DMA_API |
| 699 | bool |
| 700 | depends on MPC1211 |
| 701 | default y |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 702 | |
| 703 | menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" |
| 704 | |
| 705 | # Even on SuperH devices which don't have an ISA bus, |
| 706 | # this variable helps the PCMCIA modules handle |
| 707 | # IRQ requesting properly -- Greg Banks. |
| 708 | # |
| 709 | # Though we're generally not interested in it when |
| 710 | # we're not using PCMCIA, so we make it dependent on |
| 711 | # PCMCIA outright. -- PFM. |
| 712 | config ISA |
| 713 | bool |
| 714 | default y if PCMCIA || SMC91X |
| 715 | help |
| 716 | Find out whether you have ISA slots on your motherboard. ISA is the |
| 717 | name of a bus system, i.e. the way the CPU talks to the other stuff |
| 718 | inside your box. Other bus systems are PCI, EISA, MicroChannel |
| 719 | (MCA) or VESA. ISA is an older system, now being displaced by PCI; |
| 720 | newer boards don't support it. If you have ISA, say Y, otherwise N. |
| 721 | |
| 722 | config EISA |
| 723 | bool |
| 724 | ---help--- |
| 725 | The Extended Industry Standard Architecture (EISA) bus was |
| 726 | developed as an open alternative to the IBM MicroChannel bus. |
| 727 | |
| 728 | The EISA bus provided some of the features of the IBM MicroChannel |
| 729 | bus while maintaining backward compatibility with cards made for |
| 730 | the older ISA bus. The EISA bus saw limited use between 1988 and |
| 731 | 1995 when it was made obsolete by the PCI bus. |
| 732 | |
| 733 | Say Y here if you are building a kernel for an EISA-based machine. |
| 734 | |
| 735 | Otherwise, say N. |
| 736 | |
| 737 | config MCA |
| 738 | bool |
| 739 | help |
| 740 | MicroChannel Architecture is found in some IBM PS/2 machines and |
| 741 | laptops. It is a bus system similar to PCI or ISA. See |
| 742 | <file:Documentation/mca.txt> (and especially the web page given |
| 743 | there) before attempting to build an MCA bus kernel. |
| 744 | |
| 745 | config SBUS |
| 746 | bool |
| 747 | |
| 748 | config MAPLE |
| 749 | tristate "Maple Bus support" |
| 750 | depends on SH_DREAMCAST |
| 751 | default y |
| 752 | |
| 753 | source "arch/sh/drivers/pci/Kconfig" |
| 754 | |
| 755 | source "drivers/pci/Kconfig" |
| 756 | |
| 757 | source "drivers/pcmcia/Kconfig" |
| 758 | |
| 759 | source "drivers/pci/hotplug/Kconfig" |
| 760 | |
| 761 | endmenu |
| 762 | |
| 763 | menu "Executable file formats" |
| 764 | |
| 765 | source "fs/Kconfig.binfmt" |
| 766 | |
| 767 | endmenu |
| 768 | |
| 769 | menu "SH initrd options" |
| 770 | depends on BLK_DEV_INITRD |
| 771 | |
| 772 | config EMBEDDED_RAMDISK |
| 773 | bool "Embed root filesystem ramdisk into the kernel" |
| 774 | |
| 775 | config EMBEDDED_RAMDISK_IMAGE |
| 776 | string "Filename of gziped ramdisk image" |
| 777 | depends on EMBEDDED_RAMDISK |
| 778 | default "ramdisk.gz" |
| 779 | help |
| 780 | This is the filename of the ramdisk image to be built into the |
| 781 | kernel. Relative pathnames are relative to arch/sh/ramdisk/. |
| 782 | The ramdisk image is not part of the kernel distribution; you must |
| 783 | provide one yourself. |
| 784 | |
| 785 | endmenu |
| 786 | |
Sam Ravnborg | d5950b4 | 2005-07-11 21:03:49 -0700 | [diff] [blame^] | 787 | source "net/Kconfig" |
| 788 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 789 | source "drivers/Kconfig" |
| 790 | |
| 791 | source "fs/Kconfig" |
| 792 | |
| 793 | source "arch/sh/oprofile/Kconfig" |
| 794 | |
| 795 | source "arch/sh/Kconfig.debug" |
| 796 | |
| 797 | source "security/Kconfig" |
| 798 | |
| 799 | source "crypto/Kconfig" |
| 800 | |
| 801 | source "lib/Kconfig" |