]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/exynos/pinmux.c
dm: exynos: Make sure that GPIOs are requested
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / exynos / pinmux.c
index 2caeb3e2b4178f91052f89084b2b88b1c407cda4..3d95dc3339e6ee87859748d529510a7036b6cece 100644 (file)
@@ -172,6 +172,9 @@ static int exynos5420_mmc_config(int peripheral, int flags)
                 * this same assumption.
                 */
                if ((peripheral == PERIPH_ID_SDMMC0) && (i == (start + 2))) {
+#ifndef CONFIG_SPL_BUILD
+                       gpio_request(i, "sdmmc0_vdden");
+#endif
                        gpio_set_value(i, 1);
                        gpio_cfg_pin(i, S5P_GPIO_OUTPUT);
                } else {