diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-22 05:05:35 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-05 14:13:08 -0400 |
commit | 824bb1b45371efcb10561456e894d7c2fa1a4b88 (patch) | |
tree | ff61ce00e99cfac753c17891640f87dbe184524b /common/Kconfig | |
parent | 9d2542d062da9e1e3934f504b4d769998a76c991 (diff) |
bootstage: Support SPL
At present bootstage only supports U-Boot proper. But SPL can also consume
boot time so it is useful to have the record start there.
Add bootstage support to SPL. Also support stashing the timing information
when SPL finishes so that it can be picked up and reported by U-Boot
proper. This provides a full boot time record, excluding only the time
taken by the boot ROM.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index a3094d984fd..c49199bb1a6 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -18,6 +18,15 @@ config BOOTSTAGE Calls to show_boot_progress() will also result in log entries but these will not have names. +config SPL_BOOTSTAGE + bool "Boot timing and reported in SPL" + depends on BOOTSTAGE + help + Enable recording of boot time in SPL. To make this visible to U-Boot + proper, enable BOOTSTAGE_STASH as well. This will stash the timing + information when SPL finishes and load it when U-Boot proper starts + up. + config BOOTSTAGE_REPORT bool "Display a detailed boot timing report before booting the OS" depends on BOOTSTAGE |