summaryrefslogtreecommitdiff
path: root/include/ioports.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-05 20:03:38 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-05 20:03:38 +0200
commitb4f15fdaf77b7339e2984703c83269c7cdf680a9 (patch)
tree32bb3b65d98a229aead643ae11ef2dc433146411 /include/ioports.h
parentb20d00328c5486a4b2cdf07ce7afaf2139dc741e (diff)
parent07a2505f67e091ff70506ae6a5022b416211df44 (diff)
Merge with /home/wd/git/u-boot/jon_loeliger
Diffstat (limited to 'include/ioports.h')
-rw-r--r--include/ioports.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ioports.h b/include/ioports.h
index eba9aee0dd..d7e19e195b 100644
--- a/include/ioports.h
+++ b/include/ioports.h
@@ -25,7 +25,7 @@ typedef struct {
* the internal memory map aligns the above structure on
* a 0x20 byte boundary
*/
-#ifdef CONFIG_MPC8560
+#ifdef CONFIG_MPC85xx
#define ioport_addr(im, idx) (ioport_t *)((uint)&((im)->im_cpm.im_cpm_iop) + ((idx)*0x20))
#else
#define ioport_addr(im, idx) (ioport_t *)((uint)&(im)->im_ioport + ((idx)*0x20))