arm64: Kconfig.platforms: fix warning unmet direct dependencies
authorAnders Roxell <anders.roxell@linaro.org>
Tue, 15 Jan 2019 19:18:39 +0000 (20:18 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 28 Feb 2019 18:06:48 +0000 (18:06 +0000)
When ARCH_MXC get enabled, ARM64_ERRATUM_845719 will be selected and
this warning will happen when COMPAT isn't set.

WARNING: unmet direct dependencies detected for ARM64_ERRATUM_845719
  Depends on [n]: COMPAT [=n]
  Selected by [y]:
  - ARCH_MXC [=y]

Rework to add 'if COMPAT' before ARM64_ERRATUM_845719 gets selected,
since ARM64_ERRATUM_845719 depends on COMPAT.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig.platforms

index 251ecf3..d4faca7 100644 (file)
@@ -145,7 +145,7 @@ config ARCH_MVEBU
 config ARCH_MXC
        bool "ARMv8 based NXP i.MX SoC family"
        select ARM64_ERRATUM_843419
-       select ARM64_ERRATUM_845719
+       select ARM64_ERRATUM_845719 if COMPAT
        help
          This enables support for the ARMv8 based SoCs in the
          NXP i.MX family.