summaryrefslogtreecommitdiff
path: root/include/asm-arm/io.h
diff options
context:
space:
mode:
authorMarkus Klotzbücher <mk@pollux.(none)>2006-02-24 14:16:31 +0100
committerMarkus Klotzbücher <mk@pollux.(none)>2006-02-24 14:16:31 +0100
commit0377dca227cc883bbaacbe1c442cef5bd6b0e121 (patch)
tree6c11795538a28ebd3ddb2389510e91d80c6ef1eb /include/asm-arm/io.h
parent7d4d1ce48c849ec5a7e034fd4bc4d0e624075e7b (diff)
parent038ccac511214b062c56f22b9413f784b86bcd87 (diff)
downloadu-boot-imx-0377dca227cc883bbaacbe1c442cef5bd6b0e121.zip
u-boot-imx-0377dca227cc883bbaacbe1c442cef5bd6b0e121.tar.gz
u-boot-imx-0377dca227cc883bbaacbe1c442cef5bd6b0e121.tar.bz2
Merge /home/tur/nand/u-boot/
This is a first version of the testing-NAND branch merged back to main.
Diffstat (limited to 'include/asm-arm/io.h')
-rw-r--r--include/asm-arm/io.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-arm/io.h b/include/asm-arm/io.h
index c2b69fb..648a10d 100644
--- a/include/asm-arm/io.h
+++ b/include/asm-arm/io.h
@@ -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.