diff options
author | Wolfgang Denk <wd@denx.de> | 2007-04-18 16:53:52 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-04-18 16:53:52 +0200 |
commit | b99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a (patch) | |
tree | 2ba585aa362b4fc2859ead56014b39f74586662d /cpu/at32ap/hsdramc1.h | |
parent | 5f6c732affea9647762d27a4617a2ae64c52dceb (diff) | |
parent | 8e6875183cdca91c134408d119d4abcd48ef6856 (diff) | |
download | u-boot-imx-b99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a.zip u-boot-imx-b99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a.tar.gz u-boot-imx-b99c1e6d8eec327c4b4dd99bf4c0d1a1eba2ce0a.tar.bz2 |
Merge with /home/wd/git/u-boot/custodian/u-boot-avr32; code cleanup.
Diffstat (limited to 'cpu/at32ap/hsdramc1.h')
-rw-r--r-- | cpu/at32ap/hsdramc1.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpu/at32ap/hsdramc1.h b/cpu/at32ap/hsdramc1.h index ce229bc..305d2cb 100644 --- a/cpu/at32ap/hsdramc1.h +++ b/cpu/at32ap/hsdramc1.h @@ -135,9 +135,9 @@ | HSDRAMC1_BF(name,value)) /* Register access macros */ -#define hsdramc1_readl(port,reg) \ - readl((port)->regs + HSDRAMC1_##reg) -#define hsdramc1_writel(port,reg,value) \ - writel((value), (port)->regs + HSDRAMC1_##reg) +#define hsdramc1_readl(reg) \ + readl((void *)HSDRAMC_BASE + HSDRAMC1_##reg) +#define hsdramc1_writel(reg,value) \ + writel((value), (void *)HSDRAMC_BASE + HSDRAMC1_##reg) #endif /* __ASM_AVR32_HSDRAMC1_H__ */ |