aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/realview_pba8.c
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@canonical.com>2012-03-13 06:06:36 -0400
committerBryan Wu <bryan.wu@canonical.com>2012-07-31 23:22:04 -0400
commite031cd513ec2ff661465dc1198220075719e72d1 (patch)
treef45ad6e54e220fed35e4c6c572a07b74cbe96740 /arch/arm/mach-realview/realview_pba8.c
parentd61015fad9703990e4b0c826ed943b13794f19c8 (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-realview/realview_pba8.c')
-rw-r--r--arch/arm/mach-realview/realview_pba8.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-realview/realview_pba8.c b/arch/arm/mach-realview/realview_pba8.c
index 59650174e6ed..081cd72c090e 100644
--- a/arch/arm/mach-realview/realview_pba8.c
+++ b/arch/arm/mach-realview/realview_pba8.c
@@ -29,7 +29,6 @@
29#include <linux/io.h> 29#include <linux/io.h>
30 30
31#include <asm/irq.h> 31#include <asm/irq.h>
32#include <asm/leds.h>
33#include <asm/mach-types.h> 32#include <asm/mach-types.h>
34#include <asm/pmu.h> 33#include <asm/pmu.h>
35#include <asm/pgtable.h> 34#include <asm/pgtable.h>
@@ -299,10 +298,6 @@ static void __init realview_pba8_init(void)
299 struct amba_device *d = amba_devs[i]; 298 struct amba_device *d = amba_devs[i];
300 amba_device_register(d, &iomem_resource); 299 amba_device_register(d, &iomem_resource);
301 } 300 }
302
303#ifdef CONFIG_LEDS
304 leds_event = realview_leds_event;
305#endif
306} 301}
307 302
308MACHINE_START(REALVIEW_PBA8, "ARM-RealView PB-A8") 303MACHINE_START(REALVIEW_PBA8, "ARM-RealView PB-A8")