diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-10-26 06:55:14 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-27 07:38:00 -0500 |
commit | c750815e2d436f4379c7af8a8770ef2ae71c5607 (patch) | |
tree | a63ddc8af77e0cd86aa837bc77f98a1c18fbc685 /arch/arm/Kconfig | |
parent | 59f0cb0fddc14ffc6676ae62e911f8115ebc8ccf (diff) |
[ARM] Arrange for platforms to select appropriate CPU support
Rather than:
config CPU_BLAH
bool
depends on ARCH_FOO || MACH_BAR
default y if ARCH_FOO || MACH_BAR
arrange for ARCH_FOO and MACH_BAR to select CPU_BLAH directly.
Acked-by: Nicolas Pitre <nico@marvell.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Acked-by: Brian Swetland <swetland@google.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Acked-by: Nicolas Bellido <ml@acolin.be>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9722f8bb506c..60a09fcc4af8 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -201,6 +201,7 @@ choice | |||
201 | 201 | ||
202 | config ARCH_AAEC2000 | 202 | config ARCH_AAEC2000 |
203 | bool "Agilent AAEC-2000 based" | 203 | bool "Agilent AAEC-2000 based" |
204 | select CPU_ARM920T | ||
204 | select ARM_AMBA | 205 | select ARM_AMBA |
205 | select HAVE_CLK | 206 | select HAVE_CLK |
206 | help | 207 | help |
@@ -245,6 +246,7 @@ config ARCH_AT91 | |||
245 | 246 | ||
246 | config ARCH_CLPS7500 | 247 | config ARCH_CLPS7500 |
247 | bool "Cirrus CL-PS7500FE" | 248 | bool "Cirrus CL-PS7500FE" |
249 | select CPU_ARM710 | ||
248 | select TIMER_ACORN | 250 | select TIMER_ACORN |
249 | select ISA | 251 | select ISA |
250 | select NO_IOPORT | 252 | select NO_IOPORT |
@@ -254,11 +256,13 @@ config ARCH_CLPS7500 | |||
254 | 256 | ||
255 | config ARCH_CLPS711X | 257 | config ARCH_CLPS711X |
256 | bool "Cirrus Logic CLPS711x/EP721x-based" | 258 | bool "Cirrus Logic CLPS711x/EP721x-based" |
259 | select CPU_ARM720T | ||
257 | help | 260 | help |
258 | Support for Cirrus Logic 711x/721x based boards. | 261 | Support for Cirrus Logic 711x/721x based boards. |
259 | 262 | ||
260 | config ARCH_EBSA110 | 263 | config ARCH_EBSA110 |
261 | bool "EBSA-110" | 264 | bool "EBSA-110" |
265 | select CPU_SA110 | ||
262 | select ISA | 266 | select ISA |
263 | select NO_IOPORT | 267 | select NO_IOPORT |
264 | help | 268 | help |
@@ -269,6 +273,7 @@ config ARCH_EBSA110 | |||
269 | 273 | ||
270 | config ARCH_EP93XX | 274 | config ARCH_EP93XX |
271 | bool "EP93xx-based" | 275 | bool "EP93xx-based" |
276 | select CPU_ARM920T | ||
272 | select ARM_AMBA | 277 | select ARM_AMBA |
273 | select ARM_VIC | 278 | select ARM_VIC |
274 | select GENERIC_GPIO | 279 | select GENERIC_GPIO |
@@ -279,6 +284,7 @@ config ARCH_EP93XX | |||
279 | 284 | ||
280 | config ARCH_FOOTBRIDGE | 285 | config ARCH_FOOTBRIDGE |
281 | bool "FootBridge" | 286 | bool "FootBridge" |
287 | select CPU_SA110 | ||
282 | select FOOTBRIDGE | 288 | select FOOTBRIDGE |
283 | help | 289 | help |
284 | Support for systems based on the DC21285 companion chip | 290 | Support for systems based on the DC21285 companion chip |
@@ -286,18 +292,21 @@ config ARCH_FOOTBRIDGE | |||
286 | 292 | ||
287 | config ARCH_NETX | 293 | config ARCH_NETX |
288 | bool "Hilscher NetX based" | 294 | bool "Hilscher NetX based" |
295 | select CPU_ARM926T | ||
289 | select ARM_VIC | 296 | select ARM_VIC |
290 | help | 297 | help |
291 | This enables support for systems based on the Hilscher NetX Soc | 298 | This enables support for systems based on the Hilscher NetX Soc |
292 | 299 | ||
293 | config ARCH_H720X | 300 | config ARCH_H720X |
294 | bool "Hynix HMS720x-based" | 301 | bool "Hynix HMS720x-based" |
302 | select CPU_ARM720T | ||
295 | select ISA_DMA_API | 303 | select ISA_DMA_API |
296 | help | 304 | help |
297 | This enables support for systems based on the Hynix HMS720x | 305 | This enables support for systems based on the Hynix HMS720x |
298 | 306 | ||
299 | config ARCH_IMX | 307 | config ARCH_IMX |
300 | bool "IMX" | 308 | bool "IMX" |
309 | select CPU_ARM920T | ||
301 | select GENERIC_GPIO | 310 | select GENERIC_GPIO |
302 | select GENERIC_TIME | 311 | select GENERIC_TIME |
303 | select GENERIC_CLOCKEVENTS | 312 | select GENERIC_CLOCKEVENTS |
@@ -307,6 +316,7 @@ config ARCH_IMX | |||
307 | config ARCH_IOP13XX | 316 | config ARCH_IOP13XX |
308 | bool "IOP13xx-based" | 317 | bool "IOP13xx-based" |
309 | depends on MMU | 318 | depends on MMU |
319 | select CPU_XSC3 | ||
310 | select PLAT_IOP | 320 | select PLAT_IOP |
311 | select PCI | 321 | select PCI |
312 | select ARCH_SUPPORTS_MSI | 322 | select ARCH_SUPPORTS_MSI |
@@ -317,6 +327,7 @@ config ARCH_IOP13XX | |||
317 | config ARCH_IOP32X | 327 | config ARCH_IOP32X |
318 | bool "IOP32x-based" | 328 | bool "IOP32x-based" |
319 | depends on MMU | 329 | depends on MMU |
330 | select CPU_XSCALE | ||
320 | select PLAT_IOP | 331 | select PLAT_IOP |
321 | select PCI | 332 | select PCI |
322 | select GENERIC_GPIO | 333 | select GENERIC_GPIO |
@@ -328,6 +339,7 @@ config ARCH_IOP32X | |||
328 | config ARCH_IOP33X | 339 | config ARCH_IOP33X |
329 | bool "IOP33x-based" | 340 | bool "IOP33x-based" |
330 | depends on MMU | 341 | depends on MMU |
342 | select CPU_XSCALE | ||
331 | select PLAT_IOP | 343 | select PLAT_IOP |
332 | select PCI | 344 | select PCI |
333 | select GENERIC_GPIO | 345 | select GENERIC_GPIO |
@@ -338,6 +350,7 @@ config ARCH_IOP33X | |||
338 | config ARCH_IXP23XX | 350 | config ARCH_IXP23XX |
339 | bool "IXP23XX-based" | 351 | bool "IXP23XX-based" |
340 | depends on MMU | 352 | depends on MMU |
353 | select CPU_XSC3 | ||
341 | select PCI | 354 | select PCI |
342 | help | 355 | help |
343 | Support for Intel's IXP23xx (XScale) family of processors. | 356 | Support for Intel's IXP23xx (XScale) family of processors. |
@@ -345,6 +358,7 @@ config ARCH_IXP23XX | |||
345 | config ARCH_IXP2000 | 358 | config ARCH_IXP2000 |
346 | bool "IXP2400/2800-based" | 359 | bool "IXP2400/2800-based" |
347 | depends on MMU | 360 | depends on MMU |
361 | select CPU_XSCALE | ||
348 | select PCI | 362 | select PCI |
349 | help | 363 | help |
350 | Support for Intel's IXP2400/2800 (XScale) family of processors. | 364 | Support for Intel's IXP2400/2800 (XScale) family of processors. |
@@ -352,6 +366,7 @@ config ARCH_IXP2000 | |||
352 | config ARCH_IXP4XX | 366 | config ARCH_IXP4XX |
353 | bool "IXP4xx-based" | 367 | bool "IXP4xx-based" |
354 | depends on MMU | 368 | depends on MMU |
369 | select CPU_XSCALE | ||
355 | select GENERIC_GPIO | 370 | select GENERIC_GPIO |
356 | select GENERIC_TIME | 371 | select GENERIC_TIME |
357 | select GENERIC_CLOCKEVENTS | 372 | select GENERIC_CLOCKEVENTS |
@@ -361,6 +376,7 @@ config ARCH_IXP4XX | |||
361 | 376 | ||
362 | config ARCH_L7200 | 377 | config ARCH_L7200 |
363 | bool "LinkUp-L7200" | 378 | bool "LinkUp-L7200" |
379 | select CPU_ARM720T | ||
364 | select FIQ | 380 | select FIQ |
365 | help | 381 | help |
366 | Say Y here if you intend to run this kernel on a LinkUp Systems | 382 | Say Y here if you intend to run this kernel on a LinkUp Systems |
@@ -374,6 +390,7 @@ config ARCH_L7200 | |||
374 | 390 | ||
375 | config ARCH_KIRKWOOD | 391 | config ARCH_KIRKWOOD |
376 | bool "Marvell Kirkwood" | 392 | bool "Marvell Kirkwood" |
393 | select CPU_FEROCEON | ||
377 | select PCI | 394 | select PCI |
378 | select GENERIC_TIME | 395 | select GENERIC_TIME |
379 | select GENERIC_CLOCKEVENTS | 396 | select GENERIC_CLOCKEVENTS |
@@ -384,6 +401,7 @@ config ARCH_KIRKWOOD | |||
384 | 401 | ||
385 | config ARCH_KS8695 | 402 | config ARCH_KS8695 |
386 | bool "Micrel/Kendin KS8695" | 403 | bool "Micrel/Kendin KS8695" |
404 | select CPU_ARM922T | ||
387 | select GENERIC_GPIO | 405 | select GENERIC_GPIO |
388 | help | 406 | help |
389 | Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based | 407 | Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based |
@@ -391,6 +409,7 @@ config ARCH_KS8695 | |||
391 | 409 | ||
392 | config ARCH_NS9XXX | 410 | config ARCH_NS9XXX |
393 | bool "NetSilicon NS9xxx" | 411 | bool "NetSilicon NS9xxx" |
412 | select CPU_ARM926T | ||
394 | select GENERIC_GPIO | 413 | select GENERIC_GPIO |
395 | select GENERIC_TIME | 414 | select GENERIC_TIME |
396 | select GENERIC_CLOCKEVENTS | 415 | select GENERIC_CLOCKEVENTS |
@@ -403,6 +422,7 @@ config ARCH_NS9XXX | |||
403 | 422 | ||
404 | config ARCH_LOKI | 423 | config ARCH_LOKI |
405 | bool "Marvell Loki (88RC8480)" | 424 | bool "Marvell Loki (88RC8480)" |
425 | select CPU_FEROCEON | ||
406 | select GENERIC_TIME | 426 | select GENERIC_TIME |
407 | select GENERIC_CLOCKEVENTS | 427 | select GENERIC_CLOCKEVENTS |
408 | select PLAT_ORION | 428 | select PLAT_ORION |
@@ -411,6 +431,7 @@ config ARCH_LOKI | |||
411 | 431 | ||
412 | config ARCH_MV78XX0 | 432 | config ARCH_MV78XX0 |
413 | bool "Marvell MV78xx0" | 433 | bool "Marvell MV78xx0" |
434 | select CPU_FEROCEON | ||
414 | select PCI | 435 | select PCI |
415 | select GENERIC_TIME | 436 | select GENERIC_TIME |
416 | select GENERIC_CLOCKEVENTS | 437 | select GENERIC_CLOCKEVENTS |
@@ -432,6 +453,7 @@ config ARCH_MXC | |||
432 | config ARCH_ORION5X | 453 | config ARCH_ORION5X |
433 | bool "Marvell Orion" | 454 | bool "Marvell Orion" |
434 | depends on MMU | 455 | depends on MMU |
456 | select CPU_FEROCEON | ||
435 | select PCI | 457 | select PCI |
436 | select GENERIC_GPIO | 458 | select GENERIC_GPIO |
437 | select GENERIC_TIME | 459 | select GENERIC_TIME |
@@ -444,6 +466,7 @@ config ARCH_ORION5X | |||
444 | 466 | ||
445 | config ARCH_PNX4008 | 467 | config ARCH_PNX4008 |
446 | bool "Philips Nexperia PNX4008 Mobile" | 468 | bool "Philips Nexperia PNX4008 Mobile" |
469 | select CPU_ARM926T | ||
447 | select HAVE_CLK | 470 | select HAVE_CLK |
448 | help | 471 | help |
449 | This enables support for Philips PNX4008 mobile platform. | 472 | This enables support for Philips PNX4008 mobile platform. |
@@ -477,6 +500,7 @@ config ARCH_RPC | |||
477 | 500 | ||
478 | config ARCH_SA1100 | 501 | config ARCH_SA1100 |
479 | bool "SA1100-based" | 502 | bool "SA1100-based" |
503 | select CPU_SA1100 | ||
480 | select ISA | 504 | select ISA |
481 | select ARCH_SPARSEMEM_ENABLE | 505 | select ARCH_SPARSEMEM_ENABLE |
482 | select ARCH_MTD_XIP | 506 | select ARCH_MTD_XIP |
@@ -500,6 +524,7 @@ config ARCH_S3C2410 | |||
500 | 524 | ||
501 | config ARCH_SHARK | 525 | config ARCH_SHARK |
502 | bool "Shark" | 526 | bool "Shark" |
527 | select CPU_SA110 | ||
503 | select ISA | 528 | select ISA |
504 | select ISA_DMA | 529 | select ISA_DMA |
505 | select ZONE_DMA | 530 | select ZONE_DMA |
@@ -510,6 +535,7 @@ config ARCH_SHARK | |||
510 | 535 | ||
511 | config ARCH_LH7A40X | 536 | config ARCH_LH7A40X |
512 | bool "Sharp LH7A40X" | 537 | bool "Sharp LH7A40X" |
538 | select CPU_ARM922T | ||
513 | select ARCH_DISCONTIGMEM_ENABLE if !LH7A40X_CONTIGMEM | 539 | select ARCH_DISCONTIGMEM_ENABLE if !LH7A40X_CONTIGMEM |
514 | select ARCH_SPARSEMEM_ENABLE if !LH7A40X_CONTIGMEM | 540 | select ARCH_SPARSEMEM_ENABLE if !LH7A40X_CONTIGMEM |
515 | help | 541 | help |
@@ -520,6 +546,7 @@ config ARCH_LH7A40X | |||
520 | 546 | ||
521 | config ARCH_DAVINCI | 547 | config ARCH_DAVINCI |
522 | bool "TI DaVinci" | 548 | bool "TI DaVinci" |
549 | select CPU_ARM926T | ||
523 | select GENERIC_TIME | 550 | select GENERIC_TIME |
524 | select GENERIC_CLOCKEVENTS | 551 | select GENERIC_CLOCKEVENTS |
525 | select GENERIC_GPIO | 552 | select GENERIC_GPIO |
@@ -541,6 +568,7 @@ config ARCH_OMAP | |||
541 | 568 | ||
542 | config ARCH_MSM | 569 | config ARCH_MSM |
543 | bool "Qualcomm MSM" | 570 | bool "Qualcomm MSM" |
571 | select CPU_V6 | ||
544 | select GENERIC_TIME | 572 | select GENERIC_TIME |
545 | select GENERIC_CLOCKEVENTS | 573 | select GENERIC_CLOCKEVENTS |
546 | help | 574 | help |