Commit e136eaeb authored by Michal Simek's avatar Michal Simek

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 <>
Reviewed-by: default avatarSimon Glass <>
parent 6cd68c81
......@@ -238,13 +238,14 @@ 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);
if (desc->operations && desc->operations->info)
} else
printf ("No Device Function Table.\n");
if (desc->operations && desc->operations->info)
ret_val = FPGA_SUCCESS;
} else {
printf ("%s: Invalid device descriptor\n", __FUNCTION__);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment