summaryrefslogtreecommitdiff
path: root/drivers/timer/Makefile
diff options
context:
space:
mode:
authorVlad Zakharov <vzakhar@synopsys.com>2017-03-21 14:49:47 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2017-03-24 14:20:55 +0300
commitad9b5f77dffaa38ea830af94cd5de3450318f97c (patch)
tree3bb41583e0f1dada28c659aafabd7cc240c88cba /drivers/timer/Makefile
parentd0ffda8ed208ff2957cd09ccc37e2d6dff81523e (diff)
downloadu-boot-ad9b5f77dffaa38ea830af94cd5de3450318f97c.tar.gz
u-boot-ad9b5f77dffaa38ea830af94cd5de3450318f97c.tar.bz2
u-boot-ad9b5f77dffaa38ea830af94cd5de3450318f97c.zip
drivers: timer: Introduce ARC timer driver
This commit introduces timer driver for ARC. ARC timers are configured via ARC AUX registers so we use special functions to access timer control registers. This driver allows utilization of either timer0 or timer1 depending on which one is available in real hardware. Essentially only existing timers should be mentioned in board's Device Tree description. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/timer/Makefile')
-rw-r--r--drivers/timer/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/timer/Makefile b/drivers/timer/Makefile
index ae94be86c0..bfe65fcb48 100644
--- a/drivers/timer/Makefile
+++ b/drivers/timer/Makefile
@@ -11,3 +11,4 @@ obj-$(CONFIG_X86_TSC_TIMER) += tsc_timer.o
obj-$(CONFIG_OMAP_TIMER) += omap-timer.o
obj-$(CONFIG_AST_TIMER) += ast_timer.o
obj-$(CONFIG_STI_TIMER) += sti-timer.o
+obj-$(CONFIG_ARC_TIMER) += arc_timer.o