efi_loader: change efi objects initialization order
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 9 Jun 2020 05:09:31 +0000 (14:09 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 3 Jul 2020 16:00:27 +0000 (18:00 +0200)
commitf7a963c6af5a077631a4ff43fcd10533969b14b2
tree7e051c6160dc164bd9eb98f5b3399a693211f9a7
parentbcfe764ee925d0820e82c69ccf75b71d142644c7
efi_loader: change efi objects initialization order

The simplest solution to revert the commit b32ac16f9a32 ("test/py: fix
test_efi_secboot/conftest.py") is to move efi_console_register()
forward before efi_disk_register().

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_setup.c