tpl: Rename TPL_NEEDS_SEPARATE_STACK to TPL_HAVE_INIT_STACK
The most common word for features that make a platform work is to use 'HAVE_xxx'. Rename this option to match. Update the help to use the word 'phase' rather than 'stage', since that is the current terminology. Also clarify that, absent this setting, the stack pointer generally comes from the value used by U-Boot proper, rather than SPL. Move the option just above TPL_STACK which depends on it. Series-changes: 2 - Add new patch to rename TPL_NEEDS_SEPARATE_STACK Series-changes: 3 - Reword the Kconfig help for TPL_HAVE_INIT_STACK Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -106,12 +106,6 @@ config TPL_LDSCRIPT
|
||||
May be left empty to trigger the Makefile infrastructure to
|
||||
fall back to the linker-script used for the SPL stage.
|
||||
|
||||
config TPL_NEEDS_SEPARATE_STACK
|
||||
bool "TPL needs a separate initial stack-pointer"
|
||||
help
|
||||
Enable, if the TPL stage should not inherit its initial
|
||||
stack-pointer from the settings for the SPL stage.
|
||||
|
||||
config TPL_POWER
|
||||
bool "Support power drivers"
|
||||
help
|
||||
@@ -140,11 +134,18 @@ config TPL_MAX_SIZE
|
||||
help
|
||||
The maximum size (in bytes) of the TPL stage.
|
||||
|
||||
config TPL_STACK
|
||||
hex "Address of the initial stack-pointer for the TPL stage"
|
||||
depends on TPL_NEEDS_SEPARATE_STACK
|
||||
config TPL_HAVE_INIT_STACK
|
||||
bool "TPL requires a initial, fixed, stack-pointer location"
|
||||
help
|
||||
The address of the initial stack-pointer for the TPL stage.
|
||||
Enable if the TPL phase should not inherit its initial
|
||||
stack-pointer from the settings for U-Boot proper (or SPL if
|
||||
SPL_STACK is defined), but should set its own value.
|
||||
|
||||
config TPL_STACK
|
||||
hex "Address of the initial stack-pointer for the TPL phase"
|
||||
depends on TPL_HAVE_INIT_STACK
|
||||
help
|
||||
The address of the initial stack-pointer for the TPL phase
|
||||
Usually this will be the (aligned) top-of-stack.
|
||||
|
||||
config TPL_READ_ONLY
|
||||
|
||||
Reference in New Issue
Block a user