projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[oweals/u-boot.git]
/
common
/
env_mmc.c
diff --git
a/common/env_mmc.c
b/common/env_mmc.c
index a7621a897c44f475a185547cfe051880c0847d0d..14648e37bdf284ccb683740b5ce3d05df47e3779 100644
(file)
--- a/
common/env_mmc.c
+++ b/
common/env_mmc.c
@@
-113,7
+113,7
@@
static void fini_mmc_for_env(struct mmc *mmc)
#ifdef CONFIG_SPL_BUILD
dev = 0;
#endif
- if (
CONFIG_SYS_MMC_ENV_PART
!= mmc->part_num)
+ if (
mmc_get_env_part(mmc)
!= mmc->part_num)
mmc_switch_part(dev, mmc->part_num);
#endif
}