From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 28 Jan 2021 18:57:27 -0500 Subject: [PATCH 02/17] spl: Add functions for next and previous phase In-Reply-To: <20210114032957.483086-3-sjg@chromium.org> References: <20210114032957.483086-1-sjg@chromium.org> <20210114032957.483086-3-sjg@chromium.org> Message-ID: <20210128235727.GI7530@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: