linux/arch/arm/mach-bcm
Alex Elder 7b5fe9c911 ARM: bcm: config option for l2 cache support
Add a new config option ARCH_BCM_MOBILE_L2_CACHE that allows support
for level-2 cache to be enabled or disabled at build time for
BCM218XX and BCM21664 family SoCs.

Build support for SMC only if it's required (currently it's only
required for to support level 2 cache control).

If arch/arm/mach-bcm/kona.c gets compiled, ARCH_BCM_MOBILE_L2_CACHE
must have been selected, which implies CONFIG_CACHE_L2X0 is set.
There is therefore no need to check CONFIG_CACHE_L2X0 at the top
of kona_l2_cache_init(), so get rid of that check.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
Reviewed-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Matt Porter <mporter@linaro.org>
2014-04-25 08:51:35 -04:00
..
bcm_5301x.c ARM: BCM5301X: workaround suppress fault 2014-03-06 00:36:04 -05:00
bcm_kona_smc_asm.S ARM: bcm281xx: Add L2 cache enable code 2013-04-09 09:18:13 -07:00
bcm_kona_smc.c ARM: bcm: don't special-case CPU 0 in bcm_kona_smc() 2014-04-25 08:51:34 -04:00
bcm_kona_smc.h ARM: bcm: clean up SMC code 2014-04-25 08:51:32 -04:00
board_bcm281xx.c ARM: bcm281xx: Rename board_init() function 2014-03-06 03:18:01 -05:00
board_bcm2835.c ARM: bcm2835: Move to mach-bcm directory 2014-02-24 19:42:35 -07:00
board_bcm21664.c ARM: bcm21664: Add board support. 2014-03-14 11:25:15 -04:00
Kconfig ARM: bcm: config option for l2 cache support 2014-04-25 08:51:35 -04:00
kona.c ARM: bcm: config option for l2 cache support 2014-04-25 08:51:35 -04:00
kona.h ARM: bcm: config option for l2 cache support 2014-04-25 08:51:35 -04:00
Makefile ARM: bcm: config option for l2 cache support 2014-04-25 08:51:35 -04:00