]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/asm-arm/io.h
Update of new NAND code
[people/ms/u-boot.git] / include / asm-arm / io.h
index c2b69fb2dd92ac1d1ddc5ded23dc820c45e45a91..648a10dd92368745e2529c73fb0ff12604ac451e 100644 (file)
@@ -58,6 +58,14 @@ extern void __raw_readsl(unsigned int addr, void *data, int longlen);
 #define __raw_readw(a)                 __arch_getw(a)
 #define __raw_readl(a)                 __arch_getl(a)
 
+#define writeb(v,a)                    __arch_putb(v,a)
+#define writew(v,a)                    __arch_putw(v,a)
+#define writel(v,a)                    __arch_putl(v,a)
+
+#define readb(a)                       __arch_getb(a)
+#define readw(a)                       __arch_getw(a)
+#define readl(a)                       __arch_getl(a)
+
 /*
  * The compiler seems to be incapable of optimising constants
  * properly.  Spell it out to the compiler in some cases.