projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c84844
)
fpga: zynqmp: show an error message when FPGA programming fails
author
Luca Ceresoli
<luca@lucaceresoli.net>
Fri, 11 Jan 2019 16:09:45 +0000
(17:09 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Thu, 24 Jan 2019 09:03:43 +0000
(10:03 +0100)
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>
drivers/fpga/zynqmppl.c
patch
|
blob
|
history
diff --git
a/drivers/fpga/zynqmppl.c
b/drivers/fpga/zynqmppl.c
index c095d5ecaa85b80e9149136da2509ddf867f9828..22bfdd8dce61d03203ee06f1e81c7fd8ff32ce68 100644
(file)
--- a/
drivers/fpga/zynqmppl.c
+++ b/
drivers/fpga/zynqmppl.c
@@
-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;
}