summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2/common.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-19 17:45:37 +0100
committerArnd Bergmann <arnd@arndb.de>2013-03-25 12:29:42 +0100
commitcf82e0e40525d3525445ada6569525cc44aad46f (patch)
tree4b6042576fc138698fddf22c9750265c3e98cb87 /arch/arm/mach-prima2/common.h
parent275786b71d42bb54c03c15197128d7cb05d4dd8b (diff)
downloadop-kernel-dev-cf82e0e40525d3525445ada6569525cc44aad46f.zip
op-kernel-dev-cf82e0e40525d3525445ada6569525cc44aad46f.tar.gz
ARM: sirf: enable multiplatform support
All the prerequisites are there now, so we can move sirf into multiplatform. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-prima2/common.h')
-rw-r--r--arch/arm/mach-prima2/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-prima2/common.h b/arch/arm/mach-prima2/common.h
index 54262cf..81135cd 100644
--- a/arch/arm/mach-prima2/common.h
+++ b/arch/arm/mach-prima2/common.h
@@ -13,6 +13,9 @@
#include <asm/mach/time.h>
#include <asm/exception.h>
+#define SIRFSOC_VA_BASE _AC(0xFEC00000, UL)
+#define SIRFSOC_VA(x) (SIRFSOC_VA_BASE + ((x) & 0x00FFF000))
+
extern struct smp_operations sirfsoc_smp_ops;
extern void sirfsoc_secondary_startup(void);
extern void sirfsoc_cpu_die(unsigned int cpu);
OpenPOWER on IntegriCloud