diff mbox

[U-Boot,4/6] mmc: omap_hsmmc: enable 8bit interface for eMMC for AM43xx

Message ID 1438289783-21505-5-git-send-email-nikita@compulab.co.il
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Nikita Kiryanov July 30, 2015, 8:56 p.m. UTC
Enable 8bit interface on HSMMC2 for am43xx to support 8bit eMMC chips.

Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
---
 drivers/mmc/omap_hsmmc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Tom Rini Aug. 13, 2015, 1:22 p.m. UTC | #1
On Thu, Jul 30, 2015 at 11:56:21PM +0300, Nikita Kiryanov wrote:

> Enable 8bit interface on HSMMC2 for am43xx to support 8bit eMMC chips.
> 
> Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
> Cc: Igor Grinberg <grinberg@compulab.co.il>
> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
index d31695e..d7b388f 100644
--- a/drivers/mmc/omap_hsmmc.c
+++ b/drivers/mmc/omap_hsmmc.c
@@ -661,8 +661,8 @@  int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,
 	case 1:
 		priv_data->base_addr = (struct hsmmc *)OMAP_HSMMC2_BASE;
 #if (defined(CONFIG_OMAP44XX) || defined(CONFIG_OMAP54XX) || \
-     defined(CONFIG_DRA7XX) || defined(CONFIG_AM57XX)) && \
-		defined(CONFIG_HSMMC2_8BIT)
+	defined(CONFIG_DRA7XX) || defined(CONFIG_AM57XX) || \
+	defined(CONFIG_AM43XX)) && defined(CONFIG_HSMMC2_8BIT)
 		/* Enable 8-bit interface for eMMC on OMAP4/5 or DRA7XX */
 		host_caps_val |= MMC_MODE_8BIT;
 #endif