efi: stub: Move the use_uart assignment immediately after exit_boot_services() call
authorBin Meng <bmeng.cn@gmail.com>
Fri, 22 Jun 2018 08:38:28 +0000 (01:38 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jun 2018 00:56:04 +0000 (08:56 +0800)
commit7c98ca10eae855571b16cddb19d461a981052730
treefe13f69ea00172a3da2bc01a95309d560373f3bc
parent5460fd076263a461442e4beb3215466536166026
efi: stub: Move the use_uart assignment immediately after exit_boot_services() call

The use_uart assignment should follow immediately after the call to
exit_boot_services(), in case we want some debug output after that.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/efi/efi_stub.c