[PATCH 02/17] spl: Add functions for next and previous phase
Tom Rini
trini at konsulko.com
Fri Jan 29 00:57:27 CET 2021
On Wed, Jan 13, 2021 at 08:29:42PM -0700, Simon Glass wrote:
> It is useful to be able to figure out which phase we are loading next and
> which phase we came from. Add some functions to handle this as well as
> returning the name of a phase. This allows messages like "Booting to x"
> where x is the next phase.
>
> At present, TPL says 'Jumping to U-Boot' at the end, when in fact it is
> jumping to SPL. This is confusing, so use the new functions to correct
> this.
>
> Tests for this will come with an upcoming minor SPL test refactor.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210128/abc07047/attachment.sig>
More information about the U-Boot
mailing list