diff options
| author | Tom Rini <[email protected]> | 2022-11-10 10:09:02 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-11-10 10:09:40 -0500 |
| commit | 0cbeed4f6648e0e4966475e3544280a69ecb59d3 (patch) | |
| tree | a7b4b6b44bc3d43628e654f0c75ef2fab49ffd1b /cmd | |
| parent | 77b5cc2948f5d93fe3d275302f596ffd8701a875 (diff) | |
| parent | cc1159bbfa94a60e4180846e480b887cf91fa722 (diff) | |
Merge branch '2022-11-10-symbol-migrations'
- Migrate a number of CONFIG symbols to Kconfig and start migrating some
symbol families from CONFIG to the CFG namespace.
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/Kconfig | 28 | ||||
| -rw-r--r-- | cmd/blob.c | 2 |
2 files changed, 22 insertions, 8 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 105406496ec..1092fb9c914 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 diff --git a/cmd/blob.c b/cmd/blob.c index e2efae7a115..7c77c410d52 100644 --- a/cmd/blob.c +++ b/cmd/blob.c @@ -84,7 +84,7 @@ static int do_blob(struct cmd_tbl *cmdtp, int flag, int argc, hab_caam_clock_enable(1); - u32 out_jr_size = sec_in32(CONFIG_SYS_FSL_JR0_ADDR + + u32 out_jr_size = sec_in32(CFG_SYS_FSL_JR0_ADDR + FSL_CAAM_ORSR_JRa_OFFSET); if (out_jr_size != FSL_CAAM_MAX_JR_SIZE) sec_init(); |
