[PATCH] Take 2: Define DMA for S3C2442

Andy Green andy at openmoko.com
Sat Feb 7 20:56:13 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.
| This patch is rebased on the latest andy-tracking branch.
|
| 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)

OK I sent this on since it seems it just moved around.  Not sure if it's
working around the stuff you wrote me the other day or it's a platform bug.

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

iEYEARECAAYFAkmN510ACgkQOjLpvpq7dMrBiQCff7Dj3XI6A2cVhWLgQBMiK+CV
XkkAnAiO3ceZKcRY1iJhF/53z22UYAMW
=X9f8
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list