diff options
author | Simon Glass <sjg@chromium.org> | 2025-01-26 11:43:25 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-02-03 16:01:36 -0600 |
commit | 384f815d08f6257d2e953d05736769ab37f6733e (patch) | |
tree | 6e7fa709d419ae301a6c4428564a26970a6e4f39 | |
parent | 5c751dc09128b6ca7dc12d6aec665f965905ab29 (diff) |
vbe: Support providing a linker script
Allow a linker script to be provided for VPL as it is for other U-Boot
phases.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | common/spl/Kconfig.vpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/spl/Kconfig.vpl b/common/spl/Kconfig.vpl index 97dfc630152..cf6b36c8e38 100644 --- a/common/spl/Kconfig.vpl +++ b/common/spl/Kconfig.vpl @@ -9,6 +9,19 @@ config VPL_BANNER_PRINT info. Disabling this option could be useful to reduce VPL boot time (e.g. approx. 6 ms faster, when output on i.MX6 with 115200 baud). +config VPL_LDSCRIPT + string "Linker script for the VPL stage" + default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64 + default "arch/\$(ARCH)/cpu/u-boot-spl.lds" + help + The TPL stage will usually require a different linker-script + (as it runs from a different memory region) than the regular + U-Boot stage. Set this to the path of the linker-script to + be used for TPL. + + May be left empty to trigger the Makefile infrastructure to + fall back to the linker-script used for the SPL stage. + config VPL_BOARD_INIT bool "Call board-specific initialization in VPL" help |