ARM: 7612/1: imx: Do not select some errata that depends on !ARCH_MULTIPLATFORM
authorFabio Estevam <festevam@gmail.com>
Sat, 5 Jan 2013 02:51:59 +0000 (03:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 6 Jan 2013 17:54:02 +0000 (17:54 +0000)
commita47e3bc10d0e34a67e10a9f8150a144af654be2a
tree5abf5102a3b66efc1e1b7853e9cc6113529a726b
parent5ced33bc06e7e76cb8a236f15bff49eb6155b618
ARM: 7612/1: imx: Do not select some errata that depends on !ARCH_MULTIPLATFORM

Since commit 62e4d357a (ARM: 7609/1: disable errata work-arounds which access
secure registers) ARM_ERRATA_743622/751472 depends on !ARCH_MULTIPLATFORM.

Since imx has been converted to multiplatform, the following warning happens:

$ make imx_v6_v7_defconfig
warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects
ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 &&
!ARCH_MULTIPLATFORM)
warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622
which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM)
warning: (SOC_IMX6Q && ARCH_TEGRA_3x_SOC) selects ARM_ERRATA_743622
which has unmet direct dependencies (CPU_V7 && !ARCH_MULTIPLATFORM)
warning: (SOC_IMX6Q && ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC) selects
ARM_ERRATA_751472 which has unmet direct dependencies (CPU_V7 &&
!ARCH_MULTIPLATFORM)

Recommended approach is to remove ARM_ERRATA_743622/751472 from being selected
by SOC_IMX6Q and apply such workarounds into the bootloader.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-imx/Kconfig