[PATCH] cmd: CONFIG_CMD_SAVES depends on CONFIG_CMD_LOADS
Simon Glass
sjg at chromium.org
Mon Jun 26 11:07:33 CEST 2023
On Sun, 25 Jun 2023 at 09:25, <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>
> ---
> cmd/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list