runtime configuration of env_addr

Hiren Mehta mehta_hiren at hotmail.com
Wed May 11 03:38:47 CEST 2022


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


More information about the U-Boot mailing list