summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-05-18 11:59:52 -0600
committerSimon Glass <sjg@chromium.org>2019-07-10 16:52:58 -0600
commit59d0452df36c92015eb68163519f1581e68d6392 (patch)
tree9a2bcba82a679482a00a14b36c3932f8f90a1304 /common
parent44c6a0ed6e5a37b1d4c63d2351213cf736979858 (diff)
bootstage: Add support for TPL record count
If bootstage is enabled in TPL it lacks a record count and so does not build. Fix this by adding a new Kconfig option. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index af66496e75..4865a4dfc8 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -69,6 +69,13 @@ config SPL_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 TPL_BOOTSTAGE_RECORD_COUNT
+ int "Number of boot stage records to store for TPL"
+ 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