diff options
author | Tom Rini <trini@konsulko.com> | 2022-10-29 03:27:02 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-11-10 17:45:54 +0300 |
commit | 2c8d04dd1794baf777dea9ffdacf6a61033f2876 (patch) | |
tree | ce51bb6e8022f4e37f7a8442b1d72956e757a58e /cmd | |
parent | b85d75951fe126267a29bc953ed59ed64a152288 (diff) | |
download | u-boot-2c8d04dd1794baf777dea9ffdacf6a61033f2876.tar.xz |
Convert CONFIG_SYS_LOADS_BAUD_CHANGE et al to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_LOADS_BAUD_CHANGE
CONFIG_LOADS_ECHO
As part of this, we move CMD_SAVES to be after CMD_LOADS as they are
logically related (load or save an s-record format file) and this makes
grouping of CONFIG_SYS_LOADS_BAUD_CHANGE easier.
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Kconfig | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 105406496e..1092fb9c91 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1200,11 +1200,31 @@ config CMD_LOADM Load a binary over memory mapped. config CMD_LOADS - bool "loads" + bool "loads - Load a file over serial in S-Record format" default y help Load an S-Record file over serial line +config LOADS_ECHO + bool "Echo all characters received during a loads back to console" + depends on CMD_LOADS + help + If enabled, all characters received during a serial download (using + the "loads" command) are echoed back. This might be needed by some + terminal emulations (like "cu"), but may as well just take time on + others. This sets the initial value of the "loads_echo" environment + variable to 1. + +config CMD_SAVES + bool "saves - Save a file over serial in S-Record format" + help + Provides a way to save a binary file using the Motorola S-Record + format over the serial line. + +config SYS_LOADS_BAUD_CHANGE + bool "Enable a temporary baudrate change during loads/saves command" + depends on CMD_LOADS || CMD_SAVES + config CMD_LOADXY_TIMEOUT int "loadxy_timeout" range 0 2000 @@ -1404,12 +1424,6 @@ config CMD_SATA Attachment, where AT refers to an IBM AT (Advanced Technology) computer released in 1984. -config CMD_SAVES - bool "saves - Save a file over serial in S-Record format" - help - Provides a way to save a binary file using the Motorola S-Record - format over the serial line. - config CMD_SCSI bool "scsi - Access to SCSI devices" default y if SCSI |