]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
apalis_imx6: provide fdtfile in env instead of setting it in runtime
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Mon, 14 Sep 2020 08:01:12 +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/apalis_imx6.h

index 9bc70f979abc75731fe5e5829ef09bfaf9b758a6..4cffc7f887da02aa525ad7fde7c277ac74084b01 100644 (file)
 #endif
 #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 vmalloc=400M\0" \
        "fdt_file=" FDT_FILE "\0" \
+       "fdtfile=" FDT_FILE "\0" \
        "fdt_fixup=;\0" \
        MEM_LAYOUT_ENV_SETTINGS \
        NFS_BOOTCMD \