diff options
Diffstat (limited to 'board/silica/pengwyn/board.c')
-rw-r--r-- | board/silica/pengwyn/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/silica/pengwyn/board.c b/board/silica/pengwyn/board.c index 057691b0452..0429e6f0c7f 100644 --- a/board/silica/pengwyn/board.c +++ b/board/silica/pengwyn/board.c @@ -171,7 +171,7 @@ int board_eth_init(bd_t *bis) uint8_t mac_addr[6]; uint32_t mac_hi, mac_lo; - if (!eth_getenv_enetaddr("ethaddr", mac_addr)) { + if (!eth_env_get_enetaddr("ethaddr", mac_addr)) { printf("<ethaddr> not set. Reading from E-fuse\n"); /* try reading mac address from efuse */ mac_lo = readl(&cdev->macid0l); |