summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pv310/cpu.c
diff options
context:
space:
mode:
authorHyuk Lee <hyuk1.lee@samsung.com>2010-10-05 19:07:41 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-10-25 16:02:26 +0900
commit1036c3ab6045ccf21b23427081c7b5d4149142dd (patch)
tree87c007c37d453d5ea7784eb123fe80abf5860bc6 /arch/arm/mach-s5pv310/cpu.c
parent193151142b736f25882f250b6db3b02efd2d3cab (diff)
downloadlwn-1036c3ab6045ccf21b23427081c7b5d4149142dd.tar.gz
lwn-1036c3ab6045ccf21b23427081c7b5d4149142dd.zip
ARM: S5PV310: Add HSMMC platform data
This patch adds initialization HSMMC device information. And HSMMC platform data like card detect, data bus width and capability is configured. Signed-off-by: Hyuk Lee <hyuk1.lee@samsung.com> Signed-off-by: Jeongbae Seo <jeongbae.seo@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv310/cpu.c')
-rw-r--r--arch/arm/mach-s5pv310/cpu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv310/cpu.c b/arch/arm/mach-s5pv310/cpu.c
index 4add39853ff9..66beac424e40 100644
--- a/arch/arm/mach-s5pv310/cpu.c
+++ b/arch/arm/mach-s5pv310/cpu.c
@@ -19,6 +19,7 @@
#include <plat/cpu.h>
#include <plat/clock.h>
#include <plat/s5pv310.h>
+#include <plat/sdhci.h>
#include <mach/regs-irq.h>
@@ -83,6 +84,12 @@ static void s5pv310_idle(void)
void __init s5pv310_map_io(void)
{
iotable_init(s5pv310_iodesc, ARRAY_SIZE(s5pv310_iodesc));
+
+ /* initialize device information early */
+ s5pv310_default_sdhci0();
+ s5pv310_default_sdhci1();
+ s5pv310_default_sdhci2();
+ s5pv310_default_sdhci3();
}
void __init s5pv310_init_clocks(int xtal)