From: Jagan Teki Date: Sun, 19 Aug 2018 19:26:47 +0530 Subject: [U-Boot] [PATCH v3 30/58] env: sunxi: Don't update fat dev, part wrt MMC_SUNXI_SLOT_EXTRA In-Reply-To: <20180819135715.15799-1-jagan@amarulasolutions.com> References: <20180819135715.15799-1-jagan@amarulasolutions.com> Message-ID: <20180819135715.15799-31-jagan@amarulasolutions.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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