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