kernel-fxtec-pro1x/arch/arm/mach-davinci
Mark A. Greer 79c3c0b729 davinci: Encapsulate SoC-specific data in a structure
Create a structure to encapsulate SoC-specific information.
This will assist in generalizing code so it can be used by
different SoCs that have similar hardware but with minor
differences such as having a different base address.

The idea is that the code for each SoC fills out a structure
with the correct information.  The board-specific code then
calls the SoC init routine which in turn will call a common
init routine that makes a copy of the structure, maps in I/O
regions, etc.

After initialization, code can get a pointer to the structure
by calling davinci_get_soc_info().  Eventually, the common
init routine will make a copy of all of the data pointed to
by the structure so the original data can be made __init_data.
That way the data for SoC's that aren't being used won't consume
memory for the entire life of the kernel.

The structure will be extended in subsequent patches but
initially, it holds the map_desc structure for any I/O
regions the SoC/board wants statically mapped.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-05-26 08:14:04 -07:00
..
include/mach davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
board-dm355-evm.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
board-dm355-leopard.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
board-dm644x-evm.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
board-dm646x-evm.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
board-sffsdr.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
clock.c davinci: major rework of clock, PLL, PSC infrastructure 2009-04-23 09:31:00 -07:00
clock.h davinci: add platform support for watchdog timer 2009-05-26 07:18:15 -07:00
common.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
cp_intc.c davinci: INTC: add support for TI cp_intc 2009-05-26 07:18:14 -07:00
devices.c davinci: MMC platform support 2009-05-26 07:18:16 -07:00
dm355.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
dm644x.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
dm646x.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
dma.c davinci: add EDMA driver 2009-04-27 09:49:42 -07:00
gpio.c davinci: fixups for banked GPIO interrupt handling 2009-05-26 07:17:54 -07:00
id.c davinci: add arch_ioremap() which uses existing static mappings 2009-04-23 09:31:09 -07:00
io.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
irq.c davinci: DM355 IRQ Definitions 2009-04-27 09:49:44 -07:00
Kconfig davinci: DM646x: add base SoC and board support 2009-05-26 07:18:15 -07:00
Makefile davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
Makefile.boot [ARM] 4303/3: base kernel support for TI DaVinci 2007-05-11 17:26:55 +01:00
mux.c davinci: update pin-multiplexing support 2009-04-27 09:49:46 -07:00
mux.h davinci: update pin-multiplexing support 2009-04-27 09:49:46 -07:00
psc.c davinci: PSC: Clear bits in MDCTL reg before setting new bits 2009-04-27 09:49:43 -07:00
serial.c davinci: serial: generalize for more SoCs 2009-04-27 09:49:45 -07:00
time.c davinci: add platform support for watchdog timer 2009-05-26 07:18:15 -07:00
usb.c davinci: add arch_ioremap() which uses existing static mappings 2009-04-23 09:31:09 -07:00