diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-03-25 17:43:46 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-06 18:02:04 -0400 |
commit | 449ef7f6a9c732657938b222f8804d3e34a3603e (patch) | |
tree | e51b0deae656c28dc77215c1ccd4466202ed98ab /arch/arm/mach-davinci/board-da850-evm.c | |
parent | 8ca2e597fc8f3337cef1f8febab482fe8c52b004 (diff) |
Davinci: cpintc host map configuration
Host map configuration instructs the interrupt controller to route interrupt
channels to FIQ or IRQ lines. Currently, DA8xx family of devices leave these
registers at their reset-default values.
TNETV107X however does not have sane reset defaults, and therefore this
architecture needs to reconfigure the host-map such that channels 0 and 1
go to FIQ, and the remaining channels raise IRQs.
This patch adds an optional host map argument to cp_intc_init() for this.
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-da850-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-da850-evm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 411284d0b0f..ef691ae5e67 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c | |||
@@ -741,7 +741,7 @@ static __init void da850_evm_irq_init(void) | |||
741 | struct davinci_soc_info *soc_info = &davinci_soc_info; | 741 | struct davinci_soc_info *soc_info = &davinci_soc_info; |
742 | 742 | ||
743 | cp_intc_init((void __iomem *)DA8XX_CP_INTC_VIRT, DA850_N_CP_INTC_IRQ, | 743 | cp_intc_init((void __iomem *)DA8XX_CP_INTC_VIRT, DA850_N_CP_INTC_IRQ, |
744 | soc_info->intc_irq_prios); | 744 | soc_info->intc_irq_prios, NULL); |
745 | } | 745 | } |
746 | 746 | ||
747 | static void __init da850_evm_map_io(void) | 747 | static void __init da850_evm_map_io(void) |