• Mark A. Greer's avatar
    davinci: Move interrupt ctlr info to SoC infrastructure · 673dd36f
    Mark A. Greer authored
    Use the SoC infrastructure to hold the interrupt controller
    information (i.e., base address, default priorities,
    interrupt controller type, and the number of IRQs).
    
    The interrupt controller base, although initially put
    in the soc_info structure's intc_base field, is eventually
    put in the global 'davinci_intc_base' so the low-level
    interrupt code can access it without a dereference.
    
    These changes enable the SoC default irq priorities to be
    put in the SoC-specific files, and the interrupt controller
    to be at any base address.
    Signed-off-by: default avatarMark A. Greer <mgreer@mvista.com>
    Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    673dd36f
irq.c 4.17 KB