Commit 3d4eb334ecdfec467ecbb7fbd826c3cb397a8ac3
1 parent
6f09d34338
Exists in
smarc_8mq_lf_v2020.04
and in
22 other branches
fpga: zynqmp: Remove empty functions
Xilinx core files will take care about it. There is no need to have these functions because they do nothing. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Showing 1 changed file with 0 additions and 12 deletions Side-by-side Diff
drivers/fpga/zynqpl.c
... | ... | @@ -38,11 +38,6 @@ |
38 | 38 | #define CONFIG_SYS_FPGA_PROG_TIME (CONFIG_SYS_HZ * 4) /* 4 s */ |
39 | 39 | #endif |
40 | 40 | |
41 | -static int zynq_info(xilinx_desc *desc) | |
42 | -{ | |
43 | - return FPGA_SUCCESS; | |
44 | -} | |
45 | - | |
46 | 41 | #define DUMMY_WORD 0xffffffff |
47 | 42 | |
48 | 43 | /* Xilinx binary format header */ |
49 | 44 | |
... | ... | @@ -481,17 +476,10 @@ |
481 | 476 | } |
482 | 477 | #endif |
483 | 478 | |
484 | -static int zynq_dump(xilinx_desc *desc, const void *buf, size_t bsize) | |
485 | -{ | |
486 | - return FPGA_FAIL; | |
487 | -} | |
488 | - | |
489 | 479 | struct xilinx_fpga_op zynq_op = { |
490 | 480 | .load = zynq_load, |
491 | 481 | #if defined(CONFIG_CMD_FPGA_LOADFS) |
492 | 482 | .loadfs = zynq_loadfs, |
493 | 483 | #endif |
494 | - .dump = zynq_dump, | |
495 | - .info = zynq_info, | |
496 | 484 | }; |