summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarius Augulis <augulis.darius@gmail.com>2010-08-02 01:39:25 +0300
committerBen Dooks <ben-linux@fluff.org>2010-08-14 16:10:23 +0100
commitce611d7b98eec03b2b1036ac55b7604b268154d8 (patch)
treea2d69447e660a86e7e32193b1fb23bfd96714d01
parentff266c0c91942cf56b03675ac5fc820b1ac600e1 (diff)
ARM: mach-real6410: add sdhc device support
Register SHDCI devices Signed-off-by: Darius Augulis <augulis.darius@gmail.com> [ben-linux@fluff.org: rewrite header[ Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r--arch/arm/mach-s3c64xx/Kconfig3
-rw-r--r--arch/arm/mach-s3c64xx/mach-real6410.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/Kconfig b/arch/arm/mach-s3c64xx/Kconfig
index 0f9f2dd9dd4..f5c77e5d3d8 100644
--- a/arch/arm/mach-s3c64xx/Kconfig
+++ b/arch/arm/mach-s3c64xx/Kconfig
@@ -91,6 +91,9 @@ config MACH_ANW6410
config MACH_REAL6410
bool "REAL6410"
select CPU_S3C6410
+ select S3C_DEV_HSMMC
+ select S3C_DEV_HSMMC1
+ select S3C64XX_SETUP_SDHCI
help
Machine support for the CoreWind REAL6410
diff --git a/arch/arm/mach-s3c64xx/mach-real6410.c b/arch/arm/mach-s3c64xx/mach-real6410.c
index 1a0485ad4da..5c07d013b23 100644
--- a/arch/arm/mach-s3c64xx/mach-real6410.c
+++ b/arch/arm/mach-s3c64xx/mach-real6410.c
@@ -27,6 +27,7 @@
#include <mach/s3c6410.h>
#include <mach/regs-srom.h>
#include <plat/cpu.h>
+#include <plat/devs.h>
#include <plat/regs-serial.h>
#define UCON S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK
@@ -100,6 +101,8 @@ static struct platform_device real6410_device_eth = {
static struct platform_device *real6410_devices[] __initdata = {
&real6410_device_eth,
+ &s3c_device_hsmmc0,
+ &s3c_device_hsmmc1,
};
static void __init real6410_map_io(void)