diff options
| author | Marek Vasut <[email protected]> | 2024-07-13 15:19:16 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-07-15 12:12:17 -0600 |
| commit | e569c73a8e43f0e5294d9059402f0bb2cd491fa6 (patch) | |
| tree | 9d4f9b47f24e9c946fdc8ed154e01c979c571ca4 /cmd/load.c | |
| parent | 789934f1bb0141ee5e7d488d57d22c9182fe76d8 (diff) | |
cmd: Remove duplicate newlines
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'cmd/load.c')
| -rw-r--r-- | cmd/load.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/load.c b/cmd/load.c index ace1c52f90a..d773a25d70c 100644 --- a/cmd/load.c +++ b/cmd/load.c @@ -417,7 +417,6 @@ static int write_record(char *buf) #endif - #if defined(CONFIG_CMD_LOADB) /* * loadb command (load binary) included @@ -441,7 +440,6 @@ static void set_kerm_bin_mode(unsigned long *); static int k_recv(void); static ulong load_serial_bin(ulong offset); - static char his_eol; /* character he needs at end of packet */ static int his_pad_count; /* number of pad chars he needs */ static char his_pad_char; /* pad chars he needs */ @@ -557,7 +555,6 @@ static int do_load_serial_bin(struct cmd_tbl *cmdtp, int flag, int argc, return rcode; } - static ulong load_serial_bin(ulong offset) { int size, i; @@ -652,7 +649,6 @@ static void send_nack(int n) s1_sendpacket(a_b); } - static void (*os_data_init)(void); static void (*os_data_char)(char new_char); static int os_data_state, os_data_state_saved; @@ -693,7 +689,6 @@ static void set_kerm_bin_mode(unsigned long *addr) os_data_char = bin_data_char; } - /* k_data_* simply handles the kermit escape translations */ static int k_data_escape, k_data_escape_saved; static void k_data_init(void) @@ -1066,7 +1061,6 @@ static ulong load_serial_ymodem(ulong offset, int mode) xyzModem_stream_terminate(false, &getcxmodem); xyzModem_stream_close(&err); - flush_cache(offset, ALIGN(size, ARCH_DMA_MINALIGN)); printf("## Total Size = 0x%08x = %d Bytes\n", size, size); @@ -1141,7 +1135,6 @@ U_BOOT_CMD( * SAVES always requires LOADS support, but not vice versa */ - #if defined(CONFIG_CMD_SAVES) #ifdef CONFIG_SYS_LOADS_BAUD_CHANGE U_BOOT_CMD( @@ -1162,7 +1155,6 @@ U_BOOT_CMD( #endif /* CONFIG_CMD_SAVES */ #endif /* CONFIG_CMD_LOADS */ - #if defined(CONFIG_CMD_LOADB) U_BOOT_CMD( loadb, 3, 0, do_load_serial_bin, |
