]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
apalis/colibri imx6: provide proper fdtfile value
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Thu, 23 May 2019 11:05:50 +0000 (11:05 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
Provide proper fdtfile env variable value before invoking distro_bootcmd
command.

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
include/configs/apalis_imx6.h
include/configs/colibri_imx6.h

index 9d9e16e5d963d78c77493c99d17b576984d06b3a..c27ba6ca6b71e5730762030ec81bce1950889e94 100644 (file)
 #define CONFIG_EXTRA_ENV_SETTINGS \
        BOOTENV \
        "bootcmd=run emmcboot ; echo ; echo emmcboot failed ; " \
-               "run distro_bootcmd ; " \
+               "setenv fdtfile ${fdt_file}; run distro_bootcmd ; " \
                "usb start ; " \
                "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \
        "boot_file=zImage\0" \
index b540b3e0749fe704d979da382ac0e1e46388d702..1cdf83d82d3964ffbc32a4a20a2500aec013471a 100644 (file)
 #define CONFIG_EXTRA_ENV_SETTINGS \
        BOOTENV \
        "bootcmd=run emmcboot ; echo ; echo emmcboot failed ; " \
-               "run distro_bootcmd ; " \
+               "setenv fdtfile ${fdt_file}; run distro_bootcmd ; " \
                "usb start ; " \
                "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \
        "boot_file=zImage\0" \