summaryrefslogtreecommitdiff
path: root/drivers/net/s3c4510b_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/s3c4510b_eth.c')
-rw-r--r--drivers/net/s3c4510b_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/s3c4510b_eth.c b/drivers/net/s3c4510b_eth.c
index 6dcb244..818ed3d 100644
--- a/drivers/net/s3c4510b_eth.c
+++ b/drivers/net/s3c4510b_eth.c
@@ -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 */