Pali Rohár f4bf81b013 env: sf: Allow to use env_sf_init_addr() at any stage
In some cases it makes sense to use env_sf_init_addr() also in SPL mode.
Allow it for boards by providing custom implementation of weak function
env_sf_get_env_addr(). When this function returns NULL it signals that
address is invalid, like config option CONFIG_ENV_ADDR.

There is no change in default behavior or in config options.

Signed-off-by: Pali Rohár <pali@kernel.org>
2022-05-02 07:28:25 +02:00
..
2022-01-19 18:11:34 +01:00
2021-04-16 17:32:34 -04:00
2021-10-31 12:26:44 -06:00
2022-03-18 12:48:17 -04:00
2021-10-31 12:26:44 -06:00