summaryrefslogtreecommitdiffstats
path: root/arch/arc/Kconfig
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-10-31 22:26:41 +0100
committerVineet Gupta <vgupta@synopsys.com>2016-11-30 20:54:25 +0100
commit044214200b0b7aa4633d2e93529e55b5ca50a5a5 (patch)
tree31b2dd139ca95900919b0883268e3983b1949bb7 /arch/arc/Kconfig
parentARC: timer: gfrc, rtc: Read BCR to detect whether hardware exists ... (diff)
downloadlinux-044214200b0b7aa4633d2e93529e55b5ca50a5a5.tar.xz
linux-044214200b0b7aa4633d2e93529e55b5ca50a5a5.zip
ARC: timer: gfrc, rtc: build under same option (64-bit timers)
The original distinction was done as they were developed at different times and primarily because they are specific to UP (RTC) and SMP (GFRC). But given that driver handles that at runtime, (i.e. not allowing RTC as clocksource in SMP), we can simplify things a bit. Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r--arch/arc/Kconfig10
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index bd204bfa29ed..bde3e558d8bc 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -410,15 +410,9 @@ config ARC_HAS_DIV_REM
bool "Insn: div, divu, rem, remu"
default y
-config ARC_HAS_RTC
- bool "Local 64-bit r/o cycle counter"
- default n
- depends on !SMP
-
-config ARC_HAS_GFRC
- bool "SMP synchronized 64-bit cycle counter"
+config ARC_TIMERS_64BIT
+ bool "64-bit r/o cycle counters RTC (up) and GFRC (smp)"
default y
- depends on SMP
config ARC_NUMBER_OF_INTERRUPTS
int "Number of interrupts"