diff options
author | wdenk <wdenk> | 2005-01-09 23:16:25 (GMT) |
---|---|---|
committer | wdenk <wdenk> | 2005-01-09 23:16:25 (GMT) |
commit | 8ed9604613398660f9ee855060661da8809d4045 (patch) | |
tree | 7901e427798e0d09ad53038d7b6112e10556ceae /include/asm-arm/io.h | |
parent | ff36fd8591776405eeb3a086ba1136bf1ece2ffb (diff) | |
download | u-boot-8ed9604613398660f9ee855060661da8809d4045.tar.xz |
* Patches by Richard Woodruff, 01 Oct 2004:
add support for the TI OMAP2420 processor and its H4 reference
board
* Patch by Christian Pellegrin, 24 Sep 2004:
Added support for NE2000 compatible (DP8390, DP83902) NICs.
Diffstat (limited to 'include/asm-arm/io.h')
-rw-r--r-- | include/asm-arm/io.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-arm/io.h b/include/asm-arm/io.h index 0f38e10..c2b69fb 100644 --- a/include/asm-arm/io.h +++ b/include/asm-arm/io.h @@ -35,10 +35,12 @@ * to the architecture specific code. */ #define __arch_getb(a) (*(volatile unsigned char *)(a)) -#define __arch_getl(a) (*(volatile unsigned int *)(a)) +#define __arch_getw(a) (*(volatile unsigned short *)(a)) +#define __arch_getl(a) (*(volatile unsigned int *)(a)) #define __arch_putb(v,a) (*(volatile unsigned char *)(a) = (v)) -#define __arch_putl(v,a) (*(volatile unsigned int *)(a) = (v)) +#define __arch_putw(v,a) (*(volatile unsigned short *)(a) = (v)) +#define __arch_putl(v,a) (*(volatile unsigned int *)(a) = (v)) extern void __raw_writesb(unsigned int addr, const void *data, int bytelen); extern void __raw_writesw(unsigned int addr, const void *data, int wordlen); |