summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/include
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2010-05-20 08:13:07 +0200
committerBen Dooks <ben-linux@fluff.org>2010-05-20 18:24:03 +0900
commite6f66a9f9668762f2c3f47728b29781ffc7fbad2 (patch)
tree886346d81f6574693ce2b8dbb1247c89314ad6b7 /arch/arm/mach-s5pv210/include
parentc8d833bf5830f141c4680dae8f617d0d0a33605d (diff)
downloadblackbird-op-linux-e6f66a9f9668762f2c3f47728b29781ffc7fbad2.tar.gz
blackbird-op-linux-e6f66a9f9668762f2c3f47728b29781ffc7fbad2.zip
ARM: S5PV210: add common HSMMC device helpers
This patch adds sdhci platform helpers required by sdhci-s3c driver. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s5pv210/include')
-rw-r--r--arch/arm/mach-s5pv210/include/mach/map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/include/mach/map.h b/arch/arm/mach-s5pv210/include/mach/map.h
index 0254e08590e7..eeb1ca79a6f4 100644
--- a/arch/arm/mach-s5pv210/include/mach/map.h
+++ b/arch/arm/mach-s5pv210/include/mach/map.h
@@ -51,6 +51,8 @@
#define S5PV210_PA_FB (0xF8000000)
+#define S5PV210_PA_HSMMC(x) (0xEB000000 + ((x) * 0x100000))
+
#define S5PV210_PA_VIC0 (0xF2000000)
#define S5P_PA_VIC0 S5PV210_PA_VIC0
@@ -81,6 +83,9 @@
/* compatibiltiy defines. */
#define S3C_PA_UART S5PV210_PA_UART
+#define S3C_PA_HSMMC0 S5PV210_PA_HSMMC(0)
+#define S3C_PA_HSMMC1 S5PV210_PA_HSMMC(1)
+#define S3C_PA_HSMMC2 S5PV210_PA_HSMMC(2)
#define S3C_PA_IIC S5PV210_PA_IIC0
#define S3C_PA_IIC1 S5PV210_PA_IIC1
#define S3C_PA_IIC2 S5PV210_PA_IIC2
OpenPOWER on IntegriCloud