mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
spl: arm: Make sure to include all of the u_boot_list entries
Starting with 96e5b03
we use a linker list for partition table
information. However since we use this in SPL we need to make sure that
the SPL linker scripts include these as well. While doing this, it's
best to simply include all linker lists to future proof ourselves.
Cc: Andreas Bießmann <andreas.devel@googlemail.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reported-by: Nishanth Menon <nm@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
d08fedf691
commit
f8a4826383
5 changed files with 9 additions and 15 deletions
|
@ -35,7 +35,7 @@ SECTIONS
|
|||
|
||||
. = ALIGN(4);
|
||||
.u_boot_list : {
|
||||
KEEP(*(SORT(.u_boot_list*_i2c_*)));
|
||||
KEEP(*(SORT(.u_boot_list*)));
|
||||
} >.sram
|
||||
|
||||
. = ALIGN(4);
|
||||
|
|
|
@ -32,15 +32,8 @@ SECTIONS
|
|||
}
|
||||
|
||||
. = ALIGN(4);
|
||||
#ifdef CONFIG_SPL_DM
|
||||
.u_boot_list : {
|
||||
KEEP(*(SORT(.u_boot_list_*_driver_*)));
|
||||
KEEP(*(SORT(.u_boot_list_*_uclass_*)));
|
||||
}
|
||||
#endif
|
||||
. = .;
|
||||
.u_boot_list : {
|
||||
KEEP(*(SORT(.u_boot_list*_i2c_*)));
|
||||
KEEP(*(SORT(.u_boot_list*)));
|
||||
}
|
||||
|
||||
. = ALIGN(4);
|
||||
|
|
|
@ -29,6 +29,9 @@ SECTIONS
|
|||
. = ALIGN(4);
|
||||
.data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
|
||||
|
||||
. = ALIGN(4);
|
||||
.u_boot_list : { KEEP(*(SORT(.u_boot_list*))) } > .sram
|
||||
|
||||
. = ALIGN(4);
|
||||
__image_copy_end = .;
|
||||
|
||||
|
|
|
@ -36,6 +36,9 @@ SECTIONS
|
|||
. = ALIGN(4);
|
||||
.data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
|
||||
|
||||
. = ALIGN(4);
|
||||
.u_boot_list : { KEEP(*(SORT(.u_boot_list*))) } > .sram
|
||||
|
||||
. = ALIGN(4);
|
||||
__image_copy_end = .;
|
||||
|
||||
|
|
|
@ -38,16 +38,11 @@ SECTIONS
|
|||
} > .sram
|
||||
|
||||
. = ALIGN(4);
|
||||
#ifdef CONFIG_SPL_DM
|
||||
.u_boot_list : {
|
||||
KEEP(*(SORT(.u_boot_list_*_driver_*)));
|
||||
KEEP(*(SORT(.u_boot_list_*_uclass_*)));
|
||||
KEEP(*(SORT(.u_boot_list*)));
|
||||
} > .sram
|
||||
|
||||
. = ALIGN(4);
|
||||
#endif
|
||||
|
||||
. = .;
|
||||
|
||||
_image_binary_end = .;
|
||||
|
||||
|
|
Loading…
Reference in a new issue