diff options
author | Kishore Kadiyala <kishore.kadiyala@ti.com> | 2011-02-15 08:40:36 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-22 16:37:03 (GMT) |
commit | 7715db5aeca09d853be4f2eb0bc688a970220621 (patch) | |
tree | 7dae54ebe618865bd15ab1f95d5c05360813b7e1 /arch/arm/mach-omap2/hsmmc.c | |
parent | b17e0979113b7b75bb3f73e2243d156f91698edb (diff) | |
download | linux-7715db5aeca09d853be4f2eb0bc688a970220621.tar.xz |
OMAP: hsmmc: Enable MMC4 and MMC5 on OMAP4 platforms
OMAP4 supports up to 5 MMC controllers, but only 3 of these were
initialized. MMC5 is used by wl12xx chip. So initialize MMC4 and MMC5.
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Signed-off-by: Panduranga Mallireddy <panduranga_mallireddy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/hsmmc.c')
-rw-r--r-- | arch/arm/mach-omap2/hsmmc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c index 34272e4..5496bc7 100644 --- a/arch/arm/mach-omap2/hsmmc.c +++ b/arch/arm/mach-omap2/hsmmc.c @@ -350,6 +350,11 @@ void __init omap2_hsmmc_init(struct omap2_hsmmc_info *controllers) mmc->slots[0].after_set_reg = NULL; } break; + case 4: + case 5: + mmc->slots[0].before_set_reg = NULL; + mmc->slots[0].after_set_reg = NULL; + break; default: pr_err("MMC%d configuration not supported!\n", c->mmc); kfree(mmc); |