net, qe: add DM support for QE UEC ethernet
[pandora-u-boot.git] / drivers / qe / uec.c
index cfd5397..5da971d 100644 (file)
@@ -20,6 +20,7 @@
 #include <fsl_qe.h>
 #include <phy.h>
 
+#if !defined(CONFIG_DM_ETH)
 /* Default UTBIPAR SMI address */
 #ifndef CONFIG_UTBIPAR_INIT_TBIPA
 #define CONFIG_UTBIPAR_INIT_TBIPA 0x1F
@@ -1432,3 +1433,4 @@ int uec_standard_init(struct bd_info *bis)
 {
        return uec_eth_init(bis, uec_info, ARRAY_SIZE(uec_info));
 }
+#endif