aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv310/cpu.c
diff options
context:
space:
mode:
authorHyuk Lee <hyuk1.lee@samsung.com>2010-10-05 06:07:41 -0400
committerKukjin Kim <kgene.kim@samsung.com>2010-10-25 03:02:26 -0400
commit1036c3ab6045ccf21b23427081c7b5d4149142dd (patch)
tree87c007c37d453d5ea7784eb123fe80abf5860bc6 /arch/arm/mach-s5pv310/cpu.c
parent193151142b736f25882f250b6db3b02efd2d3cab (diff)
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 @@
19#include <plat/cpu.h> 19#include <plat/cpu.h>
20#include <plat/clock.h> 20#include <plat/clock.h>
21#include <plat/s5pv310.h> 21#include <plat/s5pv310.h>
22#include <plat/sdhci.h>
22 23
23#include <mach/regs-irq.h> 24#include <mach/regs-irq.h>
24 25
@@ -83,6 +84,12 @@ static void s5pv310_idle(void)
83void __init s5pv310_map_io(void) 84void __init s5pv310_map_io(void)
84{ 85{
85 iotable_init(s5pv310_iodesc, ARRAY_SIZE(s5pv310_iodesc)); 86 iotable_init(s5pv310_iodesc, ARRAY_SIZE(s5pv310_iodesc));
87
88 /* initialize device information early */
89 s5pv310_default_sdhci0();
90 s5pv310_default_sdhci1();
91 s5pv310_default_sdhci2();
92 s5pv310_default_sdhci3();
86} 93}
87 94
88void __init s5pv310_init_clocks(int xtal) 95void __init s5pv310_init_clocks(int xtal)