From f68773728f7493aca83b3e7c8cb07dde50cb4185 Mon Sep 17 00:00:00 2001 From: Hannes Schmelzer Date: Tue, 13 Jun 2017 14:11:29 +0200 Subject: board/BuR/brxre1: fix MMC boot since commit 'd5abcf94c7123167725fc22ace342f0d455093c1' - ti: boot: Register the MMC controllers in SPL in the same way as in u-boot MMC boot on brxre1 board is broken, with this commit we make our board working again. Signed-off-by: Hannes Schmelzer Reviewed-by: Tom Rini Reviewed-by: Jean-Jacques Hiblot --- board/BuR/common/common.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'board/BuR') diff --git a/board/BuR/common/common.c b/board/BuR/common/common.c index b1ae079df4..e8c64018eb 100644 --- a/board/BuR/common/common.c +++ b/board/BuR/common/common.c @@ -687,7 +687,12 @@ int board_eth_init(bd_t *bis) #if defined(CONFIG_MMC) int board_mmc_init(bd_t *bis) { - return omap_mmc_init(1, 0, 0, -1, -1); + int rc = 0; + + rc |= omap_mmc_init(0, 0, 0, -1, -1); + rc |= omap_mmc_init(1, 0, 0, -1, -1); + + return rc; } #endif int overwrite_console(void) -- cgit v1.2.3