summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/common.h
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2014-07-23 15:00:46 +0200
committerJason Cooper <jason@lakedaemon.net>2014-07-24 11:46:40 +0000
commit6a2b5343e23b177e684f97302f30696dfcfe0af4 (patch)
treed493c926ac8ebafd98b3a87194db6d6747016dfa /arch/arm/mach-mvebu/common.h
parent5da964e0fae05fd96a97a0fcc6bc53dad655f61d (diff)
downloadop-kernel-dev-6a2b5343e23b177e684f97302f30696dfcfe0af4.zip
op-kernel-dev-6a2b5343e23b177e684f97302f30696dfcfe0af4.tar.gz
ARM: mvebu: export the SCU address
The SCU address will be needed in other files than board-v7.c, especially in pmsu.c for cpuidle related activities. So this patch adds a function that allows to retrieve the virtual address at which the SCU has been mapped. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Link: https://lkml.kernel.org/r/1406120453-29291-10-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-mvebu/common.h')
-rw-r--r--arch/arm/mach-mvebu/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/common.h b/arch/arm/mach-mvebu/common.h
index a97778e..3ccb40c 100644
--- a/arch/arm/mach-mvebu/common.h
+++ b/arch/arm/mach-mvebu/common.h
@@ -23,4 +23,6 @@ void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr);
void mvebu_system_controller_set_cpu_boot_addr(void *boot_addr);
int mvebu_system_controller_get_soc_id(u32 *dev, u32 *rev);
+void __iomem *mvebu_get_scu_base(void);
+
#endif
OpenPOWER on IntegriCloud