Re: [PATCH v2 03/32] mmc: env: Unify the U_BOOT_ENV_LOCATION conditions

2023-11-16 Thread Tom Rini
On Wed, Nov 15, 2023 at 09:10:03PM -0700, Simon Glass wrote: > The declaration of U_BOOT_ENV_LOCATION() uses a different #ifdef > condition from the code it calls. Use the same condition to avoid a > build warning if CONFIG_CMD_SAVEENV is disabled. > > Signed-off-by: Simon Glass Reviewed-by:

[PATCH v2 03/32] mmc: env: Unify the U_BOOT_ENV_LOCATION conditions

2023-11-15 Thread Simon Glass
The declaration of U_BOOT_ENV_LOCATION() uses a different #ifdef condition from the code it calls. Use the same condition to avoid a build warning if CONFIG_CMD_SAVEENV is disabled. Signed-off-by: Simon Glass --- (no changes since v1) env/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1