diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-07-04 14:47:46 +0200 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-08-13 17:12:21 +0200 |
commit | 1749858a64ac62d5d18457074409fb6f641d04e4 (patch) | |
tree | 7d31d7083f9992db3ee6269cb0424f76895bff39 /scripts/config_whitelist.txt | |
parent | c3be6190f97c1232e2e0a388586922619ec28239 (diff) | |
download | u-boot-1749858a64ac62d5d18457074409fb6f641d04e4.tar.gz |
spl: allow a separate TEXT_BASE, LDSCRIPT and MAX_SIZE for TPL
For the bringup of the RK3368, we need to support TPL and SPL running
from different addresses... which requires both stages to use a
distinct TEXT_BASE.
This commit adds support for having a separate LDSCRIPT for TPL (which
is expected to make use of the TPL_MAX_SIZE define) and for having a
the option of defining TPL_TEXT_BASE and having the TPL stage linked
against this address.
Note that the handling of the TEXT_BASE is designed to not interfere
with the previous assumption that SPL_TEXT_BASE should be used for TPL
as well, unless TPL_TEXT_BASE is defined. For this reason, the test
in Makefile.spl uses the following (seemingly redundant checks):
1. looks for $(SPL_TPL_)TEXT_BASE
2. looks for SPL_TEXT_BASE (even when building in TPL)
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts/config_whitelist.txt')
-rw-r--r-- | scripts/config_whitelist.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 93c53a3341..2ffe28385f 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -4910,8 +4910,11 @@ CONFIG_TI_KSNAV CONFIG_TI_SPI_MMAP CONFIG_TMU_TIMER CONFIG_TPL_DRIVERS_MISC_SUPPORT +CONFIG_TPL_LDSCRIPT +CONFIG_TPL_MAX_SIZE CONFIG_TPL_PAD_TO CONFIG_TPL_STACK +CONFIG_TPL_TEXT_BASE CONFIG_TPM_TIS_BASE_ADDRESS CONFIG_TPS6586X_POWER CONFIG_TQM834X |