]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/gw8260.h
Update all board to support new bbmiiphy driver (with multibus support)
[karo-tx-uboot.git] / include / configs / gw8260.h
index 53a001d21192417f40628310d500cb2e5d3ff0b4..9ed38463cd81de4906bccefced46cd973f639f78 100644 (file)
  * Port pins used for bit-banged MII communictions (if applicable).
  */
 #define MDIO_PORT   2       /* Port C */
+
+#define MDIO_DECLARE   volatile ioport_t *iop = ioport_addr ( \
+                               (immap_t *) CONFIG_SYS_IMMR, MDIO_PORT )
+#define MDC_DECLARE    MDIO_DECLARE
+
 #define MDIO_ACTIVE    (iop->pdir |=  0x00400000)
 #define MDIO_TRISTATE  (iop->pdir &= ~0x00400000)
 #define MDIO_READ     ((iop->pdat &  0x00400000) != 0)