]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - lib/fdtdec.c
env: Rename getenv_hex(), getenv_yesno(), getenv_ulong()
[people/ms/u-boot.git] / lib / fdtdec.c
index d2dbd0f122ea1b358306586ea3613ae263dc0c3c..107a892e79c274e0b6e2c44cf2516aef7d469a1e 100644 (file)
@@ -1240,7 +1240,7 @@ int fdtdec_setup(void)
 # endif
 # ifndef CONFIG_SPL_BUILD
        /* Allow the early environment to override the fdt address */
-       gd->fdt_blob = (void *)getenv_ulong("fdtcontroladdr", 16,
+       gd->fdt_blob = (void *)env_get_ulong("fdtcontroladdr", 16,
                                                (uintptr_t)gd->fdt_blob);
 # endif
 #endif