mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
e0a593104d
Customize the SEC interrupt priority array in machine ints-priority.c. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
65 lines
1.5 KiB
Plaintext
65 lines
1.5 KiB
Plaintext
config BF60x
|
|
def_bool y
|
|
depends on (BF609)
|
|
select IRQ_PREFLOW_FASTEOI
|
|
|
|
if (BF60x)
|
|
|
|
source "arch/blackfin/mach-bf609/boards/Kconfig"
|
|
|
|
menu "BF609 Specific Configuration"
|
|
|
|
comment "Pin Interrupt to Port Assignment"
|
|
menu "Assignment"
|
|
|
|
config PINTx_REASSIGN
|
|
bool "Reprogram PINT Assignment"
|
|
default y
|
|
help
|
|
The interrupt assignment registers controls the pin-to-interrupt
|
|
assignment in a byte-wide manner. Each option allows you to select
|
|
a set of pins (High/Low Byte) of an specific Port being mapped
|
|
to one of the four PIN Interrupts IRQ_PINTx.
|
|
|
|
You shouldn't change any of these unless you know exactly what you're doing.
|
|
Please consult the Blackfin BF60x Processor Hardware Reference Manual.
|
|
|
|
config PINT0_ASSIGN
|
|
hex "PINT0_ASSIGN"
|
|
depends on PINTx_REASSIGN
|
|
default 0x00000101
|
|
config PINT1_ASSIGN
|
|
hex "PINT1_ASSIGN"
|
|
depends on PINTx_REASSIGN
|
|
default 0x00000101
|
|
config PINT2_ASSIGN
|
|
hex "PINT2_ASSIGN"
|
|
depends on PINTx_REASSIGN
|
|
default 0x00000101
|
|
config PINT3_ASSIGN
|
|
hex "PINT3_ASSIGN"
|
|
depends on PINTx_REASSIGN
|
|
default 0x00000101
|
|
config PINT4_ASSIGN
|
|
hex "PINT3_ASSIGN"
|
|
depends on PINTx_REASSIGN
|
|
default 0x00000101
|
|
config PINT5_ASSIGN
|
|
hex "PINT3_ASSIGN"
|
|
depends on PINTx_REASSIGN
|
|
default 0x00000101
|
|
|
|
endmenu
|
|
|
|
config SEC_IRQ_PRIORITY_LEVELS
|
|
int "SEC interrupt priority levels"
|
|
default 7
|
|
range 0 7
|
|
help
|
|
Devide the total number of interrupt priority levels into sub-levels.
|
|
There is 2 ^ (SEC_IRQ_PRIORITY_LEVELS + 1) different levels.
|
|
|
|
endmenu
|
|
|
|
endif
|