diff options
author | Kishore Kadiyala <kishore.kadiyala@ti.com> | 2011-02-15 03:40:36 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-22 11:37:03 -0500 |
commit | 7715db5aeca09d853be4f2eb0bc688a970220621 (patch) | |
tree | 7dae54ebe618865bd15ab1f95d5c05360813b7e1 /arch/arm | |
parent | b17e0979113b7b75bb3f73e2243d156f91698edb (diff) |
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')
-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 34272e4863fd..5496bc7d40ad 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) | |||
350 | mmc->slots[0].after_set_reg = NULL; | 350 | mmc->slots[0].after_set_reg = NULL; |
351 | } | 351 | } |
352 | break; | 352 | break; |
353 | case 4: | ||
354 | case 5: | ||
355 | mmc->slots[0].before_set_reg = NULL; | ||
356 | mmc->slots[0].after_set_reg = NULL; | ||
357 | break; | ||
353 | default: | 358 | default: |
354 | pr_err("MMC%d configuration not supported!\n", c->mmc); | 359 | pr_err("MMC%d configuration not supported!\n", c->mmc); |
355 | kfree(mmc); | 360 | kfree(mmc); |