From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Date: Sun, 31 Mar 2024 02:37:16 +0000 (+0200)
Subject: env: ENV_IS_IN_EXT4 should enable SYS_MMC_ENV_DEV
X-Git-Tag: v2025.01-rc5-pxa1908~405^2~2
X-Git-Url: http://git.dujemihanovic.xyz/browse.php?a=commitdiff_plain;h=5913c29fcbce9575fd6f6c1a45a019c733aca539;p=u-boot.git

env: ENV_IS_IN_EXT4 should enable SYS_MMC_ENV_DEV

When enabling CONFIG_ENV_IS_IN_EXT4 the environment might be stored on
an mmc device similar to the CONFIG_ENV_IS_IN_FAT case.

Fixes: 7d080773347c ("Convert CONFIG_SYS_MMC_ENV_DEV et al to Kconfig")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---

diff --git a/env/Kconfig b/env/Kconfig
index 451bab45ea..031cf58186 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -655,7 +655,7 @@ config SYS_RELOC_GD_ENV_ADDR
 
 config SYS_MMC_ENV_DEV
 	int "mmc device number"
-	depends on ENV_IS_IN_MMC || ENV_IS_IN_FAT || \
+	depends on ENV_IS_IN_MMC || ENV_IS_IN_FAT || ENV_IS_IN_EXT4 || \
 		CMD_MVEBU_BUBT || FMAN_ENET || QE || PHY_CORTINA
 	default 0
 	help