summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-footbridge/include/mach/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-footbridge/include/mach/io.h')
-rw-r--r--arch/arm/mach-footbridge/include/mach/io.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-footbridge/include/mach/io.h b/arch/arm/mach-footbridge/include/mach/io.h
new file mode 100644
index 000000000..4e18b9213
--- /dev/null
+++ b/arch/arm/mach-footbridge/include/mach/io.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * arch/arm/mach-footbridge/include/mach/io.h
+ *
+ * Copyright (C) 1997-1999 Russell King
+ *
+ * Modifications:
+ * 06-12-1997 RMK Created.
+ * 07-04-1999 RMK Major cleanup
+ */
+#ifndef __ASM_ARM_ARCH_IO_H
+#define __ASM_ARM_ARCH_IO_H
+
+/*
+ * Translation of various i/o addresses to host addresses for !CONFIG_MMU
+ */
+#define PCIO_BASE 0x7c000000
+#define __io(a) ((void __iomem *)(PCIO_BASE + (a)))
+
+#endif