aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/vexpress/Kconfig
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2012-11-19 12:01:20 +0000
committerJon Medhurst <tixy@linaro.org>2013-04-29 09:43:11 +0100
commit9ed7d1a299474c62124c5478f70f86c525914cf1 (patch)
treedce3427fcfa43c30a1d4a9fd3f0a23e52ebb05ad /drivers/misc/vexpress/Kconfig
parent0cb6b75d8bd32750432a9c2ac544321b3fa2d894 (diff)
downloadvexpress-lsk-9ed7d1a299474c62124c5478f70f86c525914cf1.tar.gz
ARM: TC2: ensure powerdown-time data is flushed from cache
Non-local variables used by the CCI and SPC management functions called by tc2_pm_power_down() after disabling the cache must be flushed out to main memory in advance, otherwise incoherency of those values may occur if they are sitting in the cache of some other CPU when tc2_pm_power_down() executes. This patch adds the appropriate flushing to the CCI and SPC drivers to ensure that the relevant data is available in RAM ahead of time. Because this creates a dependency on arch-specific cacheflushing functions, this patch also makes ARM_CCI and ARM_SPC depend on ARM (pending a proper tidyup of those drivers). Signed-off-by: Dave Martin <dave.martin@linaro.org>
Diffstat (limited to 'drivers/misc/vexpress/Kconfig')
-rw-r--r--drivers/misc/vexpress/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/vexpress/Kconfig b/drivers/misc/vexpress/Kconfig
index 8fb52f640bf..3e2676ae6ee 100644
--- a/drivers/misc/vexpress/Kconfig
+++ b/drivers/misc/vexpress/Kconfig
@@ -1,2 +1,3 @@
config ARM_SPC
bool "ARM SPC driver support"
+ depends on ARM