diff options
author | Stefan Roese <sr@denx.de> | 2007-02-21 13:44:34 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-02-21 13:44:34 +0100 |
commit | da04995c7dc6772013a9a0dc5c767f190c402478 (patch) | |
tree | 6e95f0f02bf866d0f5d9482573ce5f1b736f2e71 /drivers | |
parent | eb41db6d22cbaec87bd33aea8dc014614da42235 (diff) | |
download | u-boot-imx-da04995c7dc6772013a9a0dc5c767f190c402478.zip u-boot-imx-da04995c7dc6772013a9a0dc5c767f190c402478.tar.gz u-boot-imx-da04995c7dc6772013a9a0dc5c767f190c402478.tar.bz2 |
[PATCH] Fix problem in systemace driver (ace_writew instead of ace_write)
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/systemace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/systemace.c b/drivers/systemace.c index 3bd2ea9..1d1be12 100644 --- a/drivers/systemace.c +++ b/drivers/systemace.c @@ -57,13 +57,13 @@ #if !defined(__BIG_ENDIAN) #define ace_readw(off) ((readb(CFG_SYSTEMACE_BASE+off)<<8) | \ (readb(CFG_SYSTEMACE_BASE+off+1))) -#define ace_write(val, off) {writeb(val>>8, CFG_SYSTEMACE_BASE+off); \ - writeb(val, CFG_SYSTEMACE_BASE+off+1);} +#define ace_writew(val, off) {writeb(val>>8, CFG_SYSTEMACE_BASE+off); \ + writeb(val, CFG_SYSTEMACE_BASE+off+1);} #else #define ace_readw(off) ((readb(CFG_SYSTEMACE_BASE+off)) | \ (readb(CFG_SYSTEMACE_BASE+off+1)<<8)) -#define ace_write(val, off) {writeb(val, CFG_SYSTEMACE_BASE+off); \ - writeb(val>>8, CFG_SYSTEMACE_BASE+off+1);} +#define ace_writew(val, off) {writeb(val, CFG_SYSTEMACE_BASE+off); \ + writeb(val>>8, CFG_SYSTEMACE_BASE+off+1);} #endif #else #define ace_readw(off) (in16(CFG_SYSTEMACE_BASE+off)) |