summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/regs-gpio-memport.h
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2013-01-03 01:20:38 +0400
committerKukjin Kim <kgene.kim@samsung.com>2013-01-10 22:45:39 +0400
commit8bb86ead0663b098bd9770f457db5b797ae2f071 (patch)
tree2c59fad9556a87cd06d9ff81a401597b9680a1fa /arch/arm/mach-s3c64xx/regs-gpio-memport.h
parente62359283cc5ce3264a1634f822822669c6b2d9f (diff)
downloadlinux-8bb86ead0663b098bd9770f457db5b797ae2f071.tar.xz
ARM: S3C64XX: make regs-gpio-memport.h local
The header can be local in mach-s3c64xx/. Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/regs-gpio-memport.h')
-rw-r--r--arch/arm/mach-s3c64xx/regs-gpio-memport.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/regs-gpio-memport.h b/arch/arm/mach-s3c64xx/regs-gpio-memport.h
new file mode 100644
index 000000000000..b927593019f5
--- /dev/null
+++ b/arch/arm/mach-s3c64xx/regs-gpio-memport.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * Ben Dooks <ben@simtec.co.uk>
+ * http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX - GPIO memory port register definitions
+ */
+
+#ifndef __MACH_S3C64XX_REGS_GPIO_MEMPORT_H
+#define __MACH_S3C64XX_REGS_GPIO_MEMPORT_H __FILE__
+
+#define S3C64XX_MEM0CONSTOP S3C64XX_GPIOREG(0x1B0)
+#define S3C64XX_MEM1CONSTOP S3C64XX_GPIOREG(0x1B4)
+
+#define S3C64XX_MEM0CONSLP0 S3C64XX_GPIOREG(0x1C0)
+#define S3C64XX_MEM0CONSLP1 S3C64XX_GPIOREG(0x1C4)
+#define S3C64XX_MEM1CONSLP S3C64XX_GPIOREG(0x1C8)
+
+#define S3C64XX_MEM0DRVCON S3C64XX_GPIOREG(0x1D0)
+#define S3C64XX_MEM1DRVCON S3C64XX_GPIOREG(0x1D4)
+
+#endif /* __MACH_S3C64XX_REGS_GPIO_MEMPORT_H */
+