efi_selftest: fix memory allocation in HII tests
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 12 Feb 2019 20:38:02 +0000 (21:38 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 16 Feb 2019 14:42:19 +0000 (15:42 +0100)
commitee3c8ba85525cea5b004c4bd1262c75e461e3eb3
treed8646ff3def4c89a2a266ccb051092c2501634c2
parentafa17aa23ffcd62b2233281b603cb95510655dce
efi_selftest: fix memory allocation in HII tests

In efi_selftest we are in EFI land. We cannot call U-Boot library
functions malloc() and free() but should use the boot time services
instead.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Alexander Graf <agraf@suse.de>
lib/efi_selftest/efi_selftest_hii.c