aboutsummaryrefslogtreecommitdiff
path: root/env/mmc.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-07-24 17:14:47 -0400
committerTom Rini <trini@konsulko.com>2020-08-08 11:03:52 -0400
commit7d080773347c1f6e0e896d9284134a2a411155d6 (patch)
treed1980362503baa76640290b557206aaad17fab2f /env/mmc.c
parentb904d79e4809bf35cf53c2e5fee0f73647bab07a (diff)
downloadu-boot-7d080773347c1f6e0e896d9284134a2a411155d6.zip
u-boot-7d080773347c1f6e0e896d9284134a2a411155d6.tar.gz
u-boot-7d080773347c1f6e0e896d9284134a2a411155d6.tar.bz2
Convert CONFIG_SYS_MMC_ENV_DEV et al to Kconfig
This converts the following to Kconfig: CONFIG_SYS_MMC_ENV_DEV CONFIG_SYS_MMC_ENV_PART Note that with this conversion we now have consistent behavior with respect to ensuring that we have always selected the correct MMC device and hardware partition. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'env/mmc.c')
-rw-r--r--env/mmc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/env/mmc.c b/env/mmc.c
index af7e5fb..ba87270 100644
--- a/env/mmc.c
+++ b/env/mmc.c
@@ -24,10 +24,6 @@
DECLARE_GLOBAL_DATA_PTR;
-#if !defined(CONFIG_SYS_MMC_ENV_DEV)
-#define CONFIG_SYS_MMC_ENV_DEV 0
-#endif
-
__weak int mmc_get_env_dev(void)
{
return CONFIG_SYS_MMC_ENV_DEV;