mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-20 22:21:41 +00:00
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>
This commit is contained in:
parent
6f09d34338
commit
3d4eb334ec
1 changed files with 0 additions and 12 deletions
|
@ -38,11 +38,6 @@
|
||||||
#define CONFIG_SYS_FPGA_PROG_TIME (CONFIG_SYS_HZ * 4) /* 4 s */
|
#define CONFIG_SYS_FPGA_PROG_TIME (CONFIG_SYS_HZ * 4) /* 4 s */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int zynq_info(xilinx_desc *desc)
|
|
||||||
{
|
|
||||||
return FPGA_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
#define DUMMY_WORD 0xffffffff
|
#define DUMMY_WORD 0xffffffff
|
||||||
|
|
||||||
/* Xilinx binary format header */
|
/* Xilinx binary format header */
|
||||||
|
@ -481,16 +476,9 @@ static int zynq_loadfs(xilinx_desc *desc, const void *buf, size_t bsize,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int zynq_dump(xilinx_desc *desc, const void *buf, size_t bsize)
|
|
||||||
{
|
|
||||||
return FPGA_FAIL;
|
|
||||||
}
|
|
||||||
|
|
||||||
struct xilinx_fpga_op zynq_op = {
|
struct xilinx_fpga_op zynq_op = {
|
||||||
.load = zynq_load,
|
.load = zynq_load,
|
||||||
#if defined(CONFIG_CMD_FPGA_LOADFS)
|
#if defined(CONFIG_CMD_FPGA_LOADFS)
|
||||||
.loadfs = zynq_loadfs,
|
.loadfs = zynq_loadfs,
|
||||||
#endif
|
#endif
|
||||||
.dump = zynq_dump,
|
|
||||||
.info = zynq_info,
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue