diff options
Diffstat (limited to 'drivers/timer')
-rw-r--r-- | drivers/timer/altera_timer.c | 1 | ||||
-rw-r--r-- | drivers/timer/atmel_pit_timer.c | 1 | ||||
-rw-r--r-- | drivers/timer/cadence-ttc.c | 3 | ||||
-rw-r--r-- | drivers/timer/mpc83xx_timer.c | 3 | ||||
-rw-r--r-- | drivers/timer/mtk_timer.c | 1 | ||||
-rw-r--r-- | drivers/timer/nomadik-mtu-timer.c | 1 | ||||
-rw-r--r-- | drivers/timer/omap-timer.c | 1 | ||||
-rw-r--r-- | drivers/timer/ostm_timer.c | 1 | ||||
-rw-r--r-- | drivers/timer/rockchip_timer.c | 3 | ||||
-rw-r--r-- | drivers/timer/stm32_timer.c | 1 | ||||
-rw-r--r-- | drivers/timer/timer-uclass.c | 1 | ||||
-rw-r--r-- | drivers/timer/tsc_timer.c | 3 |
12 files changed, 20 insertions, 0 deletions
diff --git a/drivers/timer/altera_timer.c b/drivers/timer/altera_timer.c index 6f504f7cc4d..6ca9501eb17 100644 --- a/drivers/timer/altera_timer.c +++ b/drivers/timer/altera_timer.c @@ -12,6 +12,7 @@ #include <errno.h> #include <timer.h> #include <asm/io.h> +#include <linux/bitops.h> /* control register */ #define ALTERA_TIMER_CONT BIT(1) /* Continuous mode */ diff --git a/drivers/timer/atmel_pit_timer.c b/drivers/timer/atmel_pit_timer.c index 009af2f9298..70511697fef 100644 --- a/drivers/timer/atmel_pit_timer.c +++ b/drivers/timer/atmel_pit_timer.c @@ -9,6 +9,7 @@ #include <dm.h> #include <timer.h> #include <asm/io.h> +#include <linux/bitops.h> #define AT91_PIT_VALUE 0xfffff #define AT91_PIT_PITEN BIT(24) /* Timer Enabled */ diff --git a/drivers/timer/cadence-ttc.c b/drivers/timer/cadence-ttc.c index ed48a145f2c..e6b6dfe3765 100644 --- a/drivers/timer/cadence-ttc.c +++ b/drivers/timer/cadence-ttc.c @@ -4,10 +4,13 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> #include <errno.h> +#include <init.h> #include <timer.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/err.h> #define CNT_CNTRL_RESET BIT(4) diff --git a/drivers/timer/mpc83xx_timer.c b/drivers/timer/mpc83xx_timer.c index 72cb58b6934..ad8bb28e8b3 100644 --- a/drivers/timer/mpc83xx_timer.c +++ b/drivers/timer/mpc83xx_timer.c @@ -9,10 +9,13 @@ #include <clk.h> #include <dm.h> #include <irq_func.h> +#include <log.h> #include <status_led.h> #include <time.h> #include <timer.h> #include <watchdog.h> +#include <asm/ptrace.h> +#include <linux/bitops.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/timer/mtk_timer.c b/drivers/timer/mtk_timer.c index e99135e5bec..69ed521811d 100644 --- a/drivers/timer/mtk_timer.c +++ b/drivers/timer/mtk_timer.c @@ -11,6 +11,7 @@ #include <dm.h> #include <timer.h> #include <asm/io.h> +#include <linux/bitops.h> #define MTK_GPT4_CTRL 0x40 #define MTK_GPT4_CLK 0x44 diff --git a/drivers/timer/nomadik-mtu-timer.c b/drivers/timer/nomadik-mtu-timer.c index 8648f1f1df9..7ff921385a3 100644 --- a/drivers/timer/nomadik-mtu-timer.c +++ b/drivers/timer/nomadik-mtu-timer.c @@ -16,6 +16,7 @@ #include <dm.h> #include <timer.h> #include <asm/io.h> +#include <linux/bitops.h> #define MTU_NUM_TIMERS 4 diff --git a/drivers/timer/omap-timer.c b/drivers/timer/omap-timer.c index a13fb711656..700c349f371 100644 --- a/drivers/timer/omap-timer.c +++ b/drivers/timer/omap-timer.c @@ -11,6 +11,7 @@ #include <timer.h> #include <asm/io.h> #include <asm/arch/clock.h> +#include <linux/bitops.h> /* Timer register bits */ #define TCLR_START BIT(0) /* Start=1 */ diff --git a/drivers/timer/ostm_timer.c b/drivers/timer/ostm_timer.c index 48a5055b05e..bea97159ebe 100644 --- a/drivers/timer/ostm_timer.c +++ b/drivers/timer/ostm_timer.c @@ -11,6 +11,7 @@ #include <dm.h> #include <clk.h> #include <timer.h> +#include <linux/bitops.h> #define OSTM_CMP 0x00 #define OSTM_CNT 0x04 diff --git a/drivers/timer/rockchip_timer.c b/drivers/timer/rockchip_timer.c index 54956e557a1..7a5a4842527 100644 --- a/drivers/timer/rockchip_timer.c +++ b/drivers/timer/rockchip_timer.c @@ -4,7 +4,10 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> +#include <init.h> +#include <log.h> #include <dm/ofnode.h> #include <mapmem.h> #include <asm/arch-rockchip/timer.h> diff --git a/drivers/timer/stm32_timer.c b/drivers/timer/stm32_timer.c index 76d99a2b865..c57fa3f5570 100644 --- a/drivers/timer/stm32_timer.c +++ b/drivers/timer/stm32_timer.c @@ -10,6 +10,7 @@ #include <fdtdec.h> #include <timer.h> #include <dm/device_compat.h> +#include <linux/bitops.h> #include <asm/io.h> diff --git a/drivers/timer/timer-uclass.c b/drivers/timer/timer-uclass.c index b619200f00f..14dde950a18 100644 --- a/drivers/timer/timer-uclass.c +++ b/drivers/timer/timer-uclass.c @@ -5,6 +5,7 @@ #include <common.h> #include <dm.h> +#include <init.h> #include <dm/lists.h> #include <dm/device-internal.h> #include <dm/root.h> diff --git a/drivers/timer/tsc_timer.c b/drivers/timer/tsc_timer.c index 43cb2d820e8..93c959ff444 100644 --- a/drivers/timer/tsc_timer.c +++ b/drivers/timer/tsc_timer.c @@ -7,7 +7,9 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <time.h> #include <timer.h> @@ -17,6 +19,7 @@ #include <asm/ibmpc.h> #include <asm/msr.h> #include <asm/u-boot-x86.h> +#include <linux/delay.h> #define MAX_NUM_FREQS 9 |