]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/toradex/apalis_imx6/apalis_imx6.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / board / toradex / apalis_imx6 / apalis_imx6.c
index 86a7a159e8cddac6b32f385facaf03a03c99de56..7a3e493faf168a908f73463501d434f8cb9da1a1 100644 (file)
@@ -814,7 +814,7 @@ int board_late_init(void)
                setup_iomux_dce_uart();
 
                /* if using the default device tree, use version for V1.0 HW */
-               fdt_env = getenv("fdt_file");
+               fdt_env = env_get("fdt_file");
                if ((fdt_env != NULL) && (strcmp(FDT_FILE, fdt_env) == 0)) {
                        env_set("fdt_file", FDT_FILE_V1_0);
                        printf("patching fdt_file to " FDT_FILE_V1_0 "\n");