clocksource: at91: Move to 'drivers/clocksource'
Move PIT driver code to 'drivers/clocsource' and accomodate it by adjusting Kconfig variables. Rename the file to 'timer-atmel-pit.c' to re-align the driver with code in Linux kernel. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
d6200fe415
commit
a76714f7f9
|
@ -15,20 +15,17 @@ config HAVE_AT91_LOWLEVEL_INIT
|
|||
config AT91SAM9_SMC
|
||||
bool
|
||||
|
||||
config AT91SAM9_TIMER
|
||||
bool
|
||||
|
||||
config SOC_AT91SAM9
|
||||
bool
|
||||
select CPU_ARM926T
|
||||
select AT91SAM9_SMC
|
||||
select AT91SAM9_TIMER
|
||||
select CLOCKSOURCE_ATMEL_PIT
|
||||
|
||||
config SOC_SAMA5
|
||||
bool
|
||||
select CPU_V7
|
||||
select AT91SAM9_SMC
|
||||
select AT91SAM9_TIMER
|
||||
select CLOCKSOURCE_ATMEL_PIT
|
||||
|
||||
config ARCH_TEXT_BASE
|
||||
hex
|
||||
|
|
|
@ -19,7 +19,6 @@ obj-$(CONFIG_AT91SAM9_RESET) += at91sam9_reset.o
|
|||
obj-$(CONFIG_AT91SAM9G45_RESET) += at91sam9g45_reset.o
|
||||
|
||||
obj-$(CONFIG_AT91SAM9_SMC) += sam9_smc.o
|
||||
obj-$(CONFIG_AT91SAM9_TIMER) += at91sam926x_time.o
|
||||
|
||||
# CPU-specific support
|
||||
obj-$(CONFIG_ARCH_AT91RM9200) += at91rm9200.o at91rm9200_time.o at91rm9200_devices.o
|
||||
|
|
|
@ -53,3 +53,7 @@ config CLOCKSOURCE_UEMD
|
|||
config CLOCKSOURCE_ROCKCHIP
|
||||
bool
|
||||
depends on ARCH_ROCKCHIP
|
||||
|
||||
config CLOCKSOURCE_ATMEL_PIT
|
||||
bool
|
||||
depends on SOC_AT91SAM9 || SOC_SAMA5
|
||||
|
|
|
@ -8,3 +8,4 @@ obj-$(CONFIG_CLOCKSOURCE_NOMADIK) += nomadik.o
|
|||
obj-$(CONFIG_CLOCKSOURCE_ORION) += orion.o
|
||||
obj-$(CONFIG_CLOCKSOURCE_UEMD) += uemd.o
|
||||
obj-$(CONFIG_CLOCKSOURCE_ROCKCHIP)+= rk_timer.o
|
||||
obj-$(CONFIG_CLOCKSOURCE_ATMEL_PIT) += timer-atmel-pit.o
|
||||
|
|
Loading…
Reference in New Issue