]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
colibri_imx6: provide fdtfile in env instead of setting it in runtime
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Mon, 14 Sep 2020 08:01:11 +0000 (11:01 +0300)
committerStefano Babic <sbabic@denx.de>
Thu, 17 Sep 2020 12:39:09 +0000 (14:39 +0200)
Provide fdtfile value in default env instead of setting
it dynamically in runtime.

Fixes: 85cb2bc686("apalis/colibri imx6: provide proper fdtfile value")
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
include/configs/colibri_imx6.h

index 13b03a594e79ed1a15417848a75f1b6679ce7647..097e620de4abe53605814f382c34e1c6e8669ef7 100644 (file)
 #define FDT_FILE "imx6dl-colibri-eval-v3.dtb"
 #define CONFIG_EXTRA_ENV_SETTINGS \
        BOOTENV \
-       "bootcmd=setenv fdtfile ${fdt_file}; run distro_bootcmd; " \
+       "bootcmd=run distro_bootcmd; " \
                "usb start ; " \
                "setenv stdout serial,vidconsole; " \
                "setenv stdin serial,usbkbd\0" \
        "console=ttymxc0\0" \
        "defargs=enable_wait_mode=off galcore.contiguousSize=50331648\0" \
        "fdt_file=" FDT_FILE "\0" \
+       "fdtfile=" FDT_FILE "\0" \
        "fdt_fixup=;\0" \
        MEM_LAYOUT_ENV_SETTINGS \
        NFS_BOOTCMD \