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

Message ID 20180112153324.26832-1-ezequiel@vanguardiasur.com.ar
State New
Delegated to: Michal Simek
Headers show
Series
  • [U-Boot] arm: zynq: Enable SPL_CLK only if SPL is enabled
Related show

Commit Message

Ezequiel Garcia Jan. 12, 2018, 3:33 p.m.
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. | #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

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