]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - board/gumstix/pepper/board.c
env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr()
[thirdparty/u-boot.git] / board / gumstix / pepper / board.c
index 7e8b014e3d9a9b41b308857dad985f5d08d4de9f..bfc5fd1c46393a93ca33ff0d02b2bee8e9889aa9 100644 (file)
@@ -239,7 +239,7 @@ int board_eth_init(bd_t *bis)
        uint32_t mac_hi, mac_lo;
        const char *devname;
 
-       if (!eth_getenv_enetaddr("ethaddr", mac_addr)) {
+       if (!eth_env_get_enetaddr("ethaddr", mac_addr)) {
                /* try reading mac address from efuse */
                mac_lo = readl(&cdev->macid0l);
                mac_hi = readl(&cdev->macid0h);