diff options
| author | 2021-02-01 17:12:42 +0200 | |
|---|---|---|
| committer | 2021-02-08 18:13:12 -0800 | |
| commit | 324a810583ffec3e5c6e7e35bc202904d362e71b (patch) | |
| tree | 9c509095b1b58009fd865b79d722edbb7e004233 /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.11-rc1 (diff) | |
| download | linux-dev-324a810583ffec3e5c6e7e35bc202904d362e71b.tar.xz linux-dev-324a810583ffec3e5c6e7e35bc202904d362e71b.zip | |
clk: axi-clkgen: replace ARCH dependencies with driver deps
The intent is to be able to run this driver to access the IP core in setups
where FPGA board is also connected via a PCIe bus. In such cases the number
of combinations explodes, where the host system can be an x86 with Xilinx
Zynq/ZynqMP/Microblaze board connected via PCIe.
Or even a ZynqMP board with a ZynqMP/Zynq/Microblaze connected via PCIe.
To accommodate for these cases, this change removes the limitation for this
driver to be compilable only on Zynq/Microblaze architectures.
And adds dependencies on the mechanisms required by the driver to work (OF
and HAS_IOMEM).
Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20210201151245.21845-2-alexandru.ardelean@analog.com
Acked-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
