]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/imx-common/cpu.c
arm: imx: prevent build error when CONFIG_FEC_MXC_PHYADDR is undefined
[karo-tx-uboot.git] / arch / arm / imx-common / cpu.c
index 496d1b207e8531bfff759dabef29c75e68e3cbf5..caa6ef6296159769574b4568cee28e479d2d742d 100644 (file)
@@ -219,7 +219,7 @@ int cpu_eth_init(bd_t *bis)
 {
        int rc = -ENODEV;
 
-#if defined(CONFIG_FEC_MXC)
+#if defined(CONFIG_FEC_MXC) && defined(CONFIG_FEC_MXC_PHYADDR)
        rc = fecmxc_initialize(bis);
 #endif