Skip to content
Commit aadc1a60 authored by 孙滢's avatar 孙滢 Committed by Tom Rini
Browse files

cmd: CONFIG_CMD_SAVES depends on CONFIG_CMD_LOADS



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: default avatarYanjie Ren <renyanjie01@gmail.com>
Signed-off-by: default avatarYing Sun <sunying@nj.iscas.ac.cn>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 42c0e5bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment