]> bbs.cooldavid.org Git - net-next-2.6.git/commit - arch/arm/mach-davinci/dm644x.c
davinci: Move interrupt ctlr info to SoC infrastructure
authorMark A. Greer <mgreer@mvista.com>
Wed, 15 Apr 2009 19:40:00 +0000 (12:40 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Tue, 26 May 2009 15:18:09 +0000 (08:18 -0700)
commit673dd36f0d0cf8893d6b46d524ad80e81076b885
tree50bd5c954e1b006c171c9effe72ac70e0a8203b4
parent0e585952ac6a06b3c77d6b8eadb9c359766a700d
davinci: Move interrupt ctlr info to SoC infrastructure

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: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/common.c
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/include/mach/common.h
arch/arm/mach-davinci/include/mach/entry-macro.S
arch/arm/mach-davinci/include/mach/irqs.h
arch/arm/mach-davinci/irq.c