From 9ce2aa171039f1097e2d293235e733cce94cbabb Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:10 -0700 Subject: Drop CONFIG_SHOW_ACTIVITY This feature is not enabled by any board. Drop it. Signed-off-by: Simon Glass --- drivers/timer/mpc83xx_timer.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drivers/timer/mpc83xx_timer.c') diff --git a/drivers/timer/mpc83xx_timer.c b/drivers/timer/mpc83xx_timer.c index 8e541109d4e..9bc32f9b281 100644 --- a/drivers/timer/mpc83xx_timer.c +++ b/drivers/timer/mpc83xx_timer.c @@ -171,10 +171,6 @@ void timer_interrupt(struct pt_regs *regs) #ifdef CONFIG_LED_STATUS status_led_tick(priv->timestamp); #endif /* CONFIG_LED_STATUS */ - -#ifdef CONFIG_SHOW_ACTIVITY - board_show_activity(priv->timestamp); -#endif /* CONFIG_SHOW_ACTIVITY */ } void wait_ticks(ulong ticks) -- cgit v1.2.3 From c3e4430ef3ea313dd4c97d8b089bd841e66d394b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:11 -0700 Subject: common: Drop global inclusion of status_led.h This is only used by a few files so it should not be in the common header. Move it out. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- drivers/timer/mpc83xx_timer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/timer/mpc83xx_timer.c') diff --git a/drivers/timer/mpc83xx_timer.c b/drivers/timer/mpc83xx_timer.c index 9bc32f9b281..dfbc8672b29 100644 --- a/drivers/timer/mpc83xx_timer.c +++ b/drivers/timer/mpc83xx_timer.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3 From 036a017f79f6c485605c555b3a8733debb72d995 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:27 -0700 Subject: common: Move wait_ticks functions out of common.h This function belongs in time.h so move it over and add a comment. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- drivers/timer/mpc83xx_timer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/timer/mpc83xx_timer.c') diff --git a/drivers/timer/mpc83xx_timer.c b/drivers/timer/mpc83xx_timer.c index dfbc8672b29..69949d53338 100644 --- a/drivers/timer/mpc83xx_timer.c +++ b/drivers/timer/mpc83xx_timer.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3 From c30b7adbcaa88511e7f6095e0683d83cc958bb30 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:41 -0700 Subject: common: Move interrupt functions into a new header These functions do not use driver model but are fairly widely used in U-Boot. But it is not clear that they will use driver model anytime soon, so we don't want to label them as 'legacy'. Move them to a new irq_func.h header file. Avoid the name 'irq.h' since it is widely used in U-Boot already. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- drivers/timer/mpc83xx_timer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/timer/mpc83xx_timer.c') diff --git a/drivers/timer/mpc83xx_timer.c b/drivers/timer/mpc83xx_timer.c index 69949d53338..72cb58b6934 100644 --- a/drivers/timer/mpc83xx_timer.c +++ b/drivers/timer/mpc83xx_timer.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3