Skip to contentSkip to conversation

exynos: Drop large alignment for SDRAM parameters

PATCH New Simon Glass 3 participants 3 messages Feb 8, 2017 – Feb 11, 2017 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 exynos: Drop large alignment for SDRAM parameters

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.

---

 board/samsung/common/exynos-uboot-spl.lds | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/samsung/common/exynos-uboot-spl.lds +1 -2
index 4a933c87e9..8c497792ee 100644
@@ -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 = .;
Signature · 1 line
2.11.0.483.g087da7b7c-goog
#1 lore raw

PATCH 1/1 exynos: Drop large alignment for SDRAM parameters

Quoted 6 lines · Simon Glass

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.

Best Regards,
Jaehoon Chung

Quoted 20 lines

---

 board/samsung/common/exynos-uboot-spl.lds | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/samsung/common/exynos-uboot-spl.lds +1 -2
index 4a933c87e9..8c497792ee 100644
@@ -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 lore raw

PATCH 1/1 exynos: Drop large alignment for SDRAM parameters

Dear Simon Glass,

Quoted 11 lines · Jaehoon Chung
Quoted 6 lines · Simon Glass

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.

applied to u-boot-samsung.

Thanks,
Minkyu Kang.

Signature · 2 lines
from. prom.
www.promsoft.net