]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/net/s3c4510b_eth.c
SAMSUNG: make s5p common gpio functions
[karo-tx-uboot.git] / drivers / net / s3c4510b_eth.c
index 6dcb244861b6210c4a45c93e6888a7c2143ad734..818ed3d34f6413b158a8cccd811040797570f6b0 100644 (file)
@@ -100,7 +100,7 @@ int eth_init(bd_t *bis)
        ETH *eth = &m_eth;
 
        /* store our MAC address */
-       eth->m_mac = bis->bi_enetaddr;
+       eth_getenv_enetaddr("ethaddr", eth->m_mac);
 
        /* setup DBMA and MAC */
        PUT_REG( REG_BDMARXCON, ETH_BRxRS);   /* reset BDMA RX machine */