• Cyril Chemparathy's avatar
    Davinci: cpintc host map configuration · 449ef7f6
    Cyril Chemparathy authored
    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: default avatarCyril Chemparathy <cyril@ti.com>
    Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    449ef7f6
board-da850-evm.c 17.2 KB