Skip to content
Commit 1604986c authored by Martin Hundebøll's avatar Martin Hundebøll Committed by Moritz Fischer
Browse files

fpga: dfl: expose feature revision from struct dfl_device



DFL device drivers have a common need for checking feature revision
information from the DFL header, as well as other common DFL information
like the already exposed feature id and type.

This patch exposes the feature revision information directly via the DFL
device data structure.

Since the DFL core code has already read the DFL header, this this patch
saves additional mmio reads from DFL device drivers too.

Acked-by: default avatarWu Hao <hao.wu@intel.com>
Acked-by: default avatarMatthew Gerlach <matthew.gerlach@linux.intel.com>
Signed-off-by: default avatarMartin Hundebøll <mhu@silicom.dk>
Signed-off-by: default avatarMoritz Fischer <mdf@kernel.org>
parent 5f1895e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment