ARM: SAMSUNG: move hr timer for common s5p into plat-samsung
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
parent
8eadcf74ec
commit
33bf33278f
|
@ -23,12 +23,6 @@ config PLAT_S5P
|
||||||
help
|
help
|
||||||
Base platform code for Samsung's S5P series SoC.
|
Base platform code for Samsung's S5P series SoC.
|
||||||
|
|
||||||
config S5P_HRT
|
|
||||||
bool
|
|
||||||
select SAMSUNG_DEV_PWM
|
|
||||||
help
|
|
||||||
Use the High Resolution timer support
|
|
||||||
|
|
||||||
config S5P_DEV_UART
|
config S5P_DEV_UART
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210)
|
depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210)
|
||||||
|
|
|
@ -10,10 +10,6 @@ obj-m :=
|
||||||
obj-n := dummy.o
|
obj-n := dummy.o
|
||||||
obj- :=
|
obj- :=
|
||||||
|
|
||||||
# Core files
|
|
||||||
|
|
||||||
obj-$(CONFIG_S5P_HRT) += s5p-time.o
|
|
||||||
|
|
||||||
# devices
|
# devices
|
||||||
|
|
||||||
obj-$(CONFIG_S5P_DEV_UART) += dev-uart.o
|
obj-$(CONFIG_S5P_DEV_UART) += dev-uart.o
|
||||||
|
|
|
@ -50,6 +50,14 @@ config S3C_LOWLEVEL_UART_PORT
|
||||||
this configuration should be between zero and two. The port
|
this configuration should be between zero and two. The port
|
||||||
must have been initialised by the boot-loader before use.
|
must have been initialised by the boot-loader before use.
|
||||||
|
|
||||||
|
# timer options
|
||||||
|
|
||||||
|
config S5P_HRT
|
||||||
|
bool
|
||||||
|
select SAMSUNG_DEV_PWM
|
||||||
|
help
|
||||||
|
Use the High Resolution timer support
|
||||||
|
|
||||||
# clock options
|
# clock options
|
||||||
|
|
||||||
config SAMSUNG_CLKSRC
|
config SAMSUNG_CLKSRC
|
||||||
|
|
|
@ -13,6 +13,8 @@ obj- :=
|
||||||
|
|
||||||
obj-y += init.o cpu.o
|
obj-y += init.o cpu.o
|
||||||
obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET) += time.o
|
obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET) += time.o
|
||||||
|
obj-$(CONFIG_S5P_HRT) += s5p-time.o
|
||||||
|
|
||||||
obj-y += clock.o
|
obj-y += clock.o
|
||||||
obj-y += pwm-clock.o
|
obj-y += pwm-clock.o
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* linux/arch/arm/plat-s5p/s5p-time.c
|
/*
|
||||||
*
|
|
||||||
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
|
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
|
||||||
* http://www.samsung.com/
|
* http://www.samsung.com/
|
||||||
*
|
*
|
Loading…
Reference in New Issue