diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2013-03-12 03:41:49 +0000 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2013-03-29 11:42:35 +0900 |
commit | dc993a65f49768429a72488873d9805ff57e4c24 (patch) | |
tree | 3c20fdd8c04ef600274ae46533782a6ac28ed008 /include | |
parent | 7d1795840889b4f21fbfb4196119d0c923706a54 (diff) | |
download | u-boot-imx-dc993a65f49768429a72488873d9805ff57e4c24.zip u-boot-imx-dc993a65f49768429a72488873d9805ff57e4c24.tar.gz u-boot-imx-dc993a65f49768429a72488873d9805ff57e4c24.tar.bz2 |
spl:falcon:trats: Fix SPL image size computing.
"spl_imgsize" was set as decimal variable by "setexpr"
and this causes wrong image size written by "ext4write".
Preset this val with "0x" prefix allow to fix this issue.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/trats.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/trats.h b/include/configs/trats.h index 31d8190..fd58558 100644 --- a/include/configs/trats.h +++ b/include/configs/trats.h @@ -199,6 +199,7 @@ "splfile=falcon.bin\0" \ "spl_export=" \ "setexpr spl_imgsize ${splsize} + 8 ;" \ + "setenv spl_imgsize 0x${spl_imgsize};" \ "setexpr spl_imgaddr ${spladdr} - 8 ;" \ "setexpr spl_addr_tmp ${spladdr} - 4 ;" \ "mw.b ${spl_imgaddr} 0x00 ${spl_imgsize};run loaduimage;" \ |