[U-Boot] [PATCH 03/10] Blackfin: relax .data alignment

Mike Frysinger vapier at gentoo.org
Wed Apr 7 07:15:55 CEST 2010


The strictest alignment on Blackfin systems is 32bits (since that is the
largest load instruction), so don't force 256byte alignment here.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 lib_blackfin/u-boot.lds.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib_blackfin/u-boot.lds.S b/lib_blackfin/u-boot.lds.S
index 3be341f..9a757c6 100644
--- a/lib_blackfin/u-boot.lds.S
+++ b/lib_blackfin/u-boot.lds.S
@@ -100,7 +100,7 @@ SECTIONS
 
 	.data :
 	{
-		. = ALIGN(256);
+		. = ALIGN(4);
 		*(.data .data.*)
 		*(.data1)
 		*(.sdata)
-- 
1.7.0.4



More information about the U-Boot mailing list