u-boot/drivers/fpga
Pieter Van Trappen f08dcc5524 cmd: fpga: improve user feedback in case of bitstream load failure
In cmd/fpga.c, change some `debug` calls to `log_err` for important
user feedback and use CMD_RET_FAILURE in favor of CMD_RET_USAGE due to
its long output which hides the actual, useful return message. Change
the remaining `debug` calls to `log_debug`. Remove all 'fpga:' and
__func__ strings as log_* has this covered.

For `do_fpga_loads`, move up the `do_fpga_check_params` call for more
consistent command output; use a constant instead of multiple '5' use.

In drivers/fpga/zynq*.c, change 'up to' to 'above' which corrects this
confusing/wrong statement.

Signed-off-by: Pieter Van Trappen <pieter.van.trappen@cern.ch>
Link: https://lore.kernel.org/r/20250708152455.1214487-2-vtpieter@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2025-07-24 08:54:15 +02:00
..
ACEX1K.c drivers: fpga: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
altera.c drivers: fpga: Follow mainline to pass compatible flags to fpga_load 2025-04-16 13:42:06 +02:00
cyclon2.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fpga-uclass.c dm: fpga: Introduce new uclass 2022-10-05 08:43:53 +02:00
fpga.c fpga: Avoid ignored-qualifiers warning 2025-02-05 16:22:55 +01:00
intel_sdm_mb.c drivers: fpga: intel_sdm_mb: Check SIP SMC status in send_bitstream() 2025-07-08 14:58:43 +02:00
ivm_core.c drivers: fpga: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
Kconfig arm64: zynqmp: Add missing ZYNQMP_FIRMWARE dependencies 2023-03-09 13:14:59 +01:00
lattice.c drivers: fpga: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
Makefile dm: fpga: Introduce new uclass 2022-10-05 08:43:53 +02:00
sandbox.c dm: fpga: Introduce new uclass 2022-10-05 08:43:53 +02:00
socfpga_arria10.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
socfpga_gen5.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
socfpga.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
spartan2.c drivers: fpga: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
spartan3.c drivers: fpga: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
stratixII.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
stratixv.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
versalpl.c arm64: versal2: Add PL bit stream load support 2025-04-16 13:44:44 +02:00
virtex2.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
xilinx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
zynqmppl.c cmd: fpga: improve user feedback in case of bitstream load failure 2025-07-24 08:54:15 +02:00
zynqpl.c cmd: fpga: improve user feedback in case of bitstream load failure 2025-07-24 08:54:15 +02:00