summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Babic <[email protected]>2019-10-08 11:01:53 +0200
committerStefano Babic <[email protected]>2019-10-08 16:36:37 +0200
commit83afe3b1c9f3dd872068bb67ec5b5814ac5a0cb3 (patch)
treec166270602a50baab71dce67055437eaf9756152
parent86d2b28b28f547e3e53994b5fe7af3e25418e72e (diff)
Revert "imx: mmc_env: update runtime SD/MMC boot env device"
This reverts commit 34f2feb92db6146831bafa696b7b46785c9f6b10. Signed-off-by: Stefano Babic <[email protected]>
-rw-r--r--arch/arm/mach-imx/mmc_env.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/mmc_env.c b/arch/arm/mach-imx/mmc_env.c
index addb50f5382..9c822f721c6 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;
}