ARM: S5P: Update defconfig for HRT support
authorSangbeom Kim <sbkim73@samsung.com>
Fri, 11 Mar 2011 23:05:19 +0000 (08:05 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 11 Mar 2011 23:05:19 +0000 (08:05 +0900)
This patch updates s5pv210_defconfig and s5p64x0_defconfig for
HRT support and CONFIG_S5P_HRT is used for its configuration.

Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/Kconfig
arch/arm/configs/s5p64x0_defconfig
arch/arm/configs/s5pv210_defconfig
arch/arm/mach-s5p64x0/Kconfig
arch/arm/mach-s5pv210/Kconfig
arch/arm/plat-s5p/Kconfig

index b4db99bb4f8593d1d7aaf95eb4f13aff9350dc24..eed07eac3a5f353837ef086a3539162b253741bc 100644 (file)
@@ -715,7 +715,8 @@ config ARCH_S5P64X0
        select GENERIC_GPIO
        select HAVE_CLK
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
-       select ARCH_USES_GETTIMEOFFSET
+       select GENERIC_CLOCKEVENTS
+       select HAVE_SCHED_CLOCK
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C_RTC if RTC_CLASS
        help
@@ -753,7 +754,8 @@ config ARCH_S5PV210
        select HAVE_CLK
        select ARM_L1_CACHE_SHIFT_6
        select ARCH_HAS_CPUFREQ
-       select ARCH_USES_GETTIMEOFFSET
+       select GENERIC_CLOCKEVENTS
+       select HAVE_SCHED_CLOCK
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C_RTC if RTC_CLASS
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
index 2993ecd35145265d0cf2566bbf227158cd07a5c5..ad6b61b0bd1187d02cd65500cce8dbebf0cec2c3 100644 (file)
@@ -10,6 +10,8 @@ CONFIG_S3C_BOOT_ERROR_RESET=y
 CONFIG_S3C_LOWLEVEL_UART_PORT=1
 CONFIG_MACH_SMDK6440=y
 CONFIG_MACH_SMDK6450=y
+CONFIG_NO_HZ=y
+CONFIG_HIGH_RES_TIMERS=y
 CONFIG_CPU_32v6K=y
 CONFIG_AEABI=y
 CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC1,115200 init=/linuxrc"
index 0488a1eb4d7dd9c67f0c24a0fd837eed29f020cd..fa989902236db028b98ffffa7d8fcd8d77250048 100644 (file)
@@ -13,6 +13,8 @@ CONFIG_MACH_AQUILA=y
 CONFIG_MACH_GONI=y
 CONFIG_MACH_SMDKC110=y
 CONFIG_MACH_SMDKV210=y
+CONFIG_NO_HZ=y
+CONFIG_HIGH_RES_TIMERS=y
 CONFIG_VMSPLIT_2G=y
 CONFIG_PREEMPT=y
 CONFIG_AEABI=y
index 08b0a5bf1d60f6c465515de6cc63bc9e4626dbd4..017af4c4293c763757cd780aa63758682e3e6c88 100644 (file)
@@ -10,12 +10,14 @@ if ARCH_S5P64X0
 config CPU_S5P6440
        bool
        select S3C_PL330_DMA
+       select S5P_HRT
        help
          Enable S5P6440 CPU support
 
 config CPU_S5P6450
        bool
        select S3C_PL330_DMA
+       select S5P_HRT
        help
          Enable S5P6450 CPU support
 
index 7f015bbba8538bdcaabf2b1c578b57d08a0f1552..37b5a97594a50670ab7fda31f79a2c58d3887bfa 100644 (file)
@@ -13,6 +13,7 @@ config CPU_S5PV210
        bool
        select S3C_PL330_DMA
        select S5P_EXT_INT
+       select S5P_HRT
        select S5PV210_PM if PM
        help
          Enable S5PV210 CPU support
index 463d3aac83e4432f722cce4d882d444574fb9e50..0e414477124054e4d071bfacce1a6b98d0cc1b07 100644 (file)
@@ -37,6 +37,11 @@ config S5P_GPIO_INT
        help
          Common code for the GPIO interrupts (other than external interrupts.)
 
+config S5P_HRT
+       bool
+       help
+         Use the High Resolution timer support
+
 comment "System MMU"
 
 config S5P_SYSTEM_MMU