Re: [PATCH 1/18] ARM: DaVinci - Encapsulate SoC-specific data in a structure

2009-04-03 Thread Sergei Shtylyov
Hello. 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

Re: [PATCH 1/18] ARM: DaVinci - Encapsulate SoC-specific data in a structure

2009-04-03 Thread Mark A. Greer
On Fri, Apr 03, 2009 at 06:38:44PM +0400, Sergei Shtylyov wrote: Hello. Mark A. Greer wrote: From: Mark A. Greer mgr...@mvista.com @@ -522,6 +525,25 @@ static struct platform_device dm355_edma_device = { /*--*/

Re: [PATCH 1/18] ARM: DaVinci - Encapsulate SoC-specific data in a structure

2009-03-30 Thread Mark A. Greer
On Sun, Mar 29, 2009 at 11:57:57AM +0200, Koen Kooi wrote: Could you update board-dm355-leopard.c as well please? Yes. I didn't notice the leopard until I'd already submitted. Mark -- ___ Davinci-linux-open-source mailing list

Re: [PATCH 1/18] ARM: DaVinci - Encapsulate SoC-specific data in a structure

2009-03-30 Thread Mark A. Greer
On Sat, Mar 28, 2009 at 08:42:26PM -0700, David Brownell wrote: On Saturday 28 March 2009, Mark A. Greer wrote: +/* SoC specific init support */ +struct davinci_soc_info { +   struct map_desc *io_desc; +   unsigned long   io_desc_num; +}; How

Re: [PATCH 1/18] ARM: DaVinci - Encapsulate SoC-specific data in a structure

2009-03-30 Thread David Brownell
On Monday 30 March 2009, Mark A. Greer wrote: How about adding the physical address of the SRAM (as exposed to EDMA and ARM), and its size?  ... This seems like a good idea but I'd like to leave it out of this series of patches. OK. We can add things to davinci_soc_info at our

Re: [PATCH 1/18] ARM: DaVinci - Encapsulate SoC-specific data in a structure

2009-03-30 Thread Mark A. Greer
On Mon, Mar 30, 2009 at 10:35:01AM -0700, David Brownell wrote: On Monday 30 March 2009, Mark A. Greer wrote: How about adding the physical address of the SRAM (as exposed to EDMA and ARM), and its size?  ... This seems like a good idea but I'd like to leave it out of this series

Re: [PATCH 1/18] ARM: DaVinci - Encapsulate SoC-specific data in a structure

2009-03-29 Thread Koen Kooi
On 29-03-09 03:48, Mark A. Greer wrote: From: Mark A. Greermgr...@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

Re: [PATCH 1/18] ARM: DaVinci - Encapsulate SoC-specific data in a structure

2009-03-28 Thread Mark A. Greer
Please ignore this one. I've resent it inside the thread. Mark -- ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

[PATCH 1/18] ARM: DaVinci - Encapsulate SoC-specific data in a structure

2009-03-28 Thread Mark A. Greer
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'

Re: [PATCH 1/18] ARM: DaVinci - Encapsulate SoC-specific data in a structure

2009-03-28 Thread David Brownell
On Saturday 28 March 2009, Mark A. Greer wrote: +/* SoC specific init support */ +struct davinci_soc_info { +   struct map_desc *io_desc; +   unsigned long   io_desc_num; +}; How about adding the physical address of the SRAM (as exposed to EDMA and