[PATCH] cmd: CONFIG_CMD_SAVES depends on CONFIG_CMD_LOADS
Tom Rini
trini at konsulko.com
Sat Jul 8 17:29:39 CEST 2023
On Sun, Jun 25, 2023 at 04:24:47PM +0800, sunying at nj.iscas.ac.cn wrote:
> From: Ying Sun <sunying at nj.iscas.ac.cn>
>
> CONFIG_CMD_SAVES is used to enable support for the "saveenv" command
> and is only implemented in cmd/load.c
> when "#if defined(CONFIG_CMD_LOADS)" is met.
>
> It is recommended to add dependency constraints to its definition.
> Prevents "saveenv" command from not being supported
> when "CONFIG_CMD_SAVES=y CONFIG_CMD_LOADS=n".
>
> Suggested-by: Yanjie Ren <renyanjie01 at gmail.com>
> Signed-off-by: Ying Sun <sunying at nj.iscas.ac.cn>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/next, 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/20230708/cb8a4c4b/attachment.sig>
More information about the U-Boot
mailing list