diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2011-10-14 09:28:11 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-19 08:54:13 +0100 |
commit | bba5ba46888d2d3d7f1a3ac4ae38d6a69d1ca6d6 (patch) | |
tree | e7257ab7a569ade04689be0076897ce22faa0310 /arch/arm/mach-ux500/Kconfig | |
parent | 916884385ca6b11a0e653adc28f1be88f718eac3 (diff) |
ux500: add pl310 prefetch control
As prefetch control is secure, this module uses TEE driver to open a session
with Trustzone. Then adds functions to outer_cache for controlling L2 cache
prefetching.
ST-Ericsson ID: ER337734
Change-Id: I8208769b365eccc22e1599bd4bc4c65f74fc1de3
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22902
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/Kconfig')
-rw-r--r-- | arch/arm/mach-ux500/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 0cc08766115..e3c8ee7642b 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig @@ -103,5 +103,14 @@ config UX500_DEBUG_NO_LAUTERBACH Disable clocks needed for Lauterbach debugging at boot. If yes, you will reduce the power consumption. +config UX500_L2X0_PREFETCH_CTRL + bool "PL310 prefetch control" + depends on (UX500_SOC_DB8500 || UX500_SOC_DB5500) && \ + (TEE_UX500 && CACHE_L2X0) + default y + help + Adds interface to control instruction and data prefetch. + Communication with Trustzone is done through TEE driver. + source "arch/arm/mach-ux500/Kconfig-arch" endif |