Revert "imx: mmc_env: update runtime SD/MMC boot env device"
authorStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 09:01:53 +0000 (11:01 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:37 +0000 (16:36 +0200)
This reverts commit 34f2feb92db6146831bafa696b7b46785c9f6b10.

Signed-off-by: Stefano Babic <sbabic@denx.de>
arch/arm/mach-imx/mmc_env.c

index addb50f..9c822f7 100644 (file)
@@ -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;
 }