diff options
| author | Tom Rini <[email protected]> | 2025-09-25 14:51:24 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-08 16:12:43 -0600 |
| commit | 93dbdf389848310afd769a45f7a043e4a19c1b2d (patch) | |
| tree | cbff15638800809cabe0d643ac094351093c9862 | |
| parent | 2d11e5ba4ea851947a6e27c96474fad0254031f4 (diff) | |
spl: Correct dependency for SPL_SYS_REPORT_STACK_F_USAGE
In Kconfig syntax, "!=" is a string and not numerical comparison. This
means that to check for a non-zero SPL_SIZE_LIMIT_PROVIDE_STACK value we
need to test that it is "> 0" rather than "!=" 0. This is because "0x0 >
0" is false while "0x0 != 0" is true.
Signed-off-by: Tom Rini <[email protected]>
| -rw-r--r-- | common/spl/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index f34b96efc02..cb7b4179384 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -176,7 +176,7 @@ config SPL_SYS_STACK_F_CHECK_BYTE Constant used to check the stack config SPL_SYS_REPORT_STACK_F_USAGE - depends on SPL_SIZE_LIMIT_PROVIDE_STACK != 0 + depends on SPL_SIZE_LIMIT_PROVIDE_STACK > 0 bool "Check and report stack usage in SPL before relocation" help If this option is enabled, the initial SPL stack is filled with 0xaa |
