rk: plat: add io.h
author黄涛 <huangtao@rock-chips.com>
Tue, 3 Jul 2012 02:40:29 +0000 (10:40 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 3 Jul 2012 02:40:52 +0000 (10:40 +0800)
arch/arm/mach-rk30/include/mach/io.h
arch/arm/plat-rk/include/plat/io.h [new file with mode: 0644]

index 0e6d8652c66c27ea1ccf867e3913fc9b8a9a0b0c..c50f9dec074d04e4696ad2091a08c1a2558c3c21 100644 (file)
@@ -1,16 +1,7 @@
 #ifndef __MACH_IO_H
 #define __MACH_IO_H
 
-#define IO_SPACE_LIMIT 0xffffffff
-
-#define __io(a)                __typesafe_io(a)
-#define __mem_pci(a)   (a)
-
-#ifdef __ASSEMBLER__
-#define IOMEM(x)       (x)
-#else
-#define IOMEM(x)       ((void __force __iomem *)(x))
-#endif
+#include <plat/io.h>
 
 /*
  * RK30 IO memory map:
diff --git a/arch/arm/plat-rk/include/plat/io.h b/arch/arm/plat-rk/include/plat/io.h
new file mode 100644 (file)
index 0000000..b48bc42
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef __PLAT_IO_H
+#define __PLAT_IO_H
+
+#define IO_SPACE_LIMIT 0xffffffff
+
+#define __io(a)                __typesafe_io(a)
+#define __mem_pci(a)   (a)
+
+#ifdef __ASSEMBLER__
+#define IOMEM(x)       (x)
+#else
+#define IOMEM(x)       ((void __force __iomem *)(x))
+#endif
+
+#endif