]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/keymile/kmp204x/kmp204x.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / board / keymile / kmp204x / kmp204x.c
index 095e467ac0b3f285938e39837c42700a8af98b23..671bddfa1cdf309867d7cb36a029d8200cb86c46 100644 (file)
@@ -239,7 +239,7 @@ void fdt_fixup_fman_mac_addresses(void *blob)
        unsigned char mac_addr[6];
 
        /* get the mac addr from env */
-       tmp = getenv("ethaddr");
+       tmp = env_get("ethaddr");
        if (!tmp) {
                printf("ethaddr env variable not defined\n");
                return;