summaryrefslogtreecommitdiff
path: root/drivers/base/component.c
diff options
context:
space:
mode:
authorThor Thayer <thor.thayer@linux.intel.com>2019-08-19 23:48:06 +0300
committerMoritz Fischer <mdf@kernel.org>2019-08-24 21:38:24 +0300
commiteb12511f0d47b4da58cc9fc1e93362081fa3331b (patch)
tree007a6804555c211ca76f0250e7113a465f92f971 /drivers/base/component.c
parent2949dc443116a66fd1a92d9ef107be16cdd197cd (diff)
downloadlinux-eb12511f0d47b4da58cc9fc1e93362081fa3331b.tar.xz
fpga: altera-cvp: Discover Vendor Specific offset
Newer Intel FPGAs have different Vendor Specific offsets than legacy parts. Use PCI discovery to find the CvP registers. Since the register positions remain the same, change the hard coded address to a more flexible way of indexing registers from the offset. Adding new PCI read and write abstraction functions to handle the offset (altera_read_config_dword() and altera_write_config_dword()). Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com> Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'drivers/base/component.c')
0 files changed, 0 insertions, 0 deletions