summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/include/mach/regs-sys.h
diff options
context:
space:
mode:
authorTomasz Figa <tomasz.figa@gmail.com>2011-08-23 11:33:08 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-09-19 16:37:55 +0900
commit6d8d492ef73433ea8debfba623dc2ee4d627aa7e (patch)
treef4698dee0095266eb6841c7ac6e96d1e5ca5bec6 /arch/arm/mach-s3c64xx/include/mach/regs-sys.h
parent8c051ab47bf3e0d35636d4772f9c0504bebe2fec (diff)
downloadop-kernel-dev-6d8d492ef73433ea8debfba623dc2ee4d627aa7e.zip
op-kernel-dev-6d8d492ef73433ea8debfba623dc2ee4d627aa7e.tar.gz
ARM: S3C64XX: Use S3C64XX_SDMA_SEL register name instead of numeric address
This patch adds a definition of S3C64XX_SDMA_SEL register and modifies the s3c64xx DMA driver to use it instead of a magic register address. Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/include/mach/regs-sys.h')
-rw-r--r--arch/arm/mach-s3c64xx/include/mach/regs-sys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/include/mach/regs-sys.h b/arch/arm/mach-s3c64xx/include/mach/regs-sys.h
index 69b78d9..774e0de 100644
--- a/arch/arm/mach-s3c64xx/include/mach/regs-sys.h
+++ b/arch/arm/mach-s3c64xx/include/mach/regs-sys.h
@@ -21,6 +21,8 @@
#define S3C64XX_AHB_CON1 S3C_SYSREG(0x104)
#define S3C64XX_AHB_CON2 S3C_SYSREG(0x108)
+#define S3C64XX_SDMA_SEL S3C_SYSREG(0x110)
+
#define S3C64XX_OTHERS S3C_SYSREG(0x900)
#define S3C64XX_OTHERS_USBMASK (1 << 16)
OpenPOWER on IntegriCloud