diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2010-05-20 02:13:07 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-20 05:24:03 -0400 |
commit | e6f66a9f9668762f2c3f47728b29781ffc7fbad2 (patch) | |
tree | 886346d81f6574693ce2b8dbb1247c89314ad6b7 /arch/arm/mach-s5pv210/cpu.c | |
parent | c8d833bf5830f141c4680dae8f617d0d0a33605d (diff) |
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/cpu.c')
-rw-r--r-- | arch/arm/mach-s5pv210/cpu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c index 2d4a3d2221c5..c5d53abc92f1 100644 --- a/arch/arm/mach-s5pv210/cpu.c +++ b/arch/arm/mach-s5pv210/cpu.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <plat/clock.h> | 33 | #include <plat/clock.h> |
34 | #include <plat/s5pv210.h> | 34 | #include <plat/s5pv210.h> |
35 | #include <plat/iic-core.h> | 35 | #include <plat/iic-core.h> |
36 | #include <plat/sdhci.h> | ||
36 | 37 | ||
37 | /* Initial IO mappings */ | 38 | /* Initial IO mappings */ |
38 | 39 | ||
@@ -77,6 +78,11 @@ void __init s5pv210_map_io(void) | |||
77 | { | 78 | { |
78 | iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc)); | 79 | iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc)); |
79 | 80 | ||
81 | /* initialise device information early */ | ||
82 | s5pv210_default_sdhci0(); | ||
83 | s5pv210_default_sdhci1(); | ||
84 | s5pv210_default_sdhci2(); | ||
85 | |||
80 | /* the i2c devices are directly compatible with s3c2440 */ | 86 | /* the i2c devices are directly compatible with s3c2440 */ |
81 | s3c_i2c0_setname("s3c2440-i2c"); | 87 | s3c_i2c0_setname("s3c2440-i2c"); |
82 | s3c_i2c1_setname("s3c2440-i2c"); | 88 | s3c_i2c1_setname("s3c2440-i2c"); |