io: Add support of iowrite32_rep()

This adds support of iowrite32_rep() function.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h
index 7a2f0db..bc3ec2c 100644
--- a/include/asm-generic/io.h
+++ b/include/asm-generic/io.h
@@ -105,5 +105,24 @@
 }
 #endif
 
+#ifndef ioread32_rep
+#define ioread32_rep ioread32_rep
+static inline void ioread32_rep(const volatile void __iomem *addr,
+                                void *buffer, unsigned int count)
+{
+        readsl(addr, buffer, count);
+}
+#endif
+
+#ifndef iowrite32_rep
+#define iowrite32_rep iowrite32_rep
+static inline void iowrite32_rep(volatile void __iomem *addr,
+                                 const void *buffer,
+                                 unsigned int count)
+{
+        writesl(addr, buffer, count);
+}
+#endif
+
 #endif /* !__ASSEMBLY__ */
 #endif /* __ASM_GENERIC_IO_H__ */