[U-Boot] [PATCH 3/6] mx6: tqma6: fix typo in env

Markus Niebel niebelm at tqsc.de
Fri Feb 3 15:14:00 UTC 2017


From: Markus Niebel <Markus.Niebel at tq-group.com>

there was a double bracketed var ref. fix this.

Signed-off-by: Markus Niebel <Markus.Niebel at tq-group.com>
---
 include/configs/tqma6.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h
index dce9c25..874b44b 100644
--- a/include/configs/tqma6.h
+++ b/include/configs/tqma6.h
@@ -262,7 +262,7 @@
 			__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                                                     \
-- 
1.9.1



More information about the U-Boot mailing list