aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-dove/include/mach/io.h
diff options
context:
space:
mode:
authorSaeed Bishara <saeed@marvell.com>2009-08-06 15:12:43 +0300
committerNicolas Pitre <nico@fluxnic.net>2009-11-27 15:43:06 -0500
commitedabd38e1a017e922e3e3b485ee3ddb4df433aa4 (patch)
treec79cef3e59f62014c12ff1203e84b0bac5610a55 /arch/arm/mach-dove/include/mach/io.h
parent8d27b2f7988b652dbabf79291a3e2550c06e1af5 (diff)
downloadkernel_samsung_smdk4412-edabd38e1a017e922e3e3b485ee3ddb4df433aa4.zip
kernel_samsung_smdk4412-edabd38e1a017e922e3e3b485ee3ddb4df433aa4.tar.gz
kernel_samsung_smdk4412-edabd38e1a017e922e3e3b485ee3ddb4df433aa4.tar.bz2
ARM: add base support for Marvell Dove SoC
The Marvell Dove (88AP510) is a high-performance, highly integrated, low power SoC with high-end ARM-compatible processor (known as PJ4), graphics processing unit, high-definition video decoding acceleration hardware, and a broad range of peripherals. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: Saeed Bishara <saeed@marvell.com> Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-dove/include/mach/io.h')
-rw-r--r--arch/arm/mach-dove/include/mach/io.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-dove/include/mach/io.h b/arch/arm/mach-dove/include/mach/io.h
new file mode 100644
index 0000000..3b3e472
--- /dev/null
+++ b/arch/arm/mach-dove/include/mach/io.h
@@ -0,0 +1,20 @@
+/*
+ * arch/arm/mach-dove/include/mach/io.h
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#ifndef __ASM_ARCH_IO_H
+#define __ASM_ARCH_IO_H
+
+#include "dove.h"
+
+#define IO_SPACE_LIMIT 0xffffffff
+
+#define __io(a) ((void __iomem *)(((a) - DOVE_PCIE0_IO_PHYS_BASE) +\
+ DOVE_PCIE0_IO_VIRT_BASE))
+#define __mem_pci(a) (a)
+
+#endif