Files
u-boot/common
Marek Vasut d64c4a6958 common: update: Fix TFTP return value handling
The net_loop() returns 1 on success, but update_load() returns 0 on
success. Do not assign rv which is the return value of update_load()
to net_loop(), instead assign net_loop() return value to a temporary
variable and then update rv only if the temporary variable is negative.
This way the update_load() now correctly returns 0 on tftp success and
1 only on failure.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2026-04-24 11:28:14 -06:00
..
2026-04-22 14:23:49 -06:00
2024-11-03 21:27:12 -06:00
2025-07-28 08:53:20 -06:00
2026-04-22 14:23:49 -06:00
2025-04-08 16:23:51 -06:00
2026-04-22 14:23:49 -06:00
2025-12-04 09:38:58 -06:00
2024-07-15 12:12:17 -06:00
2026-02-23 13:45:55 -06:00
2024-07-15 12:12:17 -06:00
2025-01-26 11:06:56 +01:00
2026-04-17 08:02:42 +02:00
2025-06-23 16:15:23 -06:00
2024-07-15 12:12:17 -06:00