Common Kconfig options which depend on a long list of board- and SoC- specific Kconfigs can be cumbersome to maintain, leading to annoying merge conflicts (although rather trivial ones). This series factors out the dependencies of CACHE_L2X0 and SMP so that the knowledge about when these can be enabled is moved to the relevant board/SoC Kconfig files instead. New MIGHT_HAVE_CACHE_L2X0 and HAVE_SMP options are defined to mediate the dependencies. This series has been substantially reworked compared with the previous post, and is now in two parts: * The first two patches simply refactor the way the Kconfig options for CACHE_L2X0 and SMP are implemented, without making any other changes. * The final three patches apply functional changes suggested by the contributors to this series, to make the config dependencies more correct for some specific boards. Thanks to Rob Herring, Shawn Guo and Russell King for their contributions to this series. Thanks also to David Brown for pointing out the lack of a comprehensive CC list. I have briefly build-tested on some of the affected boards, but any further reviews or Tested-Bys would be much appreciated. Dave Martin (5): ARM: l2x0/pl310: Refactor Kconfig to be more maintainable ARM: SMP: Refactor Kconfig to be more maintainable omap4: Unconditionally require l2x0 L2 cache controller support highbank: Unconditionally require l2x0 L2 cache controller support imx6q: Remove unconditional dependency on l2x0 L2 cache support arch/arm/Kconfig | 26 ++++++++++++++++++++++---- arch/arm/mach-exynos/Kconfig | 2 ++ arch/arm/mach-imx/Kconfig | 2 +- arch/arm/mach-msm/Kconfig | 1 + arch/arm/mach-omap2/Kconfig | 2 ++ arch/arm/mach-realview/Kconfig | 9 +++++++++ arch/arm/mach-vexpress/Kconfig | 2 ++ arch/arm/mm/Kconfig | 23 ++++++++++++++++------- arch/arm/plat-mxc/Kconfig | 1 + 9 files changed, 56 insertions(+), 12 deletions(-) -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html