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:
@@ -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
|
||||
|
||||
2
uboot-mtk-20250711/env/Kconfig
vendored
2
uboot-mtk-20250711/env/Kconfig
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user