summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-highbank/core.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-06-06 17:20:10 -0500
committerOlof Johansson <olof@lixom.net>2012-06-07 22:39:43 -0700
commit8e56130dcbcc0608c2531c61f93175e36a300e58 (patch)
treebbeccbf47c6f4fc0f727b14b6954b536aa00f47b /arch/arm/mach-highbank/core.h
parent6f4b3bf5dc0edb5b08d96486f35f5cbc24b72c40 (diff)
downloadop-kernel-dev-8e56130dcbcc0608c2531c61f93175e36a300e58.zip
op-kernel-dev-8e56130dcbcc0608c2531c61f93175e36a300e58.tar.gz
ARM: highbank: Add smc calls to enable/disable the L2
Linux runs in non-secure mode on highbank, so we need secure monitor calls to enable and disable the PL310. Rather than invent new smc calls, the same calling convention used by OMAP is used here. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-highbank/core.h')
-rw-r--r--arch/arm/mach-highbank/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-highbank/core.h b/arch/arm/mach-highbank/core.h
index d8e2d0b..141ed51 100644
--- a/arch/arm/mach-highbank/core.h
+++ b/arch/arm/mach-highbank/core.h
@@ -8,3 +8,4 @@ extern void highbank_lluart_map_io(void);
static inline void highbank_lluart_map_io(void) {}
#endif
+extern void highbank_smc1(int fn, int arg);
OpenPOWER on IntegriCloud