From 32fd4dc25c02ece07794d63c0ea898cf34c8789e Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Mon, 27 Jul 2015 14:34:25 -0400 Subject: [PATCH] Create LOAPIC timer Kconfig options Creating the LOAPIC timer Kconfig options permits future commits to remove those settings from the relevant board.h files. NOTE: No defconfig files have been modified as the LOAPIC_TIMER configuration option is not enabled in any of them. Change-Id: I7d97ed089cd4b734566b698183be95d3a166d71f Signed-off-by: Peter Mitsis --- drivers/timer/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig index 8580fa0ac4..fa8a3275af 100644 --- a/drivers/timer/Kconfig +++ b/drivers/timer/Kconfig @@ -112,6 +112,20 @@ config LOAPIC_TIMER help This option selects LOAPIC timer as a system timer. +config LOAPIC_TIMER_IRQ + int "Local APIC Timer IRQ" + default 24 + depends on LOAPIC_TIMER + help + This option specifies the IRQ used by the LOAPIC timer. + +config LOAPIC_TIMER_IRQ_PRIORITY + int "Local APIC Timer IRQ Priority" + default 2 + depends on LOAPIC_TIMER + help + This options specifies the IRQ priority used by the LOAPIC timer. + config PIT bool "PIT (i8253)" default n