bootstage: Support SPL
authorSimon Glass <sjg@chromium.org>
Mon, 22 May 2017 11:05:35 +0000 (05:05 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 18:13:08 +0000 (14:13 -0400)
commit824bb1b45371efcb10561456e894d7c2fa1a4b88
treeff61ce00e99cfac753c17891640f87dbe184524b
parent9d2542d062da9e1e3934f504b4d769998a76c991
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>
common/Kconfig
common/Makefile
common/board_f.c
common/spl/spl.c
include/bootstage.h