]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
fpga: zynqmp: Remove empty functions
authorMichal Simek <michal.simek@xilinx.com>
Fri, 16 Dec 2016 09:01:45 +0000 (10:01 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 18 Jan 2017 06:53:20 +0000 (07:53 +0100)
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>
drivers/fpga/zynqpl.c

index 5897a7794c736c2fdf6834695c4be1025174cf73..bf8cf514e957230bedf35962ccb54e08309a6e6a 100644 (file)
 #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 */
@@ -482,18 +477,11 @@ 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) && !defined(CONFIG_SPL_BUILD)
        .loadfs = zynq_loadfs,
 #endif
-       .dump = zynq_dump,
-       .info = zynq_info,
 };
 
 #ifdef CONFIG_CMD_ZYNQ_AES