bootstage: Allow SPL to obtain bootstage info from TPL
authorSimon Glass <sjg@chromium.org>
Mon, 21 Oct 2019 23:26:52 +0000 (17:26 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 27 Oct 2019 16:56:51 +0000 (10:56 -0600)
commit31f9f0ea571c12e914eda400b242d4a0a4b39f43
tree65a6ec034bc56cf2750a86ac4fadf0b63dc7d3e6
parent5256beecb8a14efba805a2f3f14afb33752ac71a
bootstage: Allow SPL to obtain bootstage info from TPL

It is possible to enable bootstage in TPL. TPL can stash the info for SPL.
But at present this information is then lost because SPL does not read
from the stash.

Add support for SPL not being the first phase to enable bootstage.
Signed-off-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c