Commit 015e215bbf70214d7c3bec2eca691edb6b73b28e

Authored by Iain Paton
Committed by Stefano Babic
1 parent 7e9291720d

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

board/embest/mx6boards/mx6boards.c
... ... @@ -246,6 +246,7 @@
246 246 riotboard_usdhc3_pads,
247 247 ARRAY_SIZE(riotboard_usdhc3_pads));
248 248 gpio_direction_input(USDHC3_CD_GPIO);
  249 + } else {
249 250 gpio_direction_output(IMX_GPIO_NR(7, 8) , 0);
250 251 udelay(250);
251 252 gpio_set_value(IMX_GPIO_NR(7, 8), 1);