Re: [PATCH] env: mmc: fix environment on hw boot partition 2

2023-12-01 Thread Javier Viguera
Hi all, Please disregard this patch. I'm not sure if CONFIG_VAL is the correct macro when there are no SPL_,TPL_ versions for SYS_MMC_ENV_PART option. So back on square one. How do we solve this to support SYS_MMC_ENV_PART = 2? We have a configuration where we want the environment on "mmcblk0b

[PATCH] env: mmc: fix environment on hw boot partition 2

2023-12-01 Thread Javier Viguera
SYS_MMC_ENV_PART is an integer option. If it is set to 2 to use the second hardware boot partition, the IS_ENABLED check fails as it expects a boolean, and then it does not get the correct hwpart. Signed-off-by: Javier Viguera --- env/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)