aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-07-28 19:20:49 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-08-13 17:12:34 +0200
commitdd6fbcb9381f6ce0b683bc16ee18da8008c1a558 (patch)
treef569f0c25cba2fbc272971e2fe3a2844e18b47c8 /common
parent4d02d2060514c10749f99160a3b91544ebd61204 (diff)
downloadu-boot-dd6fbcb9381f6ce0b683bc16ee18da8008c1a558.zip
u-boot-dd6fbcb9381f6ce0b683bc16ee18da8008c1a558.tar.gz
u-boot-dd6fbcb9381f6ce0b683bc16ee18da8008c1a558.tar.bz2
spl: Kconfig: migrate $(SPL_TPL_)LDSCRIPT to Kconfig
Now that we have split up SPL_LDSCRIPT into a SPL and TPL variant and have started to use the TPL-variant for the RK3368, it's time to clean up behind ourselves: move both variants into Kconfig and remove them from the whitelist. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 64f9e1f..3342c04 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -18,6 +18,16 @@ config SPL
if SPL
+config SPL_LDSCRIPT
+ string "Linker script for the SPL stage"
+ default "arch/$(ARCH)/cpu/u-boot-spl.lds"
+ depends on SPL
+ help
+ The SPL 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 SPL.
+
config SPL_BOARD_INIT
bool "Call board-specific initialization in SPL"
help
@@ -707,6 +717,15 @@ config TPL
if TPL
+config TPL_LDSCRIPT
+ string "Linker script for the TPL stage"
+ depends on TPL
+ 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.
+
config TPL_BOOTROM_SUPPORT
bool "Support returning to the BOOTROM (from TPL)"
help