net, qe: add DM support for QE UEC ethernet
[pandora-u-boot.git] / drivers / qe / uccf.c
index 306f1ea..d5d7344 100644 (file)
@@ -14,6 +14,7 @@
 #include "uccf.h"
 #include <fsl_qe.h>
 
+#if !defined(CONFIG_DM_ETH)
 void ucc_fast_transmit_on_demand(struct ucc_fast_priv *uccf)
 {
        out_be16(&uccf->uf_regs->utodr, UCC_FAST_TOD);
@@ -505,3 +506,4 @@ int ucc_fast_init(struct ucc_fast_inf *uf_info,
        *uccf_ret = uccf;
        return 0;
 }
+#endif