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 dce9c25..874b44b 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                                                     \