]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/fec_mxc.c
net: dc2114x: Add initialized eth_device structure
[u-boot] / drivers / net / fec_mxc.c
index 2d4ffed4fa67b246744073fd50aac70b656037f6..3f09c2b65263c324c5bc3d2cd14bd21ce45641e0 100644 (file)
@@ -414,6 +414,9 @@ static int fec_init(struct eth_device *dev, bd_t* bd)
        uint32_t base;
        struct fec_priv *fec = (struct fec_priv *)dev->priv;
 
+       /* Initialize MAC address */
+       fec_set_hwaddr(dev);
+
        /*
         * reserve memory for both buffer descriptor chains at once
         * Datasheet forces the startaddress of each chain is 16 byte