[PATCH v5 01/11] Makefile: add SPL_REMAKE_ELF_LDSCRIPT feature
Simon Glass
sjg at chromium.org
Tue May 5 15:58:35 CEST 2026
Hi Michael,
On 2026-05-05T00:47:48, Michael Srba <michael.srba at seznam.cz> wrote:
> Makefile: add SPL_REMAKE_ELF_LDSCRIPT feature
>
> Some platforms (e.g. at least Qualcomm) use the ELF format in creative
> ways, including in the bootrom. Make SPL_REMAKE_ELF use a linker script
> specified in SPL_REMAKE_ELF_LDSCRIPT (with the previously hardcoded path
> as the default).
>
> Signed-off-by: Michael Srba <Michael.Srba at seznam.cz>
>
> Makefile | 9 +++++++--
> common/spl/Kconfig | 11 +++++++++++
> 2 files changed, 18 insertions(+), 2 deletions(-)
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> @@ -238,6 +238,17 @@ config SPL_HANDOFF
> + help
> + This allows specifying a linker script that will be used to re-wrap
> + the SPL binary into an ELF.
> + Some platforms (e.g. at least Qualcomm) use the ELF format in creative
> + ways, including in the bootrom. For such platforms, you can change
> + the default linker script to a platform-specific one.
Please add a blank line between the two paragraphs so menuconfig
renders them separately.
Missing file, as mentioned by Michal
Regards,
Simon
More information about the U-Boot
mailing list