]> git.sur5r.net Git - u-boot/commitdiff
mx6: tqma6: fix typo in env
authorMarkus Niebel <Markus.Niebel@tq-group.com>
Fri, 3 Feb 2017 15:14:00 +0000 (16:14 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 19 Feb 2017 16:16:51 +0000 (17:16 +0100)
there was a double bracketed var ref. fix this.

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
include/configs/tqma6.h

index dce9c259439f06a2136ab3e24662c7d330a155a5..874b44b28171e5635a1e43fcf596c40b0da7d738 100644 (file)
                        __stringify(TQMA6_SPI_FLASH_SECTOR_SIZE)"; "           \
                "setexpr offset ${fdt_start} * "                               \
                        __stringify(TQMA6_SPI_FLASH_SECTOR_SIZE)"; "           \
-               "sf read ${${fdt_addr}} ${offset} ${size}; "                   \
+               "sf read ${fdt_addr} ${offset} ${size}; "                      \
                "setenv size ; setenv offset\0"                                \
 
 #define CONFIG_BOOTCOMMAND                                                     \