* [PATCH] clk: Remove X-Gene "default y" from Kconfig
@ 2014-06-09 20:43 Bjorn Helgaas
2014-06-11 9:53 ` Catalin Marinas
0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2014-06-09 20:43 UTC (permalink / raw)
To: linux-arm-kernel
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.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
arch/arm64/configs/defconfig | 1 +
drivers/clk/Kconfig | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 157e1d8d9a47..59ddc931836b 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -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
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 9f9c5ae5359b..52f11f8a0301 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -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.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] clk: Remove X-Gene "default y" from Kconfig
2014-06-09 20:43 [PATCH] clk: Remove X-Gene "default y" from Kconfig Bjorn Helgaas
@ 2014-06-11 9:53 ` Catalin Marinas
0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2014-06-11 9:53 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jun 09, 2014 at 09:43:57PM +0100, Bjorn Helgaas wrote:
> 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.
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> ---
> arch/arm64/configs/defconfig | 1 +
> drivers/clk/Kconfig | 1 -
> 2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 157e1d8d9a47..59ddc931836b 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -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
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index 9f9c5ae5359b..52f11f8a0301 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -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.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-11 9:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-09 20:43 [PATCH] clk: Remove X-Gene "default y" from Kconfig Bjorn Helgaas
2014-06-11 9:53 ` Catalin Marinas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.