ARM: soc: dependency warnings for errata
authorArnd Bergmann <arnd@arndb.de>
Thu, 16 Aug 2012 09:36:04 +0000 (09:36 +0000)
committerArnd Bergmann <arnd@arndb.de>
Sun, 7 Oct 2012 08:33:10 +0000 (10:33 +0200)
commit8f90cce5a9b0ecf3cc6d3d3046cbfc19fc957dcb
tree5d76606612094252cf45c74beee775a140e2c54e
parent113f7ae5a9cebfc536d71d25a8b6f83f7fe93789
ARM: soc: dependency warnings for errata

The PL310_ERRATA_753970 and ARM_ERRATA_764369 symbols only make sense
when the base features for them are enabled, so select them
conditionally in Kconfig to avoid warnings like:

warning: (UX500_SOC_COMMON) selects PL310_ERRATA_753970 which has unmet direct dependencies (CACHE_PL310)
warning: (ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC && UX500_SOC_COMMON) selects ARM_ERRATA_764369 which has unmet direct dependencies (CPU_V7 && SMP)

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/Kconfig
arch/arm/mach-ux500/Kconfig