Thread (13 messages) 13 messages, 5 authors, 2012-01-01

[PATCH v5 REPOST 1/5] ARM: l2x0/pl310: Refactor Kconfig to be more maintainable

From: Barry Song <hidden>
Date: 2011-12-27 12:40:31
Also in: linux-arm-msm, linux-omap, linux-samsung-soc, linux-tegra

2011/12/17 Dave Martin [off-list ref]:
Making CACHE_L2X0 depend on (huge list of MACH_ and ARCH_ configs)
is bothersome to maintain and likely to lead to merge conflicts.

This patch moves the knowledge of which platforms have a L2x0 or
PL310 cache controller to the individual machines. ?To enable this,
a new MIGHT_HAVE_CACHE_L2X0 config option is introduced to allow
machines to indicate that they may have such a cache controller
independently of each other.

Boards/SoCs which cannot reliably operate without the L2 cache
controller support will need to select CACHE_L2X0 directly from
their own Kconfigs instead. ?This applies to some TrustZone-enabled
boards where Linux runs in the Normal World, for example.

Signed-off-by: Dave Martin <redacted>
Acked-by: Anton Vorontsov <redacted>
? ? ? ?(for cns3xxx)
Acked-by: Tony Lindgren <tony@atomide.com>
? ? ? ?(for omap)
Acked-by: Shawn Guo <redacted>
? ? ? ?(for imx)
Acked-by: Barry Song <redacted>
        (for prima2)
---
?arch/arm/Kconfig ? ? ? ? ? ? ? | ? ?8 ++++++++
?arch/arm/mach-exynos/Kconfig ? | ? ?1 +
?arch/arm/mach-omap2/Kconfig ? ?| ? ?1 +
?arch/arm/mach-realview/Kconfig | ? ?5 +++++
?arch/arm/mach-vexpress/Kconfig | ? ?1 +
?arch/arm/mm/Kconfig ? ? ? ? ? ?| ? 23 ++++++++++++++++-------
?arch/arm/plat-mxc/Kconfig ? ? ?| ? ?1 +
?7 files changed, 33 insertions(+), 7 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help