]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi: Split out test init/uninit into functions
authorSimon Glass <sjg@chromium.org>
Mon, 26 Nov 2018 03:14:37 +0000 (20:14 -0700)
committerAlexander Graf <agraf@suse.de>
Sun, 2 Dec 2018 20:59:37 +0000 (21:59 +0100)
commitd9717eae316d4ffd84146257dd7674c2ff6406f9
tree3c3d57098a8cdba202a644686af2c5b7115b18d4
parent2ab7ef74cd90a6d60df6aad7dac24b6a2bb1fe85
efi: Split out test init/uninit into functions

The functions in bootefi are very long because they mix high-level code
and control with the low-level implementation. To help with this, create
functions which handle preparing for running the test and cleaning up
afterwards.

Also shorten the awfully long variable names here.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c