UMS already offers CONFIG_CMD_UMS_ABORT_KEYED, which makes it possible to bail out of that mode by pressing any button, rather than only responding to ctrl-c. This is particularly useful for phones, where it's not possible (yet... hmmmmm...) to send a ctrl-c command with the available phone buttons.
This simple patch series introduces equivalent behaviour for fastboot, and enables it in the qcom-phone.config fragment where it's most useful. Signed-off-by: Sam Day <[email protected]> --- Sam Day (2): cmd: fastboot: Add keyed abort option board: qualcomm: phone: enable CMD_FASTBOOT_ABORT_KEYED board/qualcomm/qcom-phone.config | 1 + board/qualcomm/qcom-phone.env | 2 +- cmd/Kconfig | 6 ++++++ cmd/fastboot.c | 9 ++++++++- 4 files changed, 16 insertions(+), 2 deletions(-) --- base-commit: 30b77f6aa146c96b831cb4ece038130b655b6a41 change-id: 20260602-fastboot-abort-keyed-1064ecc677de Best regards, -- Sam Day <[email protected]>

