git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b765ae
)
fpga: cyclon2: Remove message never printed
author
Alexander Dahl
<ada@thorsis.com>
Mon, 4 Aug 2025 09:08:16 +0000
(11:08 +0200)
committer
Michal Simek
<michal.simek@amd.com>
Mon, 25 Aug 2025 14:20:47 +0000
(16:20 +0200)
else branch is never reached. Print "Done." anyways to keep behaviour.
Addresses-Coverity-ID: 583148
Link:
https://lore.kernel.org/u-boot/20250725132645.GA1807455@bill-the-cat/
Fixes:
f0ff4692ff33
("Add FPGA Altera Cyclone 2 support Patch by Heiko Schocher, 15 Aug 2006")
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Link:
https://lore.kernel.org/r/20250804090816.42603-1-ada@thorsis.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/fpga/cyclon2.c
patch
|
blob
|
history
diff --git
a/drivers/fpga/cyclon2.c
b/drivers/fpga/cyclon2.c
index
7e78d6e
..
1c464c1
100644
(file)
--- a/
drivers/fpga/cyclon2.c
+++ b/
drivers/fpga/cyclon2.c
@@
-174,10
+174,7
@@
static int CYC2_ps_load(Altera_desc *desc, const void *buf, size_t bsize)
ret_val = FPGA_SUCCESS;
#ifdef CONFIG_SYS_FPGA_PROG_FEEDBACK
- if (ret_val == FPGA_SUCCESS)
- puts("Done.\n");
- else
- puts("Fail.\n");
+ puts("Done.\n");
#endif
/*