mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
fpga: zynqmp: show an error message when FPGA programming fails
When FPGA programming fails, it does so silently, unless debugging code is enabled. This makes it hard to detect problems in production environments. Print the error message unconditionally so the error doesn't go unnoticed. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
4c84844715
commit
8df324a20b
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ static int zynqmp_load(xilinx_desc *desc, const void *buf, size_t bsize,
|
|||
(u32)bsize, 0, ret_payload);
|
||||
|
||||
if (ret)
|
||||
debug("PL FPGA LOAD fail\n");
|
||||
puts("PL FPGA LOAD fail\n");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue