mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-13 00:03:26 +09:00
![Vlad Zakharov](/assets/img/avatar_default.png)
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>
15 lines
432 B
Makefile
15 lines
432 B
Makefile
#
|
|
# Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_TIMER) += timer-uclass.o
|
|
obj-$(CONFIG_ALTERA_TIMER) += altera_timer.o
|
|
obj-$(CONFIG_SANDBOX_TIMER) += sandbox_timer.o
|
|
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
|