diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-04-17 14:20:49 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 18:01:43 -0400 |
commit | 33bf33278fa608428c46d4fab58ae5bc3e3acfde (patch) | |
tree | 06ae04e544da1f5ac48cbf4b3168cb3e4b98e03a | |
parent | 8eadcf74ec8285800f7f6a36a8f283932a69d17f (diff) |
ARM: SAMSUNG: move hr timer for common s5p into plat-samsung
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/plat-s5p/Kconfig | 6 | ||||
-rw-r--r-- | arch/arm/plat-s5p/Makefile | 4 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 8 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-time.c (renamed from arch/arm/plat-s5p/s5p-time.c) | 3 |
5 files changed, 11 insertions, 12 deletions
diff --git a/arch/arm/plat-s5p/Kconfig b/arch/arm/plat-s5p/Kconfig index 8e45c8b15d1b..795790df7404 100644 --- a/arch/arm/plat-s5p/Kconfig +++ b/arch/arm/plat-s5p/Kconfig | |||
@@ -23,12 +23,6 @@ config PLAT_S5P | |||
23 | help | 23 | help |
24 | Base platform code for Samsung's S5P series SoC. | 24 | Base platform code for Samsung's S5P series SoC. |
25 | 25 | ||
26 | config S5P_HRT | ||
27 | bool | ||
28 | select SAMSUNG_DEV_PWM | ||
29 | help | ||
30 | Use the High Resolution timer support | ||
31 | |||
32 | config S5P_DEV_UART | 26 | config S5P_DEV_UART |
33 | def_bool y | 27 | def_bool y |
34 | depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210) | 28 | depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210) |
diff --git a/arch/arm/plat-s5p/Makefile b/arch/arm/plat-s5p/Makefile index c81106f5d7c1..0a2ce38b179f 100644 --- a/arch/arm/plat-s5p/Makefile +++ b/arch/arm/plat-s5p/Makefile | |||
@@ -10,10 +10,6 @@ obj-m := | |||
10 | obj-n := dummy.o | 10 | obj-n := dummy.o |
11 | obj- := | 11 | obj- := |
12 | 12 | ||
13 | # Core files | ||
14 | |||
15 | obj-$(CONFIG_S5P_HRT) += s5p-time.o | ||
16 | |||
17 | # devices | 13 | # devices |
18 | 14 | ||
19 | obj-$(CONFIG_S5P_DEV_UART) += dev-uart.o | 15 | obj-$(CONFIG_S5P_DEV_UART) += dev-uart.o |
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 218462361e31..1922413f2ee7 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -50,6 +50,14 @@ config S3C_LOWLEVEL_UART_PORT | |||
50 | this configuration should be between zero and two. The port | 50 | this configuration should be between zero and two. The port |
51 | must have been initialised by the boot-loader before use. | 51 | must have been initialised by the boot-loader before use. |
52 | 52 | ||
53 | # timer options | ||
54 | |||
55 | config S5P_HRT | ||
56 | bool | ||
57 | select SAMSUNG_DEV_PWM | ||
58 | help | ||
59 | Use the High Resolution timer support | ||
60 | |||
53 | # clock options | 61 | # clock options |
54 | 62 | ||
55 | config SAMSUNG_CLKSRC | 63 | config SAMSUNG_CLKSRC |
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile index caa6f9af1f3d..6217c41e6260 100644 --- a/arch/arm/plat-samsung/Makefile +++ b/arch/arm/plat-samsung/Makefile | |||
@@ -13,6 +13,8 @@ obj- := | |||
13 | 13 | ||
14 | obj-y += init.o cpu.o | 14 | obj-y += init.o cpu.o |
15 | obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET) += time.o | 15 | obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET) += time.o |
16 | obj-$(CONFIG_S5P_HRT) += s5p-time.o | ||
17 | |||
16 | obj-y += clock.o | 18 | obj-y += clock.o |
17 | obj-y += pwm-clock.o | 19 | obj-y += pwm-clock.o |
18 | 20 | ||
diff --git a/arch/arm/plat-s5p/s5p-time.c b/arch/arm/plat-samsung/s5p-time.c index 17c0a2c58dfd..028b6e877eb9 100644 --- a/arch/arm/plat-s5p/s5p-time.c +++ b/arch/arm/plat-samsung/s5p-time.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s5p/s5p-time.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2011 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2011 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com/ | 3 | * http://www.samsung.com/ |
5 | * | 4 | * |