Skip to contentSkip to conversation

clk: Remove X-Gene "default y" from Kconfig

PATCH New Bjorn Helgaas 2 participants 2 messages Jun 9, 2014 – Jun 11, 2014 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: Remove X-Gene "default y" from Kconfig

Not all arm64 systems will have APM X-Gene clocks, so don't enable the driver by default in the Kconfig file.

There's only one arm64 defconfig, so I turned on CONFIG_COMMON_CLK_XGENE there to preserve the previous behavior of building the X-Gene driver by default.

---
 arch/arm64/configs/defconfig |    1 +
 drivers/clk/Kconfig          |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
arch/arm64/configs/defconfig +1 -0
index 157e1d8d9a47..59ddc931836b 100644
@@ -113,3 +113,4 @@ CONFIG_CRYPTO_AES_ARM64_CE=y
 CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
 CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
 CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
+CONFIG_COMMON_CLK_XGENE=y
drivers/clk/Kconfig +0 -1
index 9f9c5ae5359b..52f11f8a0301 100644
@@ -90,7 +90,6 @@ config CLK_PPC_CORENET
 
 config COMMON_CLK_XGENE
 	bool "Clock driver for APM XGene SoC"
-	default y
 	depends on ARM64
 	---help---
 	  Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
#1 lore raw

PATCH 1/1 clk: Remove X-Gene "default y" from Kconfig

Quoted 27 lines · Bjorn Helgaas

Not all arm64 systems will have APM X-Gene clocks, so don't enable the driver by default in the Kconfig file.

There's only one arm64 defconfig, so I turned on CONFIG_COMMON_CLK_XGENE there to preserve the previous behavior of building the X-Gene driver by default.

---
 arch/arm64/configs/defconfig |    1 +
 drivers/clk/Kconfig          |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
arch/arm64/configs/defconfig +1 -0
index 157e1d8d9a47..59ddc931836b 100644
@@ -113,3 +113,4 @@ CONFIG_CRYPTO_AES_ARM64_CE=y
 CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
 CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
 CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
+CONFIG_COMMON_CLK_XGENE=y
drivers/clk/Kconfig +0 -0
index 9f9c5ae5359b..52f11f8a0301 100644

drivers/clk/Kconfig config CLK_PPC_CORENET · line 95

Quoted 7 lines
drivers/clk/Kconfig +0 -1
@@ -90,7 +90,6 @@ config CLK_PPC_CORENET
 
 config COMMON_CLK_XGENE
 	bool "Clock driver for APM XGene SoC"
-	default y
 	depends on ARM64
 	---help---
 	  Sypport for the APM X-Gene SoC reference, PLL, and device clocks.