summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-tcc
diff options
context:
space:
mode:
authorHans J. Koch <hjk@linutronix.de>2010-09-17 18:18:57 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-09-17 21:55:08 +0200
commit8a41fa3b3c89e5bd3c69219ddeee268bdcce886c (patch)
tree48d063a8f9d65d016a209e3c546181b378cda659 /arch/arm/plat-tcc
parent3de7b517dfacf1deb0690dbac28f917643e49975 (diff)
downloadop-kernel-dev-8a41fa3b3c89e5bd3c69219ddeee268bdcce886c.zip
op-kernel-dev-8a41fa3b3c89e5bd3c69219ddeee268bdcce886c.tar.gz
ARM: Basic IO mappings for mach-tcc8k
Map the IO ranges of TCC8xxx peripherals. Signed-off-by: "Hans J. Koch" <hjk@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm/plat-tcc')
-rw-r--r--arch/arm/plat-tcc/include/mach/io.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/plat-tcc/include/mach/io.h b/arch/arm/plat-tcc/include/mach/io.h
new file mode 100644
index 0000000..3e911d3
--- /dev/null
+++ b/arch/arm/plat-tcc/include/mach/io.h
@@ -0,0 +1,23 @@
+/*
+ * IO definitions for TCC8000 processors and boards
+ *
+ * Copyright (C) 1997-1999 Russell King
+ * Copyright (C) 2008-2009 Telechips
+ * Copyright (C) 2010 Hans J. Koch <hjk@linutronix.de>
+ *
+ * Licensed under the terms of the GNU Public License version 2.
+ */
+
+#ifndef __ASM_ARM_ARCH_IO_H
+#define __ASM_ARM_ARCH_IO_H
+
+#define IO_SPACE_LIMIT 0xffffffff
+
+/*
+ * We don't actually have real ISA nor PCI buses, but there is so many
+ * drivers out there that might just work if we fake them...
+ */
+#define __io(a) __typesafe_io(a)
+#define __mem_pci(a) (a)
+
+#endif
OpenPOWER on IntegriCloud