On 29-03-09 03:48, Mark A. Greer wrote:
From: "Mark A. Greer"<mgr...@mvista.com>

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 global 'davinci_soc_info' will point to that structure.

The idea is that the code for each SoC fills out the structure
with the correct information.  The board-specific code can
then modify anything in that structure before calling a
common init routine that sets 'davinci_soc_info', maps in
I/O regions, etc.

This 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<mgr...@mvista.com>
---
  arch/arm/mach-davinci/Makefile              |    2 +-
  arch/arm/mach-davinci/board-dm355-evm.c     |    7 +++-
  arch/arm/mach-davinci/board-dm644x-evm.c    |    7 +++-
  arch/arm/mach-davinci/board-dm646x-evm.c    |    7 +++-
  arch/arm/mach-davinci/board-sffsdr.c        |    7 +++-

Could you update board-dm355-leopard.c as well please?

regards,

Koen


_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to