aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass2014-06-02 22:04:44 -0600
committerTom Rini2014-06-11 16:25:39 -0400
commitad3cd07f04e31c7f68c3cadc2f88475dd9205d5a (patch)
tree18f1fce5fb2f46972b94b35b9ccb8f2de0ff51b0
parent18b06652cdd58364fe1493fd9996dce2333ed5ba (diff)
ti: am335x: Fix the U-Boot binary output
This should include the hash so that image_binary_size is really at the end of the image, and not some 300 bytes earlier. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--board/ti/am335x/u-boot.lds3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/ti/am335x/u-boot.lds b/board/ti/am335x/u-boot.lds
index 2c5a0f8a117..78f294af408 100644
--- a/board/ti/am335x/u-boot.lds
+++ b/board/ti/am335x/u-boot.lds
@@ -78,6 +78,8 @@ SECTIONS
*(.__rel_dyn_end)
}
+ .hash : { *(.hash*) }
+
.end :
{
*(.__end)
@@ -118,7 +120,6 @@ SECTIONS
.dynbss : { *(.dynbss) }
.dynstr : { *(.dynstr*) }
.dynamic : { *(.dynamic*) }
- .hash : { *(.hash*) }
.gnu.hash : { *(.gnu.hash) }
.plt : { *(.plt*) }
.interp : { *(.interp*) }