Files
u-boot/cmd
Quentin Schulz 1076feb8a3 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: ef06c5d76f ("cmd: boot: Add '-edl' option to reset command documentation")
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2026-05-18 08:37:13 +02:00
..
2026-02-04 09:04:36 +01:00
2025-07-11 10:43:29 -06:00
2025-05-30 09:49:31 +01:00
2026-04-22 14:23:49 -06:00
2026-04-27 11:26:40 -06:00
2025-12-05 08:54:44 -06:00
2025-07-08 15:00:17 +02:00
2025-08-06 07:49:13 +02:00
2025-08-06 08:41:30 +02:00
2026-03-18 13:07:36 -06:00
2026-04-27 11:26:40 -06:00
2025-06-02 17:26:16 -06:00
2025-08-23 16:37:20 +02:00
2026-05-12 15:52:01 +02:00
2025-12-30 11:22:57 -06:00
2026-04-08 11:07:00 -06:00
2025-12-04 09:38:58 -06:00
2025-12-04 09:38:58 -06:00
2025-10-08 11:34:54 +02:00
2026-04-27 11:26:40 -06:00