diff mbox series

[v2,2/2] clk: zynqmp: Drop dependency on ARCH_ZYNQMP

Message ID 20210322061754.1065367-3-punit1.agrawal@toshiba.co.jp (mailing list archive)
State New, archived
Headers show
Series Update ZYNQMP clock configuration | expand

Commit Message

Punit Agrawal March 22, 2021, 6:17 a.m. UTC
The clock driver depends on ZYNQMP_FIRMWARE which in turn depends on
ARCH_ZYNQMP. Simplify the Kconfig by dropping the redundant dependency
on ARCH_ZYNQMP as it'll be applied transitively via ZYNQMP_FIRMWARE.

Signed-off-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
---
 drivers/clk/zynqmp/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Michal Simek March 22, 2021, 8:16 a.m. UTC | #1
On 3/22/21 7:17 AM, Punit Agrawal wrote:
> The clock driver depends on ZYNQMP_FIRMWARE which in turn depends on
> ARCH_ZYNQMP. Simplify the Kconfig by dropping the redundant dependency
> on ARCH_ZYNQMP as it'll be applied transitively via ZYNQMP_FIRMWARE.
> 
> Signed-off-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
> ---
>  drivers/clk/zynqmp/Kconfig | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/clk/zynqmp/Kconfig b/drivers/clk/zynqmp/Kconfig
> index 14e4f5c55525..00df6be25c5d 100644
> --- a/drivers/clk/zynqmp/Kconfig
> +++ b/drivers/clk/zynqmp/Kconfig
> @@ -2,8 +2,7 @@
>  
>  config COMMON_CLK_ZYNQMP
>  	bool "Support for Xilinx ZynqMP Ultrascale+ clock controllers"
> -	depends on ARCH_ZYNQMP || COMPILE_TEST
> -	depends on ZYNQMP_FIRMWARE
> +	depends on ZYNQMP_FIRMWARE || COMPILE_TEST
>  	default ZYNQMP_FIRMWARE
>  	help
>  	  Support for the Zynqmp Ultrascale clock controller.
> 

Reviewed-by: Michal Simek <michal.simek@xilinx.com>

Thanks,
Michal
Stephen Boyd April 8, 2021, 12:26 a.m. UTC | #2
Quoting Punit Agrawal (2021-03-21 23:17:54)
> The clock driver depends on ZYNQMP_FIRMWARE which in turn depends on
> ARCH_ZYNQMP. Simplify the Kconfig by dropping the redundant dependency
> on ARCH_ZYNQMP as it'll be applied transitively via ZYNQMP_FIRMWARE.
> 
> Signed-off-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/zynqmp/Kconfig b/drivers/clk/zynqmp/Kconfig
index 14e4f5c55525..00df6be25c5d 100644
--- a/drivers/clk/zynqmp/Kconfig
+++ b/drivers/clk/zynqmp/Kconfig
@@ -2,8 +2,7 @@ 
 
 config COMMON_CLK_ZYNQMP
 	bool "Support for Xilinx ZynqMP Ultrascale+ clock controllers"
-	depends on ARCH_ZYNQMP || COMPILE_TEST
-	depends on ZYNQMP_FIRMWARE
+	depends on ZYNQMP_FIRMWARE || COMPILE_TEST
 	default ZYNQMP_FIRMWARE
 	help
 	  Support for the Zynqmp Ultrascale clock controller.