diff options
author | Andreas Bießmann <biessmann@corscience.de> | 2010-11-04 23:15:31 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-05-18 07:56:50 +0200 |
commit | f4278b716c2925b4dcf18b94f0ff932d4736cd5d (patch) | |
tree | 53068e409b65794be28d2fa4deb6ef959b632de0 /arch/avr32/cpu/at32ap700x/sm.h | |
parent | 5d73bc7af75b004d4eb343572e3ff5bc5727a048 (diff) | |
download | u-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.h | 4 |
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__ */ |