From: Stefano Babic Date: Tue, 8 Oct 2019 09:01:53 +0000 (+0200) Subject: Revert "imx: mmc_env: update runtime SD/MMC boot env device" X-Git-Tag: v2020.01-rc1~33^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=83afe3b1c9f3dd872068bb67ec5b5814ac5a0cb3;p=oweals%2Fu-boot.git Revert "imx: mmc_env: update runtime SD/MMC boot env device" This reverts commit 34f2feb92db6146831bafa696b7b46785c9f6b10. Signed-off-by: Stefano Babic --- diff --git a/arch/arm/mach-imx/mmc_env.c b/arch/arm/mach-imx/mmc_env.c index addb50f538..9c822f721c 100644 --- a/arch/arm/mach-imx/mmc_env.c +++ b/arch/arm/mach-imx/mmc_env.c @@ -11,9 +11,6 @@ __weak int board_mmc_get_env_dev(int devno) { - if (CONFIG_IS_ENABLED(DM_MMC)) - return devno; - return CONFIG_SYS_MMC_ENV_DEV; }