summaryrefslogtreecommitdiff
path: root/arch/avr32/cpu/at32ap700x/sm.h
diff options
context:
space:
mode:
authorAndreas Bießmann <biessmann@corscience.de>2010-11-04 23:15:31 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-05-18 07:56:50 +0200
commitf4278b716c2925b4dcf18b94f0ff932d4736cd5d (patch)
tree53068e409b65794be28d2fa4deb6ef959b632de0 /arch/avr32/cpu/at32ap700x/sm.h
parent5d73bc7af75b004d4eb343572e3ff5bc5727a048 (diff)
downloadu-boot-imx-f4278b716c2925b4dcf18b94f0ff932d4736cd5d.zip
u-boot-imx-f4278b716c2925b4dcf18b94f0ff932d4736cd5d.tar.gz
u-boot-imx-f4278b716c2925b4dcf18b94f0ff932d4736cd5d.tar.bz2
avr32: fixup definitions to ATMEL_BASE_xxx
Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
Diffstat (limited to 'arch/avr32/cpu/at32ap700x/sm.h')
-rw-r--r--arch/avr32/cpu/at32ap700x/sm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/avr32/cpu/at32ap700x/sm.h b/arch/avr32/cpu/at32ap700x/sm.h
index b6e4409..9a3804e 100644
--- a/arch/avr32/cpu/at32ap700x/sm.h
+++ b/arch/avr32/cpu/at32ap700x/sm.h
@@ -197,8 +197,8 @@
/* Register access macros */
#define sm_readl(reg) \
- readl((void *)SM_BASE + SM_##reg)
+ readl((void *)ATMEL_BASE_SM + SM_##reg)
#define sm_writel(reg,value) \
- writel((value), (void *)SM_BASE + SM_##reg)
+ writel((value), (void *)ATMEL_BASE_SM + SM_##reg)
#endif /* __CPU_AT32AP_SM_H__ */