]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 addb50f5382aa31b968ba3285eed1d385de61a99..9c822f721c600c1733e23fb6f6f59f7c84f0220f 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;
 }