]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/keymile/common/ivm.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / board / keymile / common / ivm.c
index dc40a83fc08c247915196a344f1895b0a9739ae1..f1321d9899f84e63dc05faf91ad6d03523c5d792 100644 (file)
@@ -261,7 +261,7 @@ int ivm_analyze_eeprom(unsigned char *buf, int len)
 
        GET_STRING("IVM_Symbol", IVM_POS_SYMBOL_ONLY, 8)
        GET_STRING("IVM_DeviceName", IVM_POS_SHORT_TEXT, 64)
-       tmp = (unsigned char *) getenv("IVM_DeviceName");
+       tmp = (unsigned char *)env_get("IVM_DeviceName");
        if (tmp) {
                int     len = strlen((char *)tmp);
                int     i = 0;