[U-Boot] [PATCH] exynos: Drop large alignment for SDRAM parameters

Simon Glass sjg at chromium.org
Wed Feb 8 12:43:46 UTC 2017


We don't ever search for these so there is no need for a 4KB alignment.
It just wastes space.

Drop this and use the standard 4-byte alignment.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 board/samsung/common/exynos-uboot-spl.lds | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/board/samsung/common/exynos-uboot-spl.lds b/board/samsung/common/exynos-uboot-spl.lds
index 4a933c87e9..8c497792ee 100644
--- a/board/samsung/common/exynos-uboot-spl.lds
+++ b/board/samsung/common/exynos-uboot-spl.lds
@@ -38,8 +38,7 @@ SECTIONS
 	} >.sram
 	. = ALIGN(4);
 
-	/* Align .machine_param on 256 byte boundary for easier searching */
-	.machine_param ALIGN(0x100) : { *(.machine_param) } >.sram
+	.machine_param : { *(.machine_param) } >.sram
 	. = ALIGN(4);
 
 	__image_copy_end = .;
-- 
2.11.0.483.g087da7b7c-goog



More information about the U-Boot mailing list