diff options
author | Bryan Wu <bryan.wu@canonical.com> | 2012-03-13 06:06:36 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@canonical.com> | 2012-07-31 23:22:04 -0400 |
commit | e031cd513ec2ff661465dc1198220075719e72d1 (patch) | |
tree | f45ad6e54e220fed35e4c6c572a07b74cbe96740 /arch/arm/mach-versatile | |
parent | d61015fad9703990e4b0c826ed943b13794f19c8 (diff) |
ARM: mach-realview and mach-versatile: retire custom LED code
This replaces the custom LED trigger code in mach-realview with
some overarching platform code for the plat-versatile family that
will lock down LEDs 2 thru 5 for CPU activity indication. The
day we have 8 core ARM systems the plat-versatile code will have
to become more elaborate.
Tested on RealView PB11MPCore by invoking four different CPU
hogs (yes > /dev/null&) and see the LEDs go on one at a time.
They all go off as the hogs are killed. Tested on the PB1176
as well - just one activity led (led 2) goes on and off with
CPU activity.
(bryan.wu@canonical.com: use ledtrig-cpu instead of ledtrig-arm-cpu)
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
Diffstat (limited to 'arch/arm/mach-versatile')
-rw-r--r-- | arch/arm/mach-versatile/core.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c index cd8ea3588f93..855ca02581e8 100644 --- a/arch/arm/mach-versatile/core.c +++ b/arch/arm/mach-versatile/core.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #include <linux/mtd/physmap.h> | 37 | #include <linux/mtd/physmap.h> |
38 | 38 | ||
39 | #include <asm/irq.h> | 39 | #include <asm/irq.h> |
40 | #include <asm/leds.h> | ||
41 | #include <asm/hardware/arm_timer.h> | 40 | #include <asm/hardware/arm_timer.h> |
42 | #include <asm/hardware/icst.h> | 41 | #include <asm/hardware/icst.h> |
43 | #include <asm/hardware/vic.h> | 42 | #include <asm/hardware/vic.h> |
@@ -763,10 +762,6 @@ void __init versatile_init(void) | |||
763 | struct amba_device *d = amba_devs[i]; | 762 | struct amba_device *d = amba_devs[i]; |
764 | amba_device_register(d, &iomem_resource); | 763 | amba_device_register(d, &iomem_resource); |
765 | } | 764 | } |
766 | |||
767 | #ifdef CONFIG_LEDS | ||
768 | leds_event = versatile_leds_event; | ||
769 | #endif | ||
770 | } | 765 | } |
771 | 766 | ||
772 | /* | 767 | /* |