commit | db64efde18fb357825d7fac6a5df96e341c0cf74 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Wed Mar 02 12:47:51 2022 +0100 |
committer | Stefan Roese <sr@denx.de> | Mon May 02 07:28:25 2022 +0200 |
tree | cf94d051b5dc070c599384faf930a210c579d16c | |
parent | d8171871f90ce5b7cd2e2e610ba0e18915ebe4af [diff] |
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>