]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ti/beagle_x15/board.c
net: cosmetic: Name ethaddr variables consistently
[karo-tx-uboot.git] / board / ti / beagle_x15 / board.c
index ac0d22c9ed6f612291fb31b08909645e7b55666f..ffcd53185bf270d0faeb133f9c83054231254379 100644 (file)
@@ -356,7 +356,7 @@ int board_eth_init(bd_t *bis)
        if (!getenv("ethaddr")) {
                printf("<ethaddr> not set. Validating first E-fuse MAC\n");
 
-               if (is_valid_ether_addr(mac_addr))
+               if (is_valid_ethaddr(mac_addr))
                        eth_setenv_enetaddr("ethaddr", mac_addr);
        }
 
@@ -370,7 +370,7 @@ int board_eth_init(bd_t *bis)
        mac_addr[5] = mac_lo & 0xFF;
 
        if (!getenv("eth1addr")) {
-               if (is_valid_ether_addr(mac_addr))
+               if (is_valid_ethaddr(mac_addr))
                        eth_setenv_enetaddr("eth1addr", mac_addr);
        }