diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2020-02-19 09:47:43 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-24 10:10:00 -0400 |
commit | 9e3c94d117bb3a196ad6e03babb8bc30da4b3ff0 (patch) | |
tree | c74cefca16cde2a5e251d0ad7b20367c101d22a3 /examples/standalone/nds32.lds | |
parent | 1df96a7e7679c691e43e53206418302aff236a27 (diff) |
env/sf.c: drop private CMD_SAVEENV logic
Deciding whether to compile the env_sf_save() function based solely on
CONFIG_SPL_BUILD is wrong: For U-Boot proper, it leads to a build
warning in case CONFIG_CMD_SAVEENV=n (because the env_save_ptr() macro
causes the function to indeed not be referenced anywhere). And for
SPL, when one selects CONFIG_SPL_SAVEENV, one obviously expects to
actually be able to save the environment.
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Diffstat (limited to 'examples/standalone/nds32.lds')
0 files changed, 0 insertions, 0 deletions