summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2025-12-12 19:13:13 +0100
committerPeng Fan <[email protected]>2025-12-24 12:06:42 +0800
commit863280eca06bc2e98492795a5bd9513438a60a0a (patch)
treeadcb4c7e0efe2684d2111c97341c75dd16d6ff9d
parentbaf076aeb32dcdd2b022405088c3288ffc160fcf (diff)
Kconfig: put TPL_OPTIMIZE_INLINING next to SPL_OPTIMIZE_INLINING
Right now LTO is in-between both when using menuconfig. Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Anshul Dalal <[email protected]> Reviewed-by: Kory Maincent <[email protected]> Signed-off-by: Peng Fan <[email protected]>
-rw-r--r--Kconfig18
1 files changed, 9 insertions, 9 deletions
diff --git a/Kconfig b/Kconfig
index 1d600342685..c435fb43182 100644
--- a/Kconfig
+++ b/Kconfig
@@ -140,6 +140,15 @@ config SPL_OPTIMIZE_INLINING
do what it thinks is best, which is desirable in some cases for size
reasons.
+config TPL_OPTIMIZE_INLINING
+ bool "Allow compiler to uninline functions marked 'inline' in TPL"
+ depends on TPL
+ help
+ This option determines if U-Boot forces gcc to inline the functions
+ developers have marked 'inline'. Doing so takes away freedom from gcc to
+ do what it thinks is best, which is desirable in some cases for size
+ reasons.
+
config ARCH_SUPPORTS_LTO
bool
@@ -163,15 +172,6 @@ config LTO
If unsure, say n.
-config TPL_OPTIMIZE_INLINING
- bool "Allow compiler to uninline functions marked 'inline' in TPL"
- depends on TPL
- help
- This option determines if U-Boot forces gcc to inline the functions
- developers have marked 'inline'. Doing so takes away freedom from gcc to
- do what it thinks is best, which is desirable in some cases for size
- reasons.
-
config CC_COVERAGE
bool "Enable code coverage analysis"
depends on SANDBOX