boot: Tidy up logging and naming in vbe_simple
authorSimon Glass <sjg@chromium.org>
Tue, 11 Oct 2022 15:47:16 +0000 (09:47 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2022 03:17:13 +0000 (21:17 -0600)
commit87c97cb1f9a45567488edd260539467b7b1a869a
tree5163130fbdb9a91c034e3f478a30eb19bb44a507
parent33ba72700b586babfad7f5ef1e408b6b399fe0ec
boot: Tidy up logging and naming in vbe_simple

Make sure the log_msg_ret() values are unique so that the log trace is
unambiguous with LOG_ERROR_RETURN. Also avoid reusing the 'node' variable
for two different nodes in bootmeth_vbe_simple_ft_fixup(), since this is
confusing.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/vbe_simple.c