
11 May
2022
11 May
'22
3:38 a.m.
Hi All,
I was wondering if there is a way to override the gd->env_addr that is initialized in env_flash_init() for flash based environment. As I see, env_addr depends on the env_ptr which is set to compile time value of CONFIG_ENV_ADDR. I was thinking of doing it in board_early_init_f(). But, as I understand, the env_init() will override it.
Thanks, -h