commit | f4bf81b01351f4d8918ee9ab6855dcb33acd4db8 | [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 | c70c0102af5413cadde6bf90044cb75aefef0584 [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>