diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-18 15:26:08 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-19 06:11:28 -0500 |
commit | dc37c31bbfaf87118d6c827be0a38a512a40b741 (patch) | |
tree | 188741bec32c43d8a92c32e44420b5404744d261 /arch/arm/plat-versatile/Kconfig | |
parent | f093728c0ddc30bef5792b7faf2743024b166350 (diff) |
ARM: rationalize versatile family Kconfig/Makefile
Move leds and sched_clock build conditionals out of the Makefile into
the Kconfig file. Move selection of HAVE_SCHED_CLOCK into the
platform Kconfig rather than duplicating it three times in the main
architecture Kconfig.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-versatile/Kconfig')
-rw-r--r-- | arch/arm/plat-versatile/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-versatile/Kconfig b/arch/arm/plat-versatile/Kconfig index 22540f588fd3..c5e2cd014c61 100644 --- a/arch/arm/plat-versatile/Kconfig +++ b/arch/arm/plat-versatile/Kconfig | |||
@@ -3,4 +3,12 @@ if PLAT_VERSATILE | |||
3 | config PLAT_VERSATILE_CLCD | 3 | config PLAT_VERSATILE_CLCD |
4 | bool | 4 | bool |
5 | 5 | ||
6 | config PLAT_VERSATILE_LEDS | ||
7 | def_bool y if LEDS_CLASS | ||
8 | depends on ARCH_REALVIEW || ARCH_VERSATILE | ||
9 | |||
10 | config PLAT_VERSATILE_SCHED_CLOCK | ||
11 | def_bool y if !ARCH_INTEGRATOR | ||
12 | select HAVE_SCHED_CLOCK | ||
13 | |||
6 | endif | 14 | endif |