commit | 7816c7af83e500670c1818602534f14d5e0c4b04 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Nov 25 20:14:38 2018 -0700 |
committer | Alexander Graf <agraf@suse.de> | Sun Dec 02 21:59:37 2018 +0100 |
tree | 2fc7165c4ffb9107460e2e37d9c66109a04d6249 | |
parent | 93f25596f42527dc643f9a50b0b5df3355847d87 [diff] |
efi: Create a function to set up for running EFI code There is still duplicated code in efi_loader for tests and normal operation. Add a new bootefi_run_prepare() function which holds common code used to set up U-Boot to run EFI code. Make use of this from the existing bootefi_test_prepare() function, as well as do_bootefi_exec(). Also shorten a few variable names. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>