summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:33 +1100
committerGraeme Russ <graeme.russ@gmail.com>2010-10-07 20:03:33 +1100
commitf2ff75c0a25eb78b4b86fd96c5f0be9dd327e2d7 (patch)
tree8b10cec22c7b082d2d4ed6e7d18cf93ec81a7136 /board
parent221914265860a47a0ba8bfa6956097cb045d9b39 (diff)
downloadu-boot-imx-f2ff75c0a25eb78b4b86fd96c5f0be9dd327e2d7.zip
u-boot-imx-f2ff75c0a25eb78b4b86fd96c5f0be9dd327e2d7.tar.gz
u-boot-imx-f2ff75c0a25eb78b4b86fd96c5f0be9dd327e2d7.tar.bz2
x86: Use loops instead of memcpy/memset in board_init_f
Provides a small speed increase and prepares for fully relocatable image. Downside is the TEXT_BASE, bss, load address etc must ALL be aligned on a a 4-byte boundary which is not such a terrible restriction as everything is already 4-byte aligned anyway
Diffstat (limited to 'board')
-rw-r--r--board/eNET/u-boot.lds3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/eNET/u-boot.lds b/board/eNET/u-boot.lds
index 3c52010..b414079b 100644
--- a/board/eNET/u-boot.lds
+++ b/board/eNET/u-boot.lds
@@ -58,7 +58,8 @@ SECTIONS
. = ALIGN(4);
__bss_start = ABSOLUTE(.);
.bss (NOLOAD) : { *(.bss) }
- __bss_size = SIZEOF(.bss);
+ . = ALIGN(4);
+ __bss_end = ABSOLUTE(.);
. = ALIGN(4);
__rel_dyn_start = .;