diff options
author | Pali Rohár <pali@kernel.org> | 2022-03-02 12:47:51 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-05-02 07:28:25 +0200 |
commit | f4bf81b01351f4d8918ee9ab6855dcb33acd4db8 (patch) | |
tree | cf94d051b5dc070c599384faf930a210c579d16c /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | |
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>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h')
0 files changed, 0 insertions, 0 deletions