projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avr32: factor out cpu_mmc_init()
[oweals/u-boot.git]
/
arch
/
avr32
/
cpu
/
hsmc3.h
diff --git
a/arch/avr32/cpu/hsmc3.h
b/arch/avr32/cpu/hsmc3.h
index ca533b922edaa22e4d5bafd3a82f3dfa96d7115e..ac472952a29920304b19b6eddb49f15ddb69b7cc 100644
(file)
--- a/
arch/avr32/cpu/hsmc3.h
+++ b/
arch/avr32/cpu/hsmc3.h
@@
-119,8
+119,8
@@
/* Register access macros */
#define hsmc3_readl(reg) \
/* Register access macros */
#define hsmc3_readl(reg) \
- readl((void *)
HSMC_BASE
+ HSMC3_##reg)
+ readl((void *)
ATMEL_BASE_HSMC
+ HSMC3_##reg)
#define hsmc3_writel(reg,value) \
#define hsmc3_writel(reg,value) \
- writel((value), (void *)
HSMC_BASE
+ HSMC3_##reg)
+ writel((value), (void *)
ATMEL_BASE_HSMC
+ HSMC3_##reg)
#endif /* __CPU_AT32AP_HSMC3_H__ */
#endif /* __CPU_AT32AP_HSMC3_H__ */