microblaze: Define read/write{b,w,l}_relaxed MMIO
authorMichal Simek <michal.simek@xilinx.com>
Wed, 20 Nov 2013 12:59:40 +0000 (13:59 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 27 Jan 2014 10:26:32 +0000 (11:26 +0100)
More and more ARM specific drivers is using MMIO
readX/writeX_relaxed IO functions and Microblaze can
shared some drivers with ARM too.

This patch adds relaxed IO accessor macros
to prevent compilation failures.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/io.h

index 2565cb94f32f0857bb4d925527c2ee9c77c7ea89..a2cea72060777a5df8fd1065f80e627d56a29787 100644 (file)
@@ -342,4 +342,12 @@ static inline void outsl(unsigned long addr, const void *buffer, int count)
 #define iowrite32_rep(p, src, count) \
        outsl((unsigned long) (p), (src), (count))
 
+#define readb_relaxed  readb
+#define readw_relaxed  readw
+#define readl_relaxed  readl
+
+#define writeb_relaxed writeb
+#define writew_relaxed writew
+#define writel_relaxed writel
+
 #endif /* _ASM_MICROBLAZE_IO_H */