diff options
| author | Ying Sun <[email protected]> | 2023-06-25 16:24:47 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-07-07 16:25:56 -0400 |
| commit | aadc1a60694bfee09203fb30357ac9887d9691e2 (patch) | |
| tree | 37bdca7561fd8cb41756a49cf37e2637b71f043f /scripts/const_structs.checkpatch | |
| parent | 42c0e5bb054da1437fe847bfd4063768c08d39ca (diff) | |
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: Yanjie Ren <[email protected]>
Signed-off-by: Ying Sun <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
