tools: mkeficapsule: rework the code a little bit
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 18 Jan 2022 04:39:45 +0000 (13:39 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 29 Jan 2022 09:23:40 +0000 (10:23 +0100)
commit9e63786e2b4b35587da2050c180111e9bd1e3a23
treebd98894bcc975237a70240d6f6371208078449d6
parentdf1ce60facb2881aff6ea139f479457e163aaf45
tools: mkeficapsule: rework the code a little bit

Abstract common routines to make the code easily understandable.
No functional change.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/mkeficapsule.c