diff mbox series

[U-Boot] arm: zynq: Enable SPL_CLK only if SPL is enabled

Message ID 20180112153324.26832-1-ezequiel@vanguardiasur.com.ar
State Accepted
Commit 578d95e99ff7c158be8f293e9a5fdca91dd3a9b6
Delegated to: Michal Simek
Headers show
Series [U-Boot] arm: zynq: Enable SPL_CLK only if SPL is enabled | expand

Commit Message

Ezequiel Garcia Jan. 12, 2018, 3:33 p.m. UTC
Setup proper dependency in Kconfig for SPL_CLK.
If SPL is not enabled, SPL_CLK shouldn't be selected.

Cc: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
---
 arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michal Simek Jan. 15, 2018, 6:35 a.m. UTC | #1
On 12.1.2018 16:33, Ezequiel Garcia wrote:
> Setup proper dependency in Kconfig for SPL_CLK.
> If SPL is not enabled, SPL_CLK shouldn't be selected.
> 
> Cc: Michal Simek <michal.simek@xilinx.com>
> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
> ---
>  arch/arm/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index de323bf4b96e..4ff369c32524 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -760,7 +760,7 @@ config ARCH_ZYNQ
>  	select DM_USB if USB
>  	select BLK
>  	select CLK
> -	select SPL_CLK
> +	select SPL_CLK if SPL
>  	select CLK_ZYNQ
>  	imply CMD_CLK
>  	imply FAT_WRITE
> 

Make sense. Applied.

Thanks,
Michal
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index de323bf4b96e..4ff369c32524 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -760,7 +760,7 @@  config ARCH_ZYNQ
 	select DM_USB if USB
 	select BLK
 	select CLK
-	select SPL_CLK
+	select SPL_CLK if SPL
 	select CLK_ZYNQ
 	imply CMD_CLK
 	imply FAT_WRITE