Commit c9f0f0e1747cc825da995f3d5780b374fe189cdd

Authored by Eric Lee
1 parent 7d536ce6aa

Fix Saveenv fails bug

Showing 2 changed files with 2 additions and 3 deletions Side-by-side Diff

board/embedian/smarcfimx6/smarcfimx6.c
... ... @@ -543,7 +543,6 @@
543 543 case 0:
544 544 imx_iomux_v3_setup_multiple_pads(
545 545 usdhc2_pads, ARRAY_SIZE(usdhc2_pads));
546   - gpio_direction_output(IMX_GPIO_NR(1, 18), 1);
547 546 gpio_direction_input(USDHC2_CD_GPIO);
548 547 usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC2_CLK);
549 548 break;
include/configs/smarcfimx6.h
... ... @@ -57,8 +57,8 @@
57 57 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 /* Enabled USB controller number */
58 58  
59 59 #define CONFIG_SYS_FSL_USDHC_NUM 3
60   -#define CONFIG_SYS_MMC_ENV_DEV 0 /* 0 SDHC, 1 SDMMC, 2 eMMC */
61   -#define CONFIG_SYS_MMC_ENV_PART 2 /* user partition */
  60 +#define CONFIG_SYS_MMC_ENV_DEV 2 /* 0 SDHC, 1 SDMMC, 2 eMMC */
  61 +#define CONFIG_SYS_MMC_ENV_PART 1 /* user partition */
62 62  
63 63 #ifdef CONFIG_SYS_USE_SPINOR
64 64 #define CONFIG_SF_DEFAULT_CS (1|(IMX_GPIO_NR(5, 29)<<8)) /* Use SPI2 SS0 as chip select */