commit | f4f0f7cb6e0a61f4a3ae0f2aadbe95654df602b5 | [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 | d9717eae316d4ffd84146257dd7674c2ff6406f9 [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>