]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/cadence/xtfpga/xtfpga.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / board / cadence / xtfpga / xtfpga.c
index 83244c3ad4195e5b00385bbde94d7cb9ba6b1538..f81fa95c18ae9b9e8b4ea43e8ac1f359ba3b045d 100644 (file)
@@ -86,7 +86,7 @@ int misc_init_r(void)
         * Default MAC address comes from CONFIG_ETHADDR + DIP switches 1-6.
         */
 
-       char *s = getenv("ethaddr");
+       char *s = env_get("ethaddr");
        if (s == 0) {
                unsigned int x;
                char s[] = __stringify(CONFIG_ETHBASE);