summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-12-16 10:01:45 +0100
committerMichal Simek <michal.simek@xilinx.com>2017-01-10 10:18:11 +0100
commit3d4eb334ecdfec467ecbb7fbd826c3cb397a8ac3 (patch)
tree6e64b8798223aa993f734160f2d9507e229dee53
parent6f09d3433854571a918d8494758ecf89433dca19 (diff)
downloadu-boot-imx-3d4eb334ecdfec467ecbb7fbd826c3cb397a8ac3.zip
u-boot-imx-3d4eb334ecdfec467ecbb7fbd826c3cb397a8ac3.tar.gz
u-boot-imx-3d4eb334ecdfec467ecbb7fbd826c3cb397a8ac3.tar.bz2
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>
-rw-r--r--drivers/fpga/zynqpl.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/fpga/zynqpl.c b/drivers/fpga/zynqpl.c
index ef889ea..2ff716c 100644
--- a/drivers/fpga/zynqpl.c
+++ b/drivers/fpga/zynqpl.c
@@ -38,11 +38,6 @@
#define CONFIG_SYS_FPGA_PROG_TIME (CONFIG_SYS_HZ * 4) /* 4 s */
#endif
-static int zynq_info(xilinx_desc *desc)
-{
- return FPGA_SUCCESS;
-}
-
#define DUMMY_WORD 0xffffffff
/* Xilinx binary format header */
@@ -481,16 +476,9 @@ static int zynq_loadfs(xilinx_desc *desc, const void *buf, size_t bsize,
}
#endif
-static int zynq_dump(xilinx_desc *desc, const void *buf, size_t bsize)
-{
- return FPGA_FAIL;
-}
-
struct xilinx_fpga_op zynq_op = {
.load = zynq_load,
#if defined(CONFIG_CMD_FPGA_LOADFS)
.loadfs = zynq_loadfs,
#endif
- .dump = zynq_dump,
- .info = zynq_info,
};