From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 18 May 2019 11:59:52 -0600 Subject: [U-Boot] [PATCH 15/17] bootstage: Add support for TPL record count In-Reply-To: <20190518175954.262021-1-sjg@chromium.org> References: <20190518175954.262021-1-sjg@chromium.org> Message-ID: <20190518175954.262021-16-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- common/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index 1a1951f874e..cd0934fff9a 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 -- 2.21.0.1020.gf2820cf01a-goog