[U-Boot] [PATCH v3 30/58] env: sunxi: Don't update fat dev, part wrt MMC_SUNXI_SLOT_EXTRA

Jagan Teki jagan at amarulasolutions.com
Sun Aug 19 13:56:47 UTC 2018


By enabling DM_MMC, the mmc devices are probed as per
DT status not with respect to MMC_SUNXI_SLOT_EXTRA in
U-Boot proper.

Allwinner now support runtime relevant fat device via
get_env_fat_dev_part, so add 0:auto as a default dev, part
for sunxi platform and drop unneeded MMC_SUNXI_SLOT_EXTRA
conditions.

Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
 env/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/env/Kconfig b/env/Kconfig
index be99efb937..2bbb02e3bb 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -373,8 +373,7 @@ config ENV_FAT_DEVICE_AND_PART
 	depends on ENV_IS_IN_FAT
 	default "0:1" if TI_COMMON_CMD_OPTIONS
 	default "0:auto" if ARCH_ZYNQMP
-	default "0:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1
-	default "1:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1
+	default "0:auto" if ARCH_SUNXI
 	default "0" if ARCH_AT91
 	help
 	  Define this to a string to specify the partition of the device. It can
-- 
2.18.0.321.gffc6fa0e3



More information about the U-Boot mailing list