[PATCH 2/2] Define DMA for S3C2442

Andy Green andy at openmoko.com
Sat Feb 7 12:38:23 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| The DMA used for S3C2440 is also used for S3C2442, so we also need the
defines.
|
| Signed-off-by: Sven Rebhan <odinshorse at googlemail.com>
|
| diff --git a/arch/arm/mach-s3c2410/include/mach/dma.h
b/arch/arm/mach-s3c2410/include/mach/dma.h
| index 13358ce..1a59697 100644
| --- a/arch/arm/mach-s3c2410/include/mach/dma.h
| +++ b/arch/arm/mach-s3c2410/include/mach/dma.h
| @@ -374,7 +374,7 @@ extern int s3c2410_dma_set_buffdone_fn(unsigned
int, s3c2410_dma_cbfn_t rtn);
|  #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)

This no longer applied after the 2.6.29-rc3 update so I just took the
first one.  It seems there had bee quite some renovations because
S3C2440_DIDSTC_CHKINT isn't defined in there any more even.

I just pushed the rebased 2.6.29-rc3 stuff up.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmNcq4ACgkQOjLpvpq7dMqt3gCdF3pNy33e7Y/heEC15DpxximC
8P0AoIoNi5DIRBTMkSlLVszZvITanMk+
=KAqN
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list