[PATCH 5/5] env/sf.c: drop private CMD_SAVEENV logic
Tom Rini
trini at konsulko.com
Fri Apr 24 19:08:35 CEST 2020
On Wed, Feb 19, 2020 at 09:47:43AM +0000, Rasmus Villemoes wrote:
> 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 at prevas.dk>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200424/388b9b1b/attachment.sig>
More information about the U-Boot
mailing list