Patchwork [U-Boot,1/4] tegra2: Seaboard's MMC has an 8-bit bus

login
register
mail settings
Submitter Stephen Warren
Date Sept. 30, 2011, 7:40 p.m.
Message ID <1317411631-26370-1-git-send-email-swarren@nvidia.com>
Download mbox | patch
Permalink /patch/117196/
State Changes Requested
Headers show

Comments

Stephen Warren - Sept. 30, 2011, 7:40 p.m.
Modify board_mmc_init to configure SDMMC4 for an 8-bit bus, since that's
what is wired up on the board.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
Note: These patches build on various Tegra2-related patches recently posted
by Simon Glass; see v2 of the 6-entry patchset shown at:
http://patchwork.ozlabs.org/project/uboot/list/?submitter=6170&state=1&q=tegra2

 board/nvidia/common/board.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index d13537d..8033612 100644
--- a/board/nvidia/common/board.c
+++ b/board/nvidia/common/board.c
@@ -163,8 +163,8 @@  int board_mmc_init(bd_t *bd)
 	gpio_config_mmc();
 
 	debug("board_mmc_init: init eMMC\n");
-	/* init dev 0, eMMC chip, with 4-bit bus */
-	tegra2_mmc_init(0, 4);
+	/* init dev 0, eMMC chip, with 8-bit bus */
+	tegra2_mmc_init(0, 8);
 
 	debug("board_mmc_init: init SD slot\n");
 	/* init dev 1, SD slot, with 4-bit bus */