Thread (18 messages) 18 messages, 4 authors, 2021-03-11

Re: [RFC v2 5/5] clk: socfpga: allow compile testing of Stratix 10 / Agilex clocks

From: Arnd Bergmann <arnd@arndb.de>
Date: 2021-03-10 16:50:02
Also in: linux-arm-kernel, linux-clk, linux-devicetree, linux-edac, linux-fpga, lkml

On Wed, Mar 10, 2021 at 9:38 AM Krzysztof Kozlowski
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
--- a/drivers/clk/socfpga/Kconfig
+++ b/drivers/clk/socfpga/Kconfig
@@ -1,6 +1,17 @@
 # SPDX-License-Identifier: GPL-2.0
+config COMMON_CLK_SOCFPGA
+       bool "Intel SoCFPGA family clock support" if COMPILE_TEST && !ARCH_SOCFPGA && !ARCH_SOCFPGA64
+       depends on ARCH_SOCFPGA || ARCH_SOCFPGA64 || COMPILE_TEST
+       default y if ARCH_SOCFPGA || ARCH_SOCFPGA64
I think the 'depends on' line here is redundant if you also have the
'if' line and the default.

        Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help