summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2/include/mach/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-prima2/include/mach/map.h')
-rw-r--r--arch/arm/mach-prima2/include/mach/map.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-prima2/include/mach/map.h b/arch/arm/mach-prima2/include/mach/map.h
new file mode 100644
index 00000000000..6f243532570
--- /dev/null
+++ b/arch/arm/mach-prima2/include/mach/map.h
@@ -0,0 +1,18 @@
+/*
+ * memory & I/O static mapping definitions for CSR SiRFprimaII
+ *
+ * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
+ *
+ * Licensed under GPLv2 or later.
+ */
+
+#ifndef __MACH_PRIMA2_MAP_H__
+#define __MACH_PRIMA2_MAP_H__
+
+#include <linux/const.h>
+
+#define SIRFSOC_VA_BASE _AC(0xFEC00000, UL)
+
+#define SIRFSOC_VA(x) (SIRFSOC_VA_BASE + ((x) & 0x00FFF000))
+
+#endif