]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/bosch/shc/board.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / board / bosch / shc / board.c
index b4c6a0b45d35a71fd1a363aaa23014f125db3e84..999ed95c31d95a804fc57f8222be81d1938c1e59 100644 (file)
@@ -545,7 +545,7 @@ int board_eth_init(bd_t *bis)
 
 #if (defined(CONFIG_DRIVER_TI_CPSW) && !defined(CONFIG_SPL_BUILD)) || \
        (defined(CONFIG_SPL_ETH_SUPPORT) && defined(CONFIG_SPL_BUILD))
-       if (!getenv("ethaddr")) {
+       if (!env_get("ethaddr")) {
                printf("<ethaddr> not set. Validating first E-fuse MAC\n");
 
                if (is_valid_ethaddr(mac_addr))