diff options
author | Markus Klotzbuecher <mk@denx.de> | 2007-04-23 11:17:22 (GMT) |
---|---|---|
committer | Markus Klotzbuecher <mk@pollux.denx.de> | 2007-04-23 11:17:22 (GMT) |
commit | 61ea75aa07838435ec570ac85a2e3fc038844596 (patch) | |
tree | 20135a513c4c9d0bddb2a8ceaf009a8ed5e8bbdf /cpu/at32ap/hsmc3.h | |
parent | e2fb36a57f364016b973b1db255531e07cfefd52 (diff) | |
parent | 14da5f7675bbb427c469e3f45006e027b6e21db9 (diff) | |
download | u-boot-fsl-qoriq-61ea75aa07838435ec570ac85a2e3fc038844596.tar.xz |
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'cpu/at32ap/hsmc3.h')
-rw-r--r-- | cpu/at32ap/hsmc3.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpu/at32ap/hsmc3.h b/cpu/at32ap/hsmc3.h index ec78cee..ca533b9 100644 --- a/cpu/at32ap/hsmc3.h +++ b/cpu/at32ap/hsmc3.h @@ -118,9 +118,9 @@ | HSMC3_BF(name,value)) /* Register access macros */ -#define hsmc3_readl(port,reg) \ - readl((port)->regs + HSMC3_##reg) -#define hsmc3_writel(port,reg,value) \ - writel((value), (port)->regs + HSMC3_##reg) +#define hsmc3_readl(reg) \ + readl((void *)HSMC_BASE + HSMC3_##reg) +#define hsmc3_writel(reg,value) \ + writel((value), (void *)HSMC_BASE + HSMC3_##reg) #endif /* __CPU_AT32AP_HSMC3_H__ */ |