]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_selftest: restore gd before do_reset()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Sep 2020 05:47:58 +0000 (07:47 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 14 Sep 2020 21:28:52 +0000 (23:28 +0200)
commit5bf12a78599d4a311265c174496233aa15ed4252
tree3eb74c79ca37b2226ddc30ef9e1fe964bd594f43
parentd68d7f47a9f1942ee64e0b119f0e1e2ebf660ed1
efi_selftest: restore gd before do_reset()

Before calling do_reset() in the EFI selftest we must restore the global
data pointer.

Fixes: fa63753f86cc ("efi_selftest: substitute ResetSystem() by do_reset()")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_selftest/efi_selftest.c