[PATCH] arm: zynq: Enable SPL_CLK only if SPL is enabled

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] arm: zynq: Enable SPL_CLK only if SPL is enabled

Ezequiel Garcia-2
Setup proper dependency in Kconfig for SPL_CLK.
If SPL is not enabled, SPL_CLK shouldn't be selected.

Cc: Michal Simek <[hidden email]>
Signed-off-by: Ezequiel Garcia <[hidden email]>
---
 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
--
2.15.1

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] arm: zynq: Enable SPL_CLK only if SPL is enabled

Michal Simek-3
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 <[hidden email]>
> Signed-off-by: Ezequiel Garcia <[hidden email]>
> ---
>  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
_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot