diff options
author | Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> | 2011-05-04 11:10:23 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 15:15:23 +0200 |
commit | 12a4bf8c4d2c49039d287d5dee6060cb50d3c72e (patch) | |
tree | d5afd34c5303228434a55f621a148e2db235e4e2 /arch/arm/mach-ux500/Kconfig | |
parent | 56fb228b6e58837aec76c445a28865cd604d9183 (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 443ceba6357..cd835ecc219 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig @@ -159,6 +159,15 @@ 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" source "arch/arm/mach-ux500/pm/Kconfig" endif |