]> Git Repo - linux.git/commitdiff
clk: microchip: enable the MPFS clk driver by default if SOC_MICROCHIP_POLARFIRE
authorConor Dooley <[email protected]>
Wed, 23 Nov 2022 16:19:22 +0000 (16:19 +0000)
committerStephen Boyd <[email protected]>
Fri, 9 Dec 2022 01:12:08 +0000 (17:12 -0800)
With the intent of removing driver selects from Kconfig.socs in
arch/riscv, essential drivers that were being selected there could
instead by enabled by defaulting them to the value of the SoC's Kconfig
symbol.

Do so here & drop the depend on RISC-V - the SOC_ symbols are only
defined there anyway.

Signed-off-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
drivers/clk/microchip/Kconfig

index b46e864b3bd87d719bb2c858405538efb3f1a30f..e33e51978938331bc73829cf6bd5a0285f25013f 100644 (file)
@@ -5,7 +5,8 @@ config COMMON_CLK_PIC32
 
 config MCHP_CLK_MPFS
        bool "Clk driver for PolarFire SoC"
-       depends on (RISCV && SOC_MICROCHIP_POLARFIRE) || COMPILE_TEST
+       depends on SOC_MICROCHIP_POLARFIRE || COMPILE_TEST
+       default SOC_MICROCHIP_POLARFIRE
        select AUXILIARY_BUS
        help
          Supports Clock Configuration for PolarFire SoC
This page took 0.058909 seconds and 4 git commands to generate.