U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fastboot abort key support
@ 2026-06-18 23:54 Sam Day via B4 Relay
  2026-06-18 23:55 ` [PATCH v2 1/2] cmd: fastboot: Add keyed abort option Sam Day via B4 Relay
  2026-06-18 23:55 ` [PATCH v2 2/2] board: qualcomm: phone: enable CMD_FASTBOOT_ABORT_KEYED Sam Day via B4 Relay
  0 siblings, 2 replies; 4+ messages in thread
From: Sam Day via B4 Relay @ 2026-06-18 23:54 UTC (permalink / raw)
  To: u-boot, Sumit Garg, u-boot-qcom
  Cc: Tom Rini, Mattijs Korpershoek, Quentin Schulz, Jerome Forissier,
	Kory Maincent (TI.com), Mikhail Kshevetskiy, Ilias Apalodimas,
	Heinrich Schuchardt, Heiko Schocher, Andrew Goodbody,
	Peter Robinson, Casey Connolly, Neil Armstrong, Marek Vasut,
	Simon Glass, Ariel D'Alessandro, Sam Day

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 <me@samcday.com>
---
Changes in v2:
- Fixed helpstring for new kconfig option to span 2 lines, in order
  to please checkpatch.pl
- Added a note about the new config option to doc/android/fastboot.rst
- Link to v1: https://lore.kernel.org/r/20260602-fastboot-abort-keyed-v1-0-414aac5a06b8@samcday.com

---
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                      | 7 +++++++
 cmd/fastboot.c                   | 9 ++++++++-
 doc/android/fastboot.rst         | 4 ++++
 5 files changed, 21 insertions(+), 2 deletions(-)
---
base-commit: 1e80ee41441c612f05787a93bbef4e6e422e29d1
change-id: 20260602-fastboot-abort-keyed-1064ecc677de
prerequisite-change-id: 20260615-fastboot-doc-ctrl-c-3fac73518cfe:v1
prerequisite-patch-id: b948dead04c3a24a47a8d8dd7f03590565a8ff6c

Best regards,
-- 
Sam Day <me@samcday.com>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-06-19 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-18 23:54 [PATCH v2 0/2] Fastboot abort key support Sam Day via B4 Relay
2026-06-18 23:55 ` [PATCH v2 1/2] cmd: fastboot: Add keyed abort option Sam Day via B4 Relay
2026-06-18 23:55 ` [PATCH v2 2/2] board: qualcomm: phone: enable CMD_FASTBOOT_ABORT_KEYED Sam Day via B4 Relay
2026-06-19 14:05   ` Mattijs Korpershoek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox