summaryrefslogtreecommitdiff
path: root/common/Kconfig.boot
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-03 16:00:49 +0300
committerSimon Glass <sjg@chromium.org>2021-03-04 05:17:25 +0300
commit939b04e9cf57a838be7e590340a4e84610e76433 (patch)
tree27e7f13b5ce073ef18f8647ec32083c307190623 /common/Kconfig.boot
parent15421b71bccc3a12e64cfa1e8089e50cc2a93fe4 (diff)
downloadu-boot-939b04e9cf57a838be7e590340a4e84610e76433.tar.xz
bootstage: Fix dependency for BOOTSTAGE_RECORD_COUNT
At present these three Kconfigs exist even when bootstage is not enabled. This is not necessary since bootstage.c is only built if BOOTSTAGE is enabled. Make them conditional. Also fix up the overflow message to mention TPL. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Kconfig.boot')
-rw-r--r--common/Kconfig.boot3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/Kconfig.boot b/common/Kconfig.boot
index 70c02b9e30..e650c605d1 100644
--- a/common/Kconfig.boot
+++ b/common/Kconfig.boot
@@ -449,6 +449,7 @@ config BOOTSTAGE_REPORT
config BOOTSTAGE_RECORD_COUNT
int "Number of boot stage records to store"
+ depends on BOOTSTAGE
default 30
help
This is the size of the bootstage record list and is the maximum
@@ -456,6 +457,7 @@ config BOOTSTAGE_RECORD_COUNT
config SPL_BOOTSTAGE_RECORD_COUNT
int "Number of boot stage records to store for SPL"
+ depends on SPL_BOOTSTAGE
default 5
help
This is the size of the bootstage record list and is the maximum
@@ -463,6 +465,7 @@ config SPL_BOOTSTAGE_RECORD_COUNT
config TPL_BOOTSTAGE_RECORD_COUNT
int "Number of boot stage records to store for TPL"
+ depends on TPL_BOOTSTAGE
default 5
help
This is the size of the bootstage record list and is the maximum