]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
omap3_logic: Fix FDT ADDR for ramdisk booting
authorAdam Ford <aford173@gmail.com>
Mon, 26 Mar 2018 15:24:12 +0000 (10:24 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 6 Apr 2018 21:04:33 +0000 (17:04 -0400)
The boot scripts for booting from ramdisk are using
${fdtimage} when they really should be using ${fdtaddr}

This patch will fix it so the RAMdisk bootscripts operate
correctly.

Signed-off-by: Adam Ford <aford173@gmail.com>
include/configs/omap3_logic.h

index c9a154cc80910c570d7df196e41023561a6ef9ac..162b05d505a5ef083a6a219feef4620f32dd2aab 100644 (file)
                "run loadramdisk\0" \
        "mmcramboot=setenv bootfile uImage; " \
                "run mmcrambootcommon; " \
-               "bootm ${loadaddr} ${rdaddr} ${fdtimage}\0" \
+               "bootm ${loadaddr} ${rdaddr} ${fdtaddr}\0" \
        "mmcrambootz=setenv bootfile zImage; " \
                "run mmcrambootcommon; " \
-               "bootz ${loadaddr} ${rdaddr} ${fdtimage}\0" \
+               "bootz ${loadaddr} ${rdaddr} ${fdtaddr}\0" \
        "tftpboot=echo 'Booting kernel/ramdisk rootfs from tftp...'; " \
                "run ramargs; " \
                "run common_bootargs; " \