aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r--arch/blackfin/Kconfig28
1 files changed, 24 insertions, 4 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index 2dd1f300a5cf..a3cf9d0a528b 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -47,10 +47,6 @@ config GENERIC_IRQ_PROBE
47 bool 47 bool
48 default y 48 default y
49 49
50config GENERIC_TIME
51 bool
52 default n
53
54config GENERIC_GPIO 50config GENERIC_GPIO
55 bool 51 bool
56 default y 52 default y
@@ -415,6 +411,30 @@ comment "Kernel Timer/Scheduler"
415 411
416source kernel/Kconfig.hz 412source kernel/Kconfig.hz
417 413
414config GENERIC_TIME
415 bool "Generic time"
416 default y
417
418config GENERIC_CLOCKEVENTS
419 bool "Generic clock events"
420 depends on GENERIC_TIME
421 default y
422
423config CYCLES_CLOCKSOURCE
424 bool "Use 'CYCLES' as a clocksource (EXPERIMENTAL)"
425 depends on EXPERIMENTAL
426 depends on GENERIC_CLOCKEVENTS
427 depends on !BFIN_SCRATCH_REG_CYCLES
428 default n
429 help
430 If you say Y here, you will enable support for using the 'cycles'
431 registers as a clock source. Doing so means you will be unable to
432 safely write to the 'cycles' register during runtime. You will
433 still be able to read it (such as for performance monitoring), but
434 writing the registers will most likely crash the kernel.
435
436source kernel/time/Kconfig
437
418comment "Memory Setup" 438comment "Memory Setup"
419 439
420config MEM_SIZE 440config MEM_SIZE