]> git.ipfire.org Git - thirdparty/u-boot.git/commit
fpga: zynqmp: show an error message when FPGA programming fails
authorLuca Ceresoli <luca@lucaceresoli.net>
Fri, 11 Jan 2019 16:09:45 +0000 (17:09 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 28 Jan 2019 07:37:48 +0000 (08:37 +0100)
commitfbe72e2aff6c8ed6ddb3573db4425ef0102953a2
tree9ced3ff29cef8712b82cc8bf02194f559bc4b930
parentd686aabcd61a1a2155bc34a9dd61f7c44a24a180
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>
drivers/fpga/zynqmppl.c