summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorHannes Schmelzer <Hannes.Schmelzer@br-automation.com>2017-06-13 14:11:29 +0200
committerTom Rini <trini@konsulko.com>2017-06-16 10:11:38 -0400
commitf68773728f7493aca83b3e7c8cb07dde50cb4185 (patch)
tree673bc7c29e36c2d6316be333c1f0a9ac04175f7d /board
parent51855e8981e1b5e0a7b919662c32d0e4a374f575 (diff)
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 <hannes.schmelzer@br-automation.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Diffstat (limited to 'board')
-rw-r--r--board/BuR/common/common.c7
1 files changed, 6 insertions, 1 deletions
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)