Re: [PATCH] arm64: arch_k3: Fix kconfig dependency warning

From: Lokesh Vutla
Date: Fri May 10 2019 - 01:19:57 EST




On 10/05/19 9:22 AM, YueHaibing wrote:
> Fix Kbuild warning when SOC_TI is not set
>
> WARNING: unmet direct dependencies detected for TI_SCI_INTA_IRQCHIP
> Depends on [n]: TI_SCI_PROTOCOL [=y] && SOC_TI [=n]
> Selected by [y]:
> - ARCH_K3 [=y]
>
> Fixes: 009669e74813 ("arm64: arch_k3: Enable interrupt controller drivers")
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Thanks for catching it.

Reviewed-by: Lokesh Vutla <lokeshvutla@xxxxxx>

Thanks and regards,
Lokesh

> ---
> arch/arm64/Kconfig.platforms | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 42eca65..9d1292f 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -88,6 +88,7 @@ config ARCH_K3
> bool "Texas Instruments Inc. K3 multicore SoC architecture"
> select PM_GENERIC_DOMAINS if PM
> select MAILBOX
> + select SOC_TI
> select TI_MESSAGE_MANAGER
> select TI_SCI_PROTOCOL
> select TI_SCI_INTR_IRQCHIP
>