summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/timer.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-06-12 12:46:17 +0200
committerMichal Simek <michal.simek@xilinx.com>2018-06-12 12:46:35 +0200
commit5cf8da7bc03570bc15ef1b59e584dfb9e0f47e51 (patch)
tree8b3abca6736c2ac96c60d2eb17cdfb93be4c8502 /arch/microblaze/kernel/timer.c
parentmicroblaze: heartbeat: fix missing prom.h include (diff)
downloadlinux-5cf8da7bc03570bc15ef1b59e584dfb9e0f47e51.tar.xz
linux-5cf8da7bc03570bc15ef1b59e584dfb9e0f47e51.zip
microblaze: Remove architecture heart beat code
There is no reason to keep this gpio based code in architecture. Use ledtrig-heartbeat.c instead which is much more flexible then this ancient code. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/microblaze/kernel/timer.c')
-rw-r--r--arch/microblaze/kernel/timer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/microblaze/kernel/timer.c b/arch/microblaze/kernel/timer.c
index 7de941cbbd94..a6683484b3a1 100644
--- a/arch/microblaze/kernel/timer.c
+++ b/arch/microblaze/kernel/timer.c
@@ -156,9 +156,6 @@ static inline void timer_ack(void)
static irqreturn_t timer_interrupt(int irq, void *dev_id)
{
struct clock_event_device *evt = &clockevent_xilinx_timer;
-#ifdef CONFIG_HEART_BEAT
- microblaze_heartbeat();
-#endif
timer_ack();
evt->event_handler(evt);
return IRQ_HANDLED;
@@ -318,10 +315,6 @@ static int __init xilinx_timer_init(struct device_node *timer)
return ret;
}
-#ifdef CONFIG_HEART_BEAT
- microblaze_setup_heartbeat();
-#endif
-
ret = xilinx_clocksource_init();
if (ret)
return ret;