diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-06-19 05:19:10 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-06-19 06:29:28 -0400 |
commit | a641f3a6abce7e884d15adf073599bb2f2651203 (patch) | |
tree | 1b36cb02f59de79f03ef39b016f67a1418b40884 /arch/arm/mach-imx | |
parent | 870cbe8cb2043d63dc5f110731df57599075f53d (diff) |
ARM: l2c: fix dependencies on PL310 errata symbols
A number of configurations spit out warnings similar to:
warning: (SOC_IMX6 && SOC_VF610 && ARCH_OMAP4) selects PL310_ERRATA_588369 which has unmet direct dependencies (CACHE_L2X0)
warning: (SOC_IMX6 && SOC_VF610 && ARCH_OMAP4) selects PL310_ERRATA_727915 which has unmet direct dependencies (CACHE_L2X0)
Clean up the dependencies here:
* PL310 symbols should only be selected when CACHE_L2X0 is enabled.
* Since the cache-l2x0 code detects PL310 presence at runtime, and we will
eventually get rid of CACHE_PL310, surround these errata options with an
if CACHE_L2X0 conditional rather than repeating the dependency against
each.
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 8d42eab76d53..606b52680f6a 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig | |||
@@ -738,9 +738,9 @@ config SOC_IMX6 | |||
738 | select HAVE_IMX_MMDC | 738 | select HAVE_IMX_MMDC |
739 | select HAVE_IMX_SRC | 739 | select HAVE_IMX_SRC |
740 | select MFD_SYSCON | 740 | select MFD_SYSCON |
741 | select PL310_ERRATA_588369 if CACHE_PL310 | 741 | select PL310_ERRATA_588369 if CACHE_L2X0 |
742 | select PL310_ERRATA_727915 if CACHE_PL310 | 742 | select PL310_ERRATA_727915 if CACHE_L2X0 |
743 | select PL310_ERRATA_769419 if CACHE_PL310 | 743 | select PL310_ERRATA_769419 if CACHE_L2X0 |
744 | 744 | ||
745 | config SOC_IMX6Q | 745 | config SOC_IMX6Q |
746 | bool "i.MX6 Quad/DualLite support" | 746 | bool "i.MX6 Quad/DualLite support" |
@@ -775,9 +775,9 @@ config SOC_VF610 | |||
775 | select ARM_GIC | 775 | select ARM_GIC |
776 | select PINCTRL_VF610 | 776 | select PINCTRL_VF610 |
777 | select VF_PIT_TIMER | 777 | select VF_PIT_TIMER |
778 | select PL310_ERRATA_588369 if CACHE_PL310 | 778 | select PL310_ERRATA_588369 if CACHE_L2X0 |
779 | select PL310_ERRATA_727915 if CACHE_PL310 | 779 | select PL310_ERRATA_727915 if CACHE_L2X0 |
780 | select PL310_ERRATA_769419 if CACHE_PL310 | 780 | select PL310_ERRATA_769419 if CACHE_L2X0 |
781 | 781 | ||
782 | help | 782 | help |
783 | This enable support for Freescale Vybrid VF610 processor. | 783 | This enable support for Freescale Vybrid VF610 processor. |