arc: move arc timer to drivers/
Change-Id: If4dccbf3bbe67c89b69aed1d62025bf867405d22 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
9687ed0b37
commit
f547c36df8
5 changed files with 9 additions and 6 deletions
|
@ -1,6 +1,4 @@
|
|||
obj-y = core/
|
||||
obj-y += bsp/
|
||||
obj-y += timer/
|
||||
obj-$(CONFIG_NSIM) += serial/
|
||||
obj-y += timer/
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
ccflags-y +=-I$(srctree)/arch/arc/$(strip $(CONFIG_BSP_DIR))
|
||||
asflags-y +=-I$(srctree)/arch/arc/$(strip $(CONFIG_BSP_DIR))
|
||||
|
||||
obj-y += arcv2_timer0.o
|
|
@ -62,4 +62,12 @@ config PIT
|
|||
help
|
||||
This option selects legacy i8253 timer as system timer.
|
||||
|
||||
config ARCV2_TIMER
|
||||
bool "ARC Timer"
|
||||
default y
|
||||
depends on ARC
|
||||
help
|
||||
This module implements a kernel device driver for the ARCv2 processor timer 0
|
||||
and provides the standard "system clock driver" interfaces.
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -4,3 +4,4 @@ ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(subst $(DQUOTE),,$(CONFIG_BSP_DIR))
|
|||
obj-$(CONFIG_PIT) = i8253.o
|
||||
obj-$(CONFIG_HPET_TIMER) += hpet.o
|
||||
obj-$(CONFIG_LOAPIC_TIMER) += loapic_timer.o
|
||||
obj-$(CONFIG_ARCV2_TIMER) += arcv2_timer0.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue