summaryrefslogtreecommitdiff
path: root/board/embest/mx6boards/mx6boards.c
diff options
context:
space:
mode:
authorIain Paton <ipaton0@gmail.com>2014-06-09 23:08:35 +0100
committerStefano Babic <sbabic@denx.de>2014-08-13 09:32:53 +0200
commit015e215bbf70214d7c3bec2eca691edb6b73b28e (patch)
tree10e6a8a828a29a5826e2d7589a563802b382c513 /board/embest/mx6boards/mx6boards.c
parent7e9291720d2b8b6c2f6ea494f7a3c42a875dbc73 (diff)
downloadu-boot-015e215bbf70214d7c3bec2eca691edb6b73b28e.tar.gz
embest/mx6boards: only toggle eMMC usdhc3 RST line on MarSboard
On MarS usdhc3 is eMMC, on RIoT usdhc3 is uSD and eMMC is usdhc4. Don't run the MarS specific eMMC reset code on usdhc3 when board_type == BOARD_IS_RIOTBOARD Signed-off-by: Iain Paton <ipaton0@gmail.com>
Diffstat (limited to 'board/embest/mx6boards/mx6boards.c')
-rw-r--r--board/embest/mx6boards/mx6boards.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/embest/mx6boards/mx6boards.c b/board/embest/mx6boards/mx6boards.c
index d06b57d1e3..530ea4f3c4 100644
--- a/board/embest/mx6boards/mx6boards.c
+++ b/board/embest/mx6boards/mx6boards.c
@@ -246,6 +246,7 @@ int board_mmc_init(bd_t *bis)
riotboard_usdhc3_pads,
ARRAY_SIZE(riotboard_usdhc3_pads));
gpio_direction_input(USDHC3_CD_GPIO);
+ } else {
gpio_direction_output(IMX_GPIO_NR(7, 8) , 0);
udelay(250);
gpio_set_value(IMX_GPIO_NR(7, 8), 1);