Create IOAPIC and LOAPIC Kconfig options
Creating the IOAPIC and LOAPIC Kconfig options permits future commits to remove those settings from the relevant board.h files. Change-Id: Ie33c703f39c68d6e251d67b1c7cf75a0dd56a7e6 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
658bb54ed1
commit
2db3db4ce2
8 changed files with 46 additions and 0 deletions
|
@ -161,7 +161,10 @@ CONFIG_NS16550=y
|
|||
#
|
||||
# CONFIG_PIC is not set
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_LOAPIC_BASE_ADDRESS=0xFEE00000
|
||||
CONFIG_IOAPIC=y
|
||||
CONFIG_IOAPIC_BASE_ADDRESS=0xFEC00000
|
||||
CONFIG_IOAPIC_NUM_RTES=24
|
||||
|
||||
#
|
||||
# Timer Drivers
|
||||
|
|
|
@ -154,7 +154,10 @@ CONFIG_NS16550=y
|
|||
#
|
||||
# CONFIG_PIC is not set
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_LOAPIC_BASE_ADDRESS=0xFEE00000
|
||||
CONFIG_IOAPIC=y
|
||||
CONFIG_IOAPIC_BASE_ADDRESS=0xFEC00000
|
||||
CONFIG_IOAPIC_NUM_RTES=24
|
||||
|
||||
#
|
||||
# Timer Drivers
|
||||
|
|
|
@ -157,7 +157,10 @@ CONFIG_NS16550=y
|
|||
#
|
||||
# CONFIG_PIC is not set
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_LOAPIC_BASE_ADDRESS=0xFEE00000
|
||||
CONFIG_IOAPIC=y
|
||||
CONFIG_IOAPIC_BASE_ADDRESS=0xFEC00000
|
||||
CONFIG_IOAPIC_NUM_RTES=24
|
||||
|
||||
#
|
||||
# Timer Drivers
|
||||
|
|
|
@ -140,7 +140,10 @@ CONFIG_NS16550=y
|
|||
#
|
||||
# CONFIG_PIC is not set
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_LOAPIC_BASE_ADDRESS=0xFEE00000
|
||||
CONFIG_IOAPIC=y
|
||||
CONFIG_IOAPIC_BASE_ADDRESS=0xFEC00000
|
||||
CONFIG_IOAPIC_NUM_RTES=24
|
||||
|
||||
#
|
||||
# Timer Drivers
|
||||
|
|
|
@ -131,7 +131,10 @@ CONFIG_NS16550=y
|
|||
#
|
||||
# CONFIG_PIC is not set
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_LOAPIC_BASE_ADDRESS=0xFEE00000
|
||||
CONFIG_IOAPIC=y
|
||||
CONFIG_IOAPIC_BASE_ADDRESS=0xFEC00000
|
||||
CONFIG_IOAPIC_NUM_RTES=24
|
||||
|
||||
#
|
||||
# Timer Drivers
|
||||
|
|
|
@ -136,7 +136,10 @@ CONFIG_NS16550=y
|
|||
#
|
||||
# CONFIG_PIC is not set
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_LOAPIC_BASE_ADDRESS=0xFEE00000
|
||||
CONFIG_IOAPIC=y
|
||||
CONFIG_IOAPIC_BASE_ADDRESS=0xFEC00000
|
||||
CONFIG_IOAPIC_NUM_RTES=24
|
||||
|
||||
#
|
||||
# Timer Drivers
|
||||
|
|
|
@ -157,7 +157,10 @@ CONFIG_NS16550=y
|
|||
#
|
||||
# CONFIG_PIC is not set
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_LOAPIC_BASE_ADDRESS=0xFEE00000
|
||||
CONFIG_IOAPIC=y
|
||||
CONFIG_IOAPIC_BASE_ADDRESS=0xFEC00000
|
||||
CONFIG_IOAPIC_NUM_RTES=24
|
||||
|
||||
#
|
||||
# Timer Drivers
|
||||
|
|
|
@ -46,6 +46,13 @@ config LOAPIC
|
|||
help
|
||||
This option selects local APIC as the interrupt controller.
|
||||
|
||||
config LOAPIC_BASE_ADDRESS
|
||||
hex "Local APIC Base Address"
|
||||
default 0xFEE00000
|
||||
depends on LOAPIC
|
||||
help
|
||||
This option specifies the base address of the Local APIC device.
|
||||
|
||||
config IOAPIC
|
||||
bool "IOAPIC"
|
||||
default y
|
||||
|
@ -54,6 +61,24 @@ config IOAPIC
|
|||
This option signifies that the target has an IO-APIC device. This
|
||||
capability allows IO-APIC-dependent code to be included.
|
||||
|
||||
config IOAPIC_BASE_ADDRESS
|
||||
hex "IO-APIC Base Address"
|
||||
default 0xFEC00000
|
||||
depends on IOAPIC
|
||||
help
|
||||
This option specifies the base address of the IO-APIC device.
|
||||
|
||||
config IOAPIC_NUM_RTES
|
||||
int "Number of Redirection Table Entries available"
|
||||
default 24
|
||||
depends on IOAPIC
|
||||
help
|
||||
This option indicates the maximum number of Redirection Table Entries
|
||||
(RTEs) (one per IRQ available to the IO-APIC) made available to the
|
||||
kernel, regardless of the number provided by the hardware itself. For
|
||||
most efficient usage of memory, it should match the number of IRQ lines
|
||||
needed by devices connected to the IO-APIC.
|
||||
|
||||
config ARCV2_INTERRUPT_UNIT
|
||||
bool "ARCv2 Interrupt Unit"
|
||||
default y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue