]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/ppmc8260.h
Update all board to support new bbmiiphy driver (with multibus support)
[karo-tx-uboot.git] / include / configs / ppmc8260.h
index ff7d61439bb6a04ebe69f522573f9a2d7065c4c1..f387601861f80579111f4af8a09598141c53b830 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)