Skip to content
Snippets Groups Projects
Commit 7030f27e authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

x86: tsc: Move tsc_timer.c to drivers/timer


To group all dm timer drivers together, move tsc timer to
drivers/timer directory.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 1d4c83c2
No related branches found
No related tags found
Loading
...@@ -34,7 +34,6 @@ obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += smbios.o ...@@ -34,7 +34,6 @@ obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += smbios.o
obj-y += string.o obj-y += string.o
obj-$(CONFIG_GENERATE_ACPI_TABLE) += acpi_table.o obj-$(CONFIG_GENERATE_ACPI_TABLE) += acpi_table.o
obj-y += tables.o obj-y += tables.o
obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
obj-$(CONFIG_CMD_ZBOOT) += zimage.o obj-$(CONFIG_CMD_ZBOOT) += zimage.o
obj-$(CONFIG_HAVE_FSP) += fsp/ obj-$(CONFIG_HAVE_FSP) += fsp/
......
...@@ -23,4 +23,11 @@ config SANDBOX_TIMER ...@@ -23,4 +23,11 @@ config SANDBOX_TIMER
Select this to enable an emulated timer for sandbox. It gets Select this to enable an emulated timer for sandbox. It gets
time from host os. time from host os.
config X86_TSC_TIMER
bool "x86 Time-Stamp Counter (TSC) timer support"
depends on TIMER && X86
default y if X86
help
Select this to enable Time-Stamp Counter (TSC) timer for x86.
endmenu endmenu
...@@ -7,3 +7,4 @@ ...@@ -7,3 +7,4 @@
obj-$(CONFIG_TIMER) += timer-uclass.o obj-$(CONFIG_TIMER) += timer-uclass.o
obj-$(CONFIG_ALTERA_TIMER) += altera_timer.o obj-$(CONFIG_ALTERA_TIMER) += altera_timer.o
obj-$(CONFIG_SANDBOX_TIMER) += sandbox_timer.o obj-$(CONFIG_SANDBOX_TIMER) += sandbox_timer.o
obj-$(CONFIG_X86_TSC_TIMER) += tsc_timer.o
File moved
...@@ -152,8 +152,6 @@ ...@@ -152,8 +152,6 @@
* CPU Features * CPU Features
*/ */
#define CONFIG_SYS_X86_TSC_TIMER
#define CONFIG_SYS_STACK_SIZE (32 * 1024) #define CONFIG_SYS_STACK_SIZE (32 * 1024)
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_MALLOC_LEN 0x200000 #define CONFIG_SYS_MALLOC_LEN 0x200000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment