[PATCH 2/7 v2] OMAP2430: hwmod data: Add McSPI
From: paul@pwsan.com (Paul Walmsley)
Date: 2011-01-03 04:00:39
Also in:
linux-omap, linux-spi
From: paul@pwsan.com (Paul Walmsley)
Date: 2011-01-03 04:00:39
Also in:
linux-omap, linux-spi
On Thu, 30 Dec 2010, Grant Likely wrote:
On Wed, Dec 01, 2010 at 07:31:22PM +0530, Govindraj.R wrote:quoted
From: Charulatha V <redacted> Update the 2430 hwmod data file with McSPI info. Signed-off-by: Charulatha V <redacted> Signed-off-by: Govindraj.R <redacted>Hmmm; this patch is virtually identical to the first patch in this series which adds 2420 hwmod support. I see a large block of identical data with minor differences. Surely support for these two chips can share the common blocks of data.
Yes, that's probably worth doing at some point, particularly for the chips that don't have auto-generated SoC data (OMAP2420/2430/3xxx). It's probably possible also for the auto-generated SoC data but will require some major changes to the auto-generation scripts. In the medium term, Thomas's upcoming conditional section patches should reduce the runtime memory usage for hwmod data unrelated to the currently-booted SoC down to zero. - Paul