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

2025-02-25 Thread Mattijs Korpershoek
Hi Marek, Thank you for the patch. On ven., févr. 21, 2025 at 19:47, Marek Vasut 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 u

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

2025-02-24 Thread Marek Vasut
On 2/24/25 10:48 AM, Quentin Schulz wrote: Hi Marek, Hi, On 2/21/25 7:47 PM, Marek Vasut 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

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

2025-02-24 Thread Quentin Schulz
Hi Marek, On 2/21/25 7:47 PM, Marek Vasut 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

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

2025-02-21 Thread Marek Vasut
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_boo