summaryrefslogtreecommitdiff
path: root/include/configs/sunxi-common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-07-25 00:14:47 +0300
committerTom Rini <trini@konsulko.com>2020-08-08 18:03:52 +0300
commit7d080773347c1f6e0e896d9284134a2a411155d6 (patch)
treed1980362503baa76640290b557206aaad17fab2f /include/configs/sunxi-common.h
parentb904d79e4809bf35cf53c2e5fee0f73647bab07a (diff)
downloadu-boot-7d080773347c1f6e0e896d9284134a2a411155d6.tar.xz
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 'include/configs/sunxi-common.h')
-rw-r--r--include/configs/sunxi-common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 5d7544b5cd..a6a4879523 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -136,10 +136,8 @@
#if CONFIG_MMC_SUNXI_SLOT_EXTRA != -1
/* If we have two devices (most likely eMMC + MMC), favour the eMMC */
-#define CONFIG_SYS_MMC_ENV_DEV 1
#else
/* Otherwise, use the only device we have */
-#define CONFIG_SYS_MMC_ENV_DEV 0
#endif
#define CONFIG_SYS_MMC_MAX_DEVICE 4
#endif