efi: Add debugging to efi_set_bootdev()
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jan 2022 21:58:37 +0000 (14:58 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 5 Feb 2022 19:20:01 +0000 (20:20 +0100)
commitd837cb1e3b6bf6a3d77f058b90ea937935fc2c8f
tree89108213dcd9ceaeb82f4cd601cff4ef9fc92071
parent3c95b323c7527dd2b312b061a82a4b65bb3feff2
efi: Add debugging to efi_set_bootdev()

The operation of this function can be confusing. Add some debugging so
we can see what it is doing and when it is called.

Also drop the preprocessor usage.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/bootefi.c