diff options
author | Reinhard Meyer <u-boot@emk-elektronik.de> | 2010-11-03 15:38:33 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-05-18 07:56:51 +0200 |
commit | 83f1072e06d4e3b9eaceed39799042c7b3bbdbb1 (patch) | |
tree | 6e125654946cfb6546973a2b9b4ea98f4a6c2986 /arch/arm/include/asm/arch-at91/io.h | |
parent | 405e5919f28ab0a6955b74dd8123331a5d4c4ab1 (diff) |
AT91: fix related arch-at91 header files
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
Diffstat (limited to 'arch/arm/include/asm/arch-at91/io.h')
-rw-r--r-- | arch/arm/include/asm/arch-at91/io.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-at91/io.h b/arch/arm/include/asm/arch-at91/io.h index 38d185eb7c..d0daa4ece5 100644 --- a/arch/arm/include/asm/arch-at91/io.h +++ b/arch/arm/include/asm/arch-at91/io.h @@ -27,14 +27,14 @@ static inline unsigned int at91_sys_read(unsigned int reg_offset) { - void *addr = (void *)AT91_BASE_SYS; + void *addr = (void *)ATMEL_BASE_SYS; return __raw_readl(addr + reg_offset); } static inline void at91_sys_write(unsigned int reg_offset, unsigned long value) { - void *addr = (void *)AT91_BASE_SYS; + void *addr = (void *)ATMEL_BASE_SYS; __raw_writel(value, addr + reg_offset); } |