]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
isiot: Fix to use usdhc2_pads for mmc2
authorJagan Teki <jagan@amarulasolutions.com>
Sat, 6 May 2017 21:13:10 +0000 (02:43 +0530)
committerStefano Babic <sbabic@denx.de>
Thu, 18 May 2017 09:23:31 +0000 (11:23 +0200)
mmc2 in Is.IoT using usdhc1_pads instead usdhc2_pads,
so update the same.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
board/engicam/isiotmx6ul/isiotmx6ul.c

index 008a7ae25f54d32dccefedab40091c77cdb948f1..068e2d9bf7e9996846d8683020b084ded01ef0fb 100644 (file)
@@ -260,7 +260,7 @@ int board_mmc_init(bd_t *bis)
                        break;
                case 1:
                        imx_iomux_v3_setup_multiple_pads(
-                               usdhc1_pads, ARRAY_SIZE(usdhc2_pads));
+                               usdhc2_pads, ARRAY_SIZE(usdhc2_pads));
                        gpio_direction_input(USDHC2_CD_GPIO);
                        usdhc_cfg[i].sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK);
                        break;