[PATCH] Take 2: Define DMA for S3C2442
ben at fluff.org
Tue Feb 10 13:15:20 CET 2009
On Sat, Feb 07, 2009 at 05:37:18PM +0100, Sven Rebhan wrote:
> The DMA used for S3C2440 is also used for S3C2442, so we also need the defines.
> This patch is rebased on the latest andy-tracking branch.
I'll look at either merging this mainline for the curernt -rc, or putting
it on the dma cleanup branch that is going to be done for the next release
window (moving headers, fixing include dependencies, etc.)
> Signed-off-by: Sven Rebhan <odinshorse at googlemail.com>
> diff --git a/arch/arm/plat-s3c24xx/include/plat/regs-dma.h b/arch/arm/plat-s3c24xx/include/plat/regs-dma.h
> index 3bc0a21..cbbe3f2 100644
> --- a/arch/arm/plat-s3c24xx/include/plat/regs-dma.h
> +++ b/arch/arm/plat-s3c24xx/include/plat/regs-dma.h
> @@ -73,7 +73,7 @@
> #define S3C2410_DCON_NORELOAD (1<<22)
> #define S3C2410_DCON_HWTRIG (1<<23)
> -#ifdef CONFIG_CPU_S3C2440
> +#if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2442)
> #define S3C2440_DIDSTC_CHKINT (1<<2)
> #define S3C2440_DCON_CH0_I2SSDO (5<<24)
Q: What's a light-year?
A: One-third less calories than a regular year.
More information about the openmoko-kernel