[PATCH v3 2/2] env: mmc: Clean up env_mmc_load() ifdeffery

Mattijs Korpershoek mkorpershoek at baylibre.com
Tue Feb 25 17:34:34 CET 2025


Hi Marek,

Thank you for the patch.

On ven., févr. 21, 2025 at 19:47, Marek Vasut <marex at denx.de> wrote:

> Rename the variants of env_mmc_load() for redundant and non-redundant
> environment to env_mmc_load_redundant() and env_mmc_load_singular()
> respectively and convert the env_mmc_load() implementation to use of
> if (IS_ENABLED(...)). As a result, drop __maybe_unused from
> mmc_env_is_redundant_in_both_boot_hwparts().
>
> Signed-off-by: Marek Vasut <marex at denx.de>

Nice cleanup!

Reviewed-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>

> ---


More information about the U-Boot mailing list