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/pio2.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/pio2.h')
-rw-r--r-- | cpu/at32ap/pio2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpu/at32ap/pio2.h b/cpu/at32ap/pio2.h index 6b79de3..9719ea8 100644 --- a/cpu/at32ap/pio2.h +++ b/cpu/at32ap/pio2.h @@ -36,9 +36,9 @@ #define PIO2_OWSR 0x00a8 /* Register access macros */ -#define pio2_readl(port,reg) \ - readl((port)->regs + PIO2_##reg) -#define pio2_writel(port,reg,value) \ - writel((value), (port)->regs + PIO2_##reg) +#define pio2_readl(base,reg) \ + readl((void *)base + PIO2_##reg) +#define pio2_writel(base,reg,value) \ + writel((value), (void *)base + PIO2_##reg) #endif /* __CPU_AT32AP_PIO2_H__ */ |