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

Olof Johansson olof at lixom.net
Sat Dec 17 23:23:56 EST 2011


On Thu, Dec 15, 2011 at 7:53 AM, Dave Martin <dave.martin at linaro.org> wrote:
> 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 <dave.martin at linaro.org>
> Acked-by: Anton Vorontsov <cbouatmailru at gmail.com>
>        (for cns3xxx)
> Acked-by: Tony Lindgren <tony at atomide.com>
>        (for omap)

Acked-by: Olof Johansson <olof at lixom.net> (for tegra)


-Olof



More information about the linux-arm-kernel mailing list