Forráskód Böngészése

[ARM] S3C24XX: Add default <mach/io.h> header

Add a default header for <mach/io.h> for systems
such as the S3C24A0 which do not need any of the
complex code that the S3C2410 uses.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Ben Dooks 16 éve
szülő
commit
2cd493fc10
1 módosított fájl, 18 hozzáadás és 0 törlés
  1. 18 0
      arch/arm/plat-s3c/include/mach/io.h

+ 18 - 0
arch/arm/plat-s3c/include/mach/io.h

@@ -0,0 +1,18 @@
+/* arch/arm/plat-s3c/include/mach/io.h
+ *
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben-linux@fluff.org>
+ *
+ * Default IO routines for plat-s3c based systems, such as S3C24A0
+ */
+
+#ifndef __ASM_ARM_ARCH_IO_H
+#define __ASM_ARM_ARCH_IO_H
+
+/* No current ISA/PCI bus support. */
+#define __io(a)		((void __iomem *)(a))
+#define __mem_pci(a)	(a)
+
+#define IO_SPACE_LIMIT (0xFFFFFFFF)
+
+#endif