diff options
author | Tom Rini <trini@konsulko.com> | 2023-08-02 11:09:43 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-09 09:21:42 -0400 |
commit | a077ac13d03c8cde646ddab30b03ec0f8b753e1e (patch) | |
tree | 329ba3478652e8758cb0066a775cd9e4b99dc6c7 /common/spl | |
parent | 1e1437d9f8b5be362afdd0212dbae6c41f53f3d8 (diff) | |
download | u-boot-a077ac13d03c8cde646ddab30b03ec0f8b753e1e.tar.gz u-boot-a077ac13d03c8cde646ddab30b03ec0f8b753e1e.tar.bz2 u-boot-a077ac13d03c8cde646ddab30b03ec0f8b753e1e.zip |
Kconfigs: Correct default of "0" on hex type entries
It is not a parse error to have a default value of "0" for a "hex" type
entry, instead of "0x0". However, "0" and "0x0" are not treated the
same even by the tools themselves. Correct this by changing the default
value from "0" to "0x0" for all hex type questions that had the
incorrect default. Fix one instance (in two configs) of a default of "0"
being used on a hex question to be "0x0". Remove the cases where a
defconfig had set a value of "0x0" to be used as the default had been
"0".
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/spl')
-rw-r--r-- | common/spl/Kconfig | 2 | ||||
-rw-r--r-- | common/spl/Kconfig.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index c5dd476db5..1c2fe78e3e 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -67,7 +67,7 @@ config SPL_SIZE_LIMIT_SUBTRACT_MALLOC config SPL_SIZE_LIMIT_PROVIDE_STACK hex "SPL image size check: provide stack space before relocation" depends on SPL_SIZE_LIMIT > 0 - default 0 + default 0x0 help If set, this size is reserved in SPL_SIZE_LIMIT check to ensure such an image does not overflow SRAM if SPL_SIZE_LIMIT describes the size diff --git a/common/spl/Kconfig.tpl b/common/spl/Kconfig.tpl index 3d6cf1e59f..cc71578f64 100644 --- a/common/spl/Kconfig.tpl +++ b/common/spl/Kconfig.tpl @@ -126,7 +126,7 @@ config TPL_POWER config TPL_TEXT_BASE hex "Base address for the .text section of the TPL stage" - default 0 + default 0x0 help The base address for the .text section of the TPL stage. |