summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-zynq/common.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-03-20 11:11:43 +0100
committerMichal Simek <michal.simek@xilinx.com>2013-04-04 09:22:28 +0200
commit732078c369f0b6ad9fe75c1faff721e91260bc5d (patch)
treef89298d77dd4369df13d67c84da097b750bf82c1 /arch/arm/mach-zynq/common.h
parentarm: zynq: Move timer to generic location (diff)
downloadlinux-732078c369f0b6ad9fe75c1faff721e91260bc5d.tar.xz
linux-732078c369f0b6ad9fe75c1faff721e91260bc5d.zip
arm: zynq: Load scu baseaddress at run time
Use Cortex a9 cp15 to read scu baseaddress. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynq/common.h')
-rw-r--r--arch/arm/mach-zynq/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-zynq/common.h b/arch/arm/mach-zynq/common.h
index 5050bb10bb12..d7164d50cffe 100644
--- a/arch/arm/mach-zynq/common.h
+++ b/arch/arm/mach-zynq/common.h
@@ -17,4 +17,6 @@
#ifndef __MACH_ZYNQ_COMMON_H__
#define __MACH_ZYNQ_COMMON_H__
+extern void __iomem *zynq_scu_base;
+
#endif