summaryrefslogtreecommitdiff
path: root/drivers/fpga
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2019-01-11 19:09:45 +0300
committerMichal Simek <michal.simek@xilinx.com>2019-01-24 12:03:43 +0300
commit8df324a20b45f3a15a166797a2d5a5d447337891 (patch)
treebaa7a17b8923f7ab8db671ca2a23cb7744dc59ab /drivers/fpga
parent4c84844715c645db9968d2f5cbeefe910268f57f (diff)
downloadu-boot-8df324a20b45f3a15a166797a2d5a5d447337891.tar.xz
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>
Diffstat (limited to 'drivers/fpga')
-rw-r--r--drivers/fpga/zynqmppl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c
index c095d5ecaa..22bfdd8dce 100644
--- 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;
}