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-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=83afe3b1c9f3dd872068bb67ec5b5814ac5a0cb3;p=u-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; }