Skip to content
Snippets Groups Projects
Commit e136eaeb authored by Michal Simek's avatar Michal Simek
Browse files

fpga: xilinx: Show fpga info if defined


Show fpga_op->info even if desc->iface_fns is not defined.

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 6cd68c81
Branches
Tags
No related merge requests found
......@@ -238,12 +238,13 @@ int xilinx_info(xilinx_desc *desc)
if (desc->name)
printf("Device name: \t%s\n", desc->name);
if (desc->iface_fns) {
if (desc->iface_fns)
printf ("Device Function Table @ 0x%p\n", desc->iface_fns);
else
printf ("No Device Function Table.\n");
if (desc->operations && desc->operations->info)
desc->operations->info(desc);
} else
printf ("No Device Function Table.\n");
ret_val = FPGA_SUCCESS;
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment