Re: runtime configuration of env_addr

2022-05-11 Thread Heinrich Schuchardt
On 5/11/22 03:38, Hiren Mehta wrote: 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 do

runtime configuration of env_addr

2022-05-10 Thread Hiren Mehta
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