diff options
author | Bartlomiej Sieka <tur@semihalf.com> | 2006-02-24 09:37:22 +0100 |
---|---|---|
committer | Bartlomiej Sieka <tur@pollux.(none)> | 2006-02-24 09:37:22 +0100 |
commit | 038ccac511214b062c56f22b9413f784b86bcd87 (patch) | |
tree | 9925a8bb04e791550c76e864c5821b12fc478e2e /include/asm-arm | |
parent | 84e106c09d324e345f335d2edef246d0b4c9131a (diff) | |
parent | 8e9655f863246db60c51140153186acc2afdc855 (diff) |
Merge with /home/wd/git/u-boot/testing-NAND/ to add new NAND handling.
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/io.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-arm/io.h b/include/asm-arm/io.h index c2b69fb2dd9..648a10dd923 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. |