summaryrefslogtreecommitdiffstats
path: root/drivers/net/fec_imx27.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fec_imx27.c')
-rw-r--r--drivers/net/fec_imx27.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/fec_imx27.c b/drivers/net/fec_imx27.c
index 6c5e17a896..e4a9bc9e63 100644
--- a/drivers/net/fec_imx27.c
+++ b/drivers/net/fec_imx27.c
@@ -568,8 +568,9 @@ int fec_probe(struct device_d *dev)
struct eth_device *edev;
fec_priv *fec;
uint32_t base;
-
+#ifdef CONFIG_ARCH_IMX27
PCCR0 |= PCCR0_FEC_EN;
+#endif
edev = (struct eth_device *)malloc(sizeof(struct eth_device));
dev->type_data = edev;
fec = (fec_priv*)malloc(sizeof(*fec));