summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2026-05-07 17:04:05 +0200
committerHeinrich Schuchardt <[email protected]>2026-05-18 08:37:13 +0200
commit1076feb8a3f96e2def81485f852e9c1a451cedf4 (patch)
tree5851430066a7f5fea152443ebb9271f63b9f27ea /tests
parentd0d1c4a4f5d13c8dd792d5cc5379eb4c1e0f0c46 (diff)
cmd: boot: fix edl being shown when not supported
edl is implemented in the sysreset_ops.request_arg callback of the qcom-psci sysreset driver. That callback is only called from sysreset_request_arg() which is compiled only when CONFIG_SYSRESET_CMD_RESET_ARGS=y. Therefore, only show the edl option if that symbol is enabled. It is in a separate if block because any option but -w will only be handled when CONFIG_SYSRESET_CMD_RESET_ARGS=y as seen with the implementation in do_reset() in drivers/sysreset/sysreset-uclass.c. Fixes: ef06c5d76ff4 ("cmd: boot: Add '-edl' option to reset command documentation") Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions