Commit 1bf4c593 authored by Madhusudhan Chikkature's avatar Madhusudhan Chikkature Committed by Tony Lindgren

Enable 4-bit in HSMMC1 and HSMMC2 platform data

ARM: OMAP3: Enable 4-bit support for HSMMC.

This patch provides the fix to enable 4-bit support for HSMMC.

Signed-off-by: Madhusudhan Chikkature<madhu.cr@ti.com>
Signed-off-by: purushotam<purushotam@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 8cc4af26
...@@ -289,13 +289,17 @@ static void __init omap_init_mmc(void) ...@@ -289,13 +289,17 @@ static void __init omap_init_mmc(void)
mmc = &mmc_conf->mmc[0]; mmc = &mmc_conf->mmc[0];
if (cpu_is_omap2430() || cpu_is_omap34xx()) { if (cpu_is_omap2430() || cpu_is_omap34xx()) {
if (mmc->enabled) if (mmc->enabled) {
mmc1_data.conf = *mmc;
(void) platform_device_register(&mmc_omap_device1); (void) platform_device_register(&mmc_omap_device1);
}
#if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP34XX) #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP34XX)
mmc = &mmc_conf->mmc[1]; mmc = &mmc_conf->mmc[1];
if (mmc->enabled) if (mmc->enabled) {
mmc2_data.conf = *mmc;
(void) platform_device_register(&mmc_omap_device2); (void) platform_device_register(&mmc_omap_device2);
}
#endif #endif
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment