From mboxrd@z Thu Jan 1 00:00:00 1970 From: tixy@yxit.co.uk (Tixy) Date: Mon, 08 Aug 2011 18:07:34 +0100 Subject: [PATCH 06/12] ARM: mxc: Setup consistent dma size at boot time In-Reply-To: <20110808164731.GP31404@pengutronix.de> References: <1312813712-22808-1-git-send-email-tixy@yxit.co.uk> <1312813712-22808-7-git-send-email-tixy@yxit.co.uk> <20110808164731.GP31404@pengutronix.de> Message-ID: <1312823254.2315.204.camel@computer2> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, 2011-08-08 at 18:47 +0200, Sascha Hauer wrote: > Hi Jon, > > On Mon, Aug 08, 2011 at 03:28:26PM +0100, Jon Medhurst wrote: > > Signed-off-by: Jon Medhurst > > CC: Sascha Hauer > > CC: Amit Kucheria > > --- > > arch/arm/plat-mxc/include/mach/common.h | 1 + > > arch/arm/plat-mxc/include/mach/memory.h | 15 --------------- > > arch/arm/mach-imx/mm-imx1.c | 1 + > > arch/arm/mach-imx/mm-imx21.c | 1 + > > arch/arm/mach-imx/mm-imx25.c | 1 + > > arch/arm/mach-imx/mm-imx27.c | 1 + > > arch/arm/mach-imx/mm-imx31.c | 1 + > > arch/arm/mach-imx/mm-imx35.c | 1 + > > arch/arm/mach-mx5/mm-mx50.c | 1 + > > arch/arm/mach-mx5/mm.c | 2 ++ > > arch/arm/plat-mxc/system.c | 16 ++++++++++++++++ > > 11 files changed, 26 insertions(+), 15 deletions(-) > > Should the base patch be ok I'd like to rework this one. I want to > call init_consistent_dma_size on a per board base instead in a global > function with ifdeffery. Yes, that would be the a better way. I started down that route myself but realised I didn't have the confidence to be certain which video drivers and config options were valid with which platforms. So I played safe and kept the existing behaviour. -- Jon (often known as Tixy)