uboot-mtk-20250711: env: Correct Kconfig type for ENV_MMC_SW_PARTITION

As part of renaming environment related Kconfig options,
ENV_MMC_SW_PARTITION was inadvertently changed from a string to a bool.
Correct this.

Fixes: ffc4914703a2 ("env: Rename ENV_MMC_PARTITION to ENV_MMC_SW_PARTITION")
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2025-08-12 11:31:09 -06:00
committed by hanwckf
parent ceaf16b834
commit 56dede40b8
2 changed files with 3 additions and 3 deletions

View File

@@ -767,8 +767,8 @@ static int mmc_set_fdtargs_basic(struct mmc *mmc)
ulong len;
int ret;
#if defined(CONFIG_ENV_MMC_PARTITION)
env_part_name = CONFIG_ENV_MMC_PARTITION;
#if defined(CONFIG_ENV_MMC_SW_PARTITION)
env_part_name = CONFIG_ENV_MMC_SW_PARTITION;
#else
env_part_name = ofnode_conf_read_str("u-boot,mmc-env-partition");
#endif

View File

@@ -738,7 +738,7 @@ config ENV_MMC_USE_SW_PARTITION
depends on ENV_IS_IN_MMC
config ENV_MMC_SW_PARTITION
bool "SD/MMC environment software partition name"
string "SD/MMC environment software partition name"
depends on ENV_MMC_USE_SW_PARTITION
help
SD/MMC software partition name used to save environment variables.