From 83afe3b1c9f3dd872068bb67ec5b5814ac5a0cb3 Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Tue, 8 Oct 2019 11:01:53 +0200 Subject: [PATCH] Revert "imx: mmc_env: update runtime SD/MMC boot env device" This reverts commit 34f2feb92db6146831bafa696b7b46785c9f6b10. Signed-off-by: Stefano Babic --- arch/arm/mach-imx/mmc_env.c | 3 --- 1 file changed, 3 deletions(-) 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; } -- 2.39.5