diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2025-06-09 21:26:39 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-20 12:15:08 -0600 |
commit | 0f44d5549ed814744b95b2450fbacfa14192587d (patch) | |
tree | 06a58b3990c592f4e6b306a176b1df032b5d2041 /env/mmc.c | |
parent | 123682c7651d187113455cb01d396825c08619c4 (diff) |
env: Rename SYS_MMC_ENV_DEV to ENV_MMC_DEVICE_INDEX
Rename the variable and add ENV_ prefix, so that all configuration
options which are related to environment would have an CONFIG_ENV_
prefix. No functional change.
Use ENV_MMC_DEVICE_INDEX to clarify this is the SD/MMC device
index, a number, as enumerated by U-Boot. Update the help text
accordingly.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'env/mmc.c')
-rw-r--r-- | env/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/mmc.c b/env/mmc.c index 5451f914027..dba99bd4d3d 100644 --- a/env/mmc.c +++ b/env/mmc.c @@ -164,7 +164,7 @@ static inline s64 mmc_offset(struct mmc *mmc, int copy) #if defined(CONFIG_ENV_MMC_PARTITION) str = CONFIG_ENV_MMC_PARTITION; #else - /* look for the partition in mmc CONFIG_SYS_MMC_ENV_DEV */ + /* look for the partition in mmc CONFIG_ENV_MMC_DEVICE_INDEX */ str = ofnode_conf_read_str(dt_prop.partition); #endif |