]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/fm/p1023.c
powerpc/85xx: add support for FM2 DTSEC5
[u-boot] / drivers / net / fm / p1023.c
index b17dc40b8a8f900fe73ee7386652d1929f447afd..9765da5b2354af0e196e9f40f7b93015619c346d 100644 (file)
@@ -39,6 +39,11 @@ static int is_device_disabled(enum fm_port port)
 void fman_disable_port(enum fm_port port)
 {
        ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
+
+       /* don't allow disabling of DTSEC1 as its needed for MDIO */
+       if (port == FM1_DTSEC1)
+               return;
+
        setbits_be32(&gur->devdisr, port_to_devdisr[port]);
 }