ARM: imx6_logic: Fix typo in FDT address
authorAdam Ford <aford173@gmail.com>
Sat, 16 Feb 2019 20:09:45 +0000 (14:09 -0600)
committerStefano Babic <sbabic@denx.de>
Wed, 13 Mar 2019 08:14:35 +0000 (09:14 +0100)
A few scripts reference 'fdt_addr' when they should reference
'fdt_addr_r' so this patch fixes those broken references.

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

index 70cc63fc1b95249f5df2f17c7803a6e6a733e1c7..a121064e3737ba594f6d1d0d02fa4ea742373198 100644 (file)
@@ -68,8 +68,8 @@
        "nandboot=echo Booting from nand ...; " \
        " run nandargs;" \
        " nand read ${loadaddr} kernel ${kernelsize};" \
-       " nand read ${fdt_addr} dtb;" \
-       " bootz ${loadaddr} - ${fdt_addr}\0" \
+       " nand read ${fdt_addr_r} dtb;" \
+       " bootz ${loadaddr} - ${fdt_addr_r}\0" \
        "nandramboot=echo Booting RAMdisk from nand ...; " \
        " nand read ${ramdisk_addr_r} fs ${ramdisksize};" \
        " nand read ${loadaddr} kernel ${kernelsize};" \
@@ -88,8 +88,8 @@
        "fi; " \
        "${get_cmd} ${image}; " \
        "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
-               "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \
-                       "bootz ${loadaddr} - ${fdt_addr}; " \
+               "if ${get_cmd} ${fdt_addr_r} ${fdt_file}; then " \
+                       "bootz ${loadaddr} - ${fdt_addr_r}; " \
                "else " \
                        "if test ${boot_fdt} = try; then " \
                                "bootz; " \