]> git.sur5r.net Git - u-boot/blobdiff - include/ioports.h
Add NAND FLASH support for AMCC Bamboo 440EP eval board
[u-boot] / include / ioports.h
index eba9aee0dd660c136eb1bde568ee50d41d215001..d7e19e195bb8b8fa60a58b3c299340412ee69e9d 100644 (file)
@@ -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))