diff options
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 28 |
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 | ||
50 | config GENERIC_TIME | ||
51 | bool | ||
52 | default n | ||
53 | |||
54 | config GENERIC_GPIO | 50 | config GENERIC_GPIO |
55 | bool | 51 | bool |
56 | default y | 52 | default y |
@@ -415,6 +411,30 @@ comment "Kernel Timer/Scheduler" | |||
415 | 411 | ||
416 | source kernel/Kconfig.hz | 412 | source kernel/Kconfig.hz |
417 | 413 | ||
414 | config GENERIC_TIME | ||
415 | bool "Generic time" | ||
416 | default y | ||
417 | |||
418 | config GENERIC_CLOCKEVENTS | ||
419 | bool "Generic clock events" | ||
420 | depends on GENERIC_TIME | ||
421 | default y | ||
422 | |||
423 | config 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 | |||
436 | source kernel/time/Kconfig | ||
437 | |||
418 | comment "Memory Setup" | 438 | comment "Memory Setup" |
419 | 439 | ||
420 | config MEM_SIZE | 440 | config MEM_SIZE |