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>
This commit is contained in:
Simon Glass 2019-05-18 11:59:52 -06:00
parent 44c6a0ed6e
commit 59d0452df3

View File

@ -69,6 +69,13 @@ config SPL_BOOTSTAGE_RECORD_COUNT
This is the size of the bootstage record list and is the maximum This is the size of the bootstage record list and is the maximum
number of bootstage records that can be recorded. 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 config BOOTSTAGE_FDT
bool "Store boot timing information in the OS device tree" bool "Store boot timing information in the OS device tree"
depends on BOOTSTAGE depends on BOOTSTAGE