linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Refactor common Kconfigs for easier maintenance
@ 2011-12-13 17:56 Dave Martin
  2011-12-13 17:56 ` [PATCH v4 1/5] ARM: l2x0/pl310: Refactor Kconfig to be more maintainable Dave Martin
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Dave Martin @ 2011-12-13 17:56 UTC (permalink / raw)
  To: linux-arm-kernel

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.


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               |   23 +++++++++++++++++++----
 arch/arm/mach-exynos/Kconfig   |    2 ++
 arch/arm/mach-imx/Kconfig      |    3 ++-
 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            |   15 ++++++++-------
 arch/arm/plat-mxc/Kconfig      |    1 +
 9 files changed, 46 insertions(+), 12 deletions(-)

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-12-18  4:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-13 17:56 [PATCH v4 0/5] Refactor common Kconfigs for easier maintenance Dave Martin
2011-12-13 17:56 ` [PATCH v4 1/5] ARM: l2x0/pl310: Refactor Kconfig to be more maintainable Dave Martin
2011-12-13 17:56 ` [PATCH v4 2/5] ARM: SMP: " Dave Martin
2011-12-13 20:11   ` David Brown
2011-12-14 11:36     ` Dave Martin
2011-12-14 17:46       ` David Brown
2011-12-14 18:20         ` Dave Martin
2011-12-14 17:31   ` Linus Walleij
2011-12-18  4:22   ` Olof Johansson
2011-12-13 17:56 ` [PATCH v4 3/5] omap4: Unconditionally require l2x0 L2 cache controller support Dave Martin
2011-12-13 17:56 ` [PATCH v4 4/5] highbank: " Dave Martin
2011-12-13 17:56 ` [PATCH v4 5/5] imx6q: Remove unconditional dependency on l2x0 L2 cache support Dave Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).