efi/arm: libstub: add a root memreserve config table
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 21 Sep 2018 16:32:45 +0000 (09:32 -0700)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 26 Sep 2018 10:03:55 +0000 (12:03 +0200)
commitb844470f22061e8cd646cb355e85d2f518b2c913
treec79854fe5c4a2243aa694856aef64fc9846e746c
parent71e0940d52e107748b270213a01d3b1546657d74
efi/arm: libstub: add a root memreserve config table

Installing UEFI configuration tables can only be done before calling
ExitBootServices(), so if we want to use the new MEMRESRVE config table
from the kernel proper, we need to install a dummy entry from the stub.

Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
drivers/firmware/efi/libstub/arm-stub.c