diff options
| author | Pali Rohár <[email protected]> | 2022-03-02 12:47:51 +0100 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2022-05-02 07:28:25 +0200 |
| commit | f4bf81b01351f4d8918ee9ab6855dcb33acd4db8 (patch) | |
| tree | cf94d051b5dc070c599384faf930a210c579d16c /include | |
| 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 <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
