]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: imx8ulp_evk: Enable SD/MMC port auto detect
authorPeng Fan <peng.fan@nxp.com>
Wed, 6 Apr 2022 06:30:26 +0000 (14:30 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 17:10:43 +0000 (19:10 +0200)
Enable the SD/MMC port auto detect.
The mmc relevant env can be reset when auto detect is enabled.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/imx8ulp_evk/imx8ulp_evk.c

index b61a4cfbe8dcaf3d69a855f2839aadb919802f0b..1fd338c7e16bc6efde9f72eb34921480f741d113 100644 (file)
@@ -127,5 +127,8 @@ int board_early_init_f(void)
 
 int board_late_init(void)
 {
+#if CONFIG_IS_ENABLED(ENV_IS_IN_MMC)
+       board_late_mmc_env_init();
+#endif
        return 0;
 }