x86/bsp: move hpet driver to drivers/timer
Change-Id: I63c361a586d2fd8c03674febd58bc1dfd2658fdc Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
This commit is contained in:
parent
09d2770377
commit
73d74a5abb
5 changed files with 16 additions and 10 deletions
|
@ -32,13 +32,6 @@
|
|||
|
||||
menu "Timer Configuration"
|
||||
|
||||
config HPET_TIMER
|
||||
bool "HPET timer"
|
||||
default n
|
||||
help
|
||||
This option selects High Precision Event Timer (HPET) as a
|
||||
system timer.
|
||||
|
||||
config LOAPIC_TIMER
|
||||
bool "LOAPIC timer"
|
||||
depends on LOAPIC && BSP_GENERIC_PC
|
||||
|
|
|
@ -2,5 +2,4 @@ ccflags-y +=-I$(srctree)/include/drivers
|
|||
ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
|
||||
ccflags-y +=-I$(srctree)/arch/x86
|
||||
|
||||
obj-$(CONFIG_HPET_TIMER) += hpet.o
|
||||
obj-$(CONFIG_LOAPIC_TIMER) += loApicTimer.o
|
||||
|
|
|
@ -30,9 +30,22 @@
|
|||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
|
||||
menu "Timer Drivers"
|
||||
|
||||
config HPET_TIMER
|
||||
bool "HPET timer"
|
||||
default n
|
||||
depends on X86_32
|
||||
help
|
||||
This option selects High Precision Event Timer (HPET) as a
|
||||
system timer.
|
||||
|
||||
config PIT
|
||||
bool "PIT (i8253)"
|
||||
default n
|
||||
depends on ARCH="x86"
|
||||
depends on X86_32
|
||||
help
|
||||
This option selects legacy i8253 timer as system timer.
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
ccflags-y +=-I$(srctree)/arch/$(ARCH)
|
||||
ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
|
||||
ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(subst $(DQUOTE),,$(CONFIG_BSP_DIR))
|
||||
|
||||
obj-$(CONFIG_PIT) = i8253.o
|
||||
obj-$(CONFIG_HPET_TIMER) += hpet.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue