summaryrefslogtreecommitdiff
path: root/board/samsung
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-10-12 10:27:03 +0000
committerTom Rini <trini@ti.com>2012-10-22 08:29:42 -0700
commit556751427b9b79266918e87f7399e1a6eea60096 (patch)
treee68dc07f778b9cfcd4e884e566ab23e6f9ea0752 /board/samsung
parent42ebaae3a33b8393a37e7176234e71b5eada58d4 (diff)
downloadu-boot-imx-556751427b9b79266918e87f7399e1a6eea60096.zip
u-boot-imx-556751427b9b79266918e87f7399e1a6eea60096.tar.gz
u-boot-imx-556751427b9b79266918e87f7399e1a6eea60096.tar.bz2
common: Add .u_boot_list into all linker files
Add section for the linker-generated lists into all possible linker files, so that everyone can easily use these lists. This is mostly a mechanical adjustment. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/samsung')
-rw-r--r--board/samsung/smdk5250/smdk5250-uboot-spl.lds5
-rw-r--r--board/samsung/smdk6400/u-boot-nand.lds7
2 files changed, 11 insertions, 1 deletions
diff --git a/board/samsung/smdk5250/smdk5250-uboot-spl.lds b/board/samsung/smdk5250/smdk5250-uboot-spl.lds
index d78dd77..951d8ce 100644
--- a/board/samsung/smdk5250/smdk5250-uboot-spl.lds
+++ b/board/samsung/smdk5250/smdk5250-uboot-spl.lds
@@ -48,6 +48,11 @@ SECTIONS
.data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
. = ALIGN(4);
+ .u_boot_list : {
+ #include <u-boot.lst>
+ } >.sram
+ . = ALIGN(4);
+
/* Align .machine_param on 256 byte boundary for easier searching */
.machine_param ALIGN(0x100) : { *(.machine_param) } >.sram
. = ALIGN(4);
diff --git a/board/samsung/smdk6400/u-boot-nand.lds b/board/samsung/smdk6400/u-boot-nand.lds
index f162815..50924fc 100644
--- a/board/samsung/smdk6400/u-boot-nand.lds
+++ b/board/samsung/smdk6400/u-boot-nand.lds
@@ -51,7 +51,12 @@ SECTIONS
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
- . = ALIGN(4);
+ . = align(4);
+ .u_boot_list : {
+ #include <u-boot.lst>
+ }
+
+ . = align(4);
.mmudata : { *(.mmudata) }
. = ALIGN(4);