Change FDT memory type from runtime data to boot services data
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 12 Apr 2019 18:26:28 +0000 (21:26 +0300)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 12 Apr 2019 20:00:42 +0000 (22:00 +0200)
commit29361ec4737c3e4de66aa7b8e87d8818ff6c0580
tree0b825cb6fc82bc507c61c4914bb0df9714dc6346
parentf1465c159779853d99c0a293f5d7ee53c13aa837
Change FDT memory type from runtime data to boot services data

Following Ard's suggestion:
Runtime data sections are intended for data that is used by the runtime
services implementation.
Let's change the type to EFI_BOOT_SERVICES_DATA.

This also fixes booting of armv7 using efi and fdtcontroladdr.

Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/bootefi.c