summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-09-06 04:49:49 +0300
committerBin Meng <bmeng.cn@gmail.com>2017-09-16 09:57:44 +0300
commitd69bb0ecbf9f73dc75096368653a796d5167b884 (patch)
tree127ba00f429d47555fc5c031134fe92b18374efa /common/Kconfig
parent066b25b6c4995d1e04dbafdb7dfb4fe55630b586 (diff)
downloadu-boot-d69bb0ecbf9f73dc75096368653a796d5167b884.tar.xz
bootstage: Provide a separate record count setting for SPL
With SPL we often have limited memory and do not need very many bootstage records. Add a separate Kconfig option for SPL. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index abd4146922..540cc9999b 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -53,6 +53,13 @@ config BOOTSTAGE_RECORD_COUNT
This is the size of the bootstage record list and is the maximum
number of bootstage records that can be recorded.
+config SPL_BOOTSTAGE_RECORD_COUNT
+ int "Number of boot stage records to store for SPL"
+ default 5
+ help
+ This is the size of the bootstage record list and is the maximum
+ number of bootstage records that can be recorded.
+
config BOOTSTAGE_FDT
bool "Store boot timing information in the OS device tree"
depends on BOOTSTAGE