diff options
| author | Tom Rini <[email protected]> | 2024-02-13 17:31:11 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-02-13 17:32:17 -0500 |
| commit | 0b66c54a97320956b837f61216debfb50c0ffec6 (patch) | |
| tree | 4a641d6853dd8dd7fd7586b6be8d67c418717204 /boot | |
| parent | 73b5b47dd5b546d0b9106bcca54c72815380e6d3 (diff) | |
| parent | ea7d3eec1e6e6541db68bf48a1314410e06cd9de (diff) | |
Merge branch '2024-02-13-assorted-updates'
- Add the button command patch, update MAINTAINERS entry for a platform,
fix a problem with the hash command, fix a problem on K3 platforms and
revert a change on verdin-am62.
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index 71ee41645f3..3d7aabd27d6 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -20,6 +20,21 @@ config TIMESTAMP loaded that does not, the message 'Wrong FIT format: no timestamp' is shown. +config BUTTON_CMD + bool "Support for running a command if a button is held during boot" + depends on CMDLINE + depends on BUTTON + help + For many embedded devices it's useful to enter a special flashing mode + such as fastboot mode when a button is held during boot. This option + allows arbitrary commands to be assigned to specific buttons. These will + be run after "preboot" if the button is held. Configuration is done via + the environment variables "button_cmd_N_name" and "button_cmd_N" where n is + the button number (starting from 0). e.g: + + "button_cmd_0_name=vol_down" + "button_cmd_0=fastboot usb 0" + menuconfig FIT bool "Flattened Image Tree (FIT)" select HASH |
